Home

ISP3-X manual PDF - E

image

Contents

1. User Manual ISP3 X Programmer S 3 X with AES encryption In Circuit Programmer Copyright 1998 2015 by E LAB Computers 3 E LAB ICP ISP Programmer AVR avr evaboardi CH Ci a Lu D Do a TS a a a a a a a a Dm co D D e Li CO CH a EA CA CA 3 SC D D D DI rt E DO Ci OH CA CA CO C tu Cd EM O Et pp OO rd FR na Aa a CO CO E A a Gel a a a J On UI ds LO Ti A a a mo Ci Lo CO E Li ko Ed DI D a a a Ca D Dm D DD Dm D te 00000000oola tu Dm ca O fo mp ol 000000000 a a OO CC ane IDN 0000000000 tu O DD em D D D DD fo D DI D mM EA CA EA EA EA DA EA CA CO COOC CO CO CH CD OD O O O O OO Okt a pm EA EA CA CA CH EA CH CH ege CH COON EN EN CD CO OH CH EK EA CO EA EA EA A DA OO EN 113 fo DI DI Cd om D Ed D Le ME ci SE OD ME v DE ME rt ME vi E CH ON DO a 3 La CH Ti adress 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OF OF ascii al DUDU HEH SPI 1 000000 AA GE 45 20 4 41 42 20 43 GE 6D TO 75 74 65 T E LAB Computer GOBBTO FE FE FE FE FE EE FE FE FE FE EE EE FE FF FE FE sisi GOGE EF ER FE EE EE FE EE FE SS FE EE EE EE FE FE FE aa ass a aa as 60096 FE TEE TE EF EL EE SE FE EE FE PE ES FE ER EE EE isa sa as a a ass G660 b6 ER TE FE FE EE FE FE FE FE FE FE FE EE EE FE FE nanas as a a aus DD EF FE FE EE EE SS EE FE SS FEE EE EE EE FE FE FE jaaau ass a a aus 60006 FE EE TE EF EX F
2. In order to force the installation of unsigned not Microsoft certified drivers under Windows8 64 this must be enabled before the start up of the Windows system with cmd shutdown r o Windows now executes a restart This concerns the E LAB AVRprog USB driver and also the AVRco USB driver Step 1 If Windows 8 has started then the Boot Options Menu must be started To do this on the Windows 8 desktop the button combination of Win R must be pressed to open the Execute dialog In this dialog the following command must be typed in to start the Options menu at boot time Step 2 In the Options menu click onto Choose elt jeir els Troubleshoot Continue Exit and continue to Windows amp Troubleshoot Refresh or reset your PC or use advanced tools Turn off your PC Step3 click onto advanced options Troubleshoot Refresh your PC H your PC isn t running well you can refresh it without losing your files Reset your PC lf you want to remove all of your files you can reset your PC completely Advanced options E LAB Computers USB Driver e 35 ISP3 X portable In Circuit Programmer e la Step4 click onto Startup Settings Step5 click onto Disable driver signature enforcement and Restart Pe Advanced Boot Options Step6 Choose Advanced Options for Windows 8 Choose the Disable Driver Use the arrow keys to highlight your choice Signature
3. 43 Gnipcon Evaluation Board SOO BB E 45 PU ON ieee ce Sian iii cin 46 Seral PASS PERIS eect ote etree a aa 47 OTHER E LAB PROGRAMMERS ss 48 2 e Table of Contents E LAB Computers ISP3 X portable In Circuit Programmer e la OVERVIEW In Circuit Programming ISP or JTAG is the technology of the future at least for small and medium series of electronic components with embedded processors With SMD parts there is a problem with programming because many expensive and specialized socket adapters are required An additional advantage of ISP JTAG is the practically unlimited reprogrammability of the CPUs This ISP Programmer emphasizes minimum size extensive software and ease of use This manual is only valid for the ISP3 X version of programmers FEATURES Connection to the PC through a USB port Works in USB 2 mode high speed Also USB 1 ports and HUBs can be used No power supply necessary The unit is powered directly from PC interface USB or the target Adapts automatically to the target s voltage 1 8 5 5Volt Easy and extensive software Software runs under XP Vista and Windows7 8 32 and 64 bit Small light weight and handy unit 100x55x20mm Supports all SPI JTAG TPI and PDI programmable AVRs Supports the SPI programmable AT89Sxx types Supports the Atmel AT89LPxx family Supports the ChipCon CC1110 CC2510 und CC2430 family Supports the Serial Flash SPI Flash Families AT25DFxxx S25FLxxx and SST25VFxxx Extreme
4. PIN3 to the SCLK PIN4 to the SS N C MOSI pin PIN1 to the MISO pin and PIN7 to the SS pin of the target N C N C Top View header on the Target 46 e Addenum AT89LPxx E LAB Computers ISP3 X portable In Circuit Programmer e la Serial Flash SPI Flash Basics The UPP1 P R firmware also supports the in Circuit programmable SPI Flash chips of the types AT25DF xxx S25FLxxx and SST25VFxxx Connectors The included 6pin cable must be used The connections of the receptable header on the target board must be done in a way like the schematic below shows it MISO SO o1 20 vcc 3 3V SCLK 03 40 MOSI SI CS SELECT 05 Gol GND TopView header on the Target E LAB Computers Addenum Serial Flash e 47 Other E LAB Programmers 48 Other E LAB Programmers ISP3 X portable In Circuit Programmer UPP1 X The programmer UPP1 X can be operated by the PC or independently of the PC portable In the portable mode the projects are stored on its microSD flash card The device is internally Li Po battery powered in portable mode The connection to the PC is via USB2 UPP1 XS The programmer UPP1 XS can be operated by the PC or independently of the PC portable In the portable mode upto 10 projects are stored on its microSD flash card The project selection is done with the Up Down buttons with the help of the LED display The selected project name can be displayed on the display in a marquee mode The devic
5. Enforcement and hit the Enter key to start Windows Repair Your Computer safe Mode safe Mode with Networking safe Mode with Command Prompt Enable Boot Logging Enable low resolution video Debugging Mode Thina A y srt oe E Ap ac anc Te hei RS Gees ro z Diseble auvtiometicrestent on _eystemfai lure Disable Driver Signature Enforcement L ISOLIL LOL LU LAUNCH MICI IO tee TC UNE SiN Start Windows Normal ly description Allows drivers containing improper sign Now the AVRco or AVRprog driver can be installed without any error message Please note that the included EXEs must be started in WIN7 mode 36 e USB Driver E LAB Computer ISP3 X portable In Circuit Programmer e la Installing additional programmers The E LAB programmers are individually registered by Windows Once the first USB programmer becomes registered Windows then knows this EE of ISP 3 or UPP of programmer E Further new devices normally show this dialog at the first plug in and then automatically become registered ISP USB Programmer But with some system environment it s also possible that Windows requests the location path where the driver is located Neue Hardware gefunden Installation De installing programmer drivers Basically it makes no sense to de install drivers for the E LAB USB programmers because these drivers are only loaded temporarily if a device gets connected So the system is not loaded if no device
6. a Doo TD f Start of A VRprog exe Open the Encrypt Pack dialog with the menu item Encrypt PackProg Encrypt Click the button Add Add any comment or name into the comment field Insert the password into the password field Store all with the button Add With files which are sent to this recipient with a password it must be clear that only the correct password must be used for the file generation An alternative is item 7 With the button Public there is no password included and all recipients who have the program PackProg exe can process this file Programmer The program PackProg exe supports all programmer types SP3 UPP1 and UPP2 Find additional information in the next paragraph E LAB Computers AVRProg Software e 23 AES PAC Files ISP3 X portable In Circuit Programmer If absolutely secure PAC files are needed for the types ISP3 X UPP1 X or UPP2 X X programmer they must be created with AES encryption AES is an absolutely secure encryption which can t be hacked Because the encryption can only be done in the X programmer types listening Sniffing on the USB lines results in unusable data Furthermore the AES mode has the advantage to create a PAC file for a specific programmer using its serial number so this file can t be used on any other programmer As an additional feature the Quantity limitation can be used So hidden black productions are abs
7. also used by the SPI mode the plug on o5 60 the target system differs from the Atmel plug The load on the RES GND TPI_DAT pin must not be lower than 80kOhm Ae Connections ELAB Computers ISP3 X portable In Circuit Programmer e la SOFTWARE There are two supplied programs that can be used to control the ISP X programmer The first is AVRProg exe which is the more extensive program that can be used for creating a project editing viewing the data and selecting fuse lock and programmer setup options such as power supply programming and verifying the target and creating packed or encrypted programming files for use elsewhere The second program is PackProg exe and it can only be used for programming or verifying using a packed or encrypted file that has been previously created by AVRProg It is the most suitable program for production use and is described later in this manual AVRProg AVRProg can be executed from within the AVRCo IDE PED32 and in this mode all the project settings are passed directly from the IDE It can also be executed directly from a shortcut or the Start Menu In this mode an existing project has to be opened or a new one created so the project select dialog is opened on startup Open Existing Project A project can be opened and loaded by a double click on the desired entry or by a single click on the entry and an additional click on the Load button All project related parameters and files are loaded EE
8. at the end of the flash by the ISP itself are not recognized Also empty not addressed parts in the hexfile are discarded Reset All This button resets all values and options Note all changes are immediately stored But they are only recognized at the next programming cycle The application firmware always has access to this parameters The parameters are stored into the last 16 resp 32 bytes of the flash The project name has a lead in of proj The serial number has a preamble of ser The number is always the fourth and third last byte The checksum if present always can be found in the last 2 Bytes of the flash The order of the serial number and the checksum is loByte hiByte Sample 6A 0D 61 76 72 20 65 O d 23 61 62 CH 0 2 6 T GA di M 6 AVE 62 i B7 ard ser abe LSB MSB LSB MSB CO ta Pa ser number checksum Encrypt Menu This Menu opens an Encrypt or Pack Dialog It allows to eg create encrypted or packed binary files that must be read Deep encrypt I5P3 UPP 1 2 processed by the contained utility PackProg exe All 3 file Standard encrypt I5P3 UPP 1 2 type need with the ISP3 X the program PackProg exe pack Project ISP3 UPP 1 2 Forthe Programmer types ISP3 X UPP1 X and UPP2 X En should only packProject ISP3 UPP1 2 or AES pack for AES pack for ISP3 X UPP L X UPP2 SP3 X UPP1 X UPP2 X be used With packed files or projects there is a medium protection All Hex files and
9. consists of a small adaptor board This is not included but must be ordered separately ord 2109 The adaptor must be connected to the evaluation board as the pictures below show 44 e Addenum Chipcon E LAB Computers ISP3 X portable In Circuit Programmer e la Chipcon Evaluation Board SOC BB This board has one 10 pin header which provides an access for external programmers But the ISP3 X programmer can not directly plugged into the board In order support programming of this board by the ISP3 X there is an optional accessory for the ISP3 X which consists of the small board SOC BB Adaptor This is not included and must be ordered separately ord 2123 The adaptor must be connected to the evaluation board as the pictures below show E LAB Computers Addenum Chipcon e 45 ISP3 X portable In Circuit Programmer AT89LPxx Basics The ISP3 X firmware also supports the in Circuit programmable Atmel Chip AT89LP2052 and 4052 family The difference between the AVRs and 89Sxx types consists of programming connections of the CPU with in circuit programming Connectors The included 10 wire ribbon cable must be used The connections of the receptable header on the target board must be done in a way like the schematic below shows MISO VCC Attention The PIN2 must be connected with the positive SCLK MOSI Target supply VCC PING must be connected to the ground of the Target Connect PINS to the RESET GND RESET pin
10. is connected But if it becomes necessary to de install USB drivers this must not be done manually Only this driver where the related hardware is connected can be de installed To start de installation first open the device manager of Windows With the help of this tool the driver can be de installed Other Windows utilities offer a so called deactivating of drivers which has nothing to do with de installation E LAB Computers USB Driver e 37 ISP3 X portable In Circuit Programmer Target Power Supply All USB programmers have the feature to supply the target CPU with a selectable voltage current Because a USB port of the PC or HUB also can supply at least 100mA 5Volts this can be used as an alternative to a separate power supply Please note that the official nominal 5V in many cases is not 5V but maybe 4 8V or less for example Furthermore the device internal voltage regulator also has a drop out voltage of approximately 0 2Volt To reach a 5V output the programmer has a built in step up regulator so the gt 5V are always achievable In addition one must know that most USB Hubs can supply max 100mA The programmer internal current consumption can be up to 20mA So maximum achievable current to the target can be approximately 80mA Here an external power supply maybe necessary lf the programmer is directly connected to the PC the internal power supply can deliver up to 300mA The programming connector of the UPP1 X device also pro
11. possible on an unprotected device The Stop button aborts the current action After programming a device the reset stays active The target can be released by a click on the Run button or again reset without disconnecting the programmer from the target If the option autorelease target is enabled in the option dialog the reset is always removed after a programming cycle a K le e Options Menu All of the fuse bits and lock bits Reset polarity etc and also the whole behaviour of the programmer and it s additional options must be setup at least once for a project To do this there a two dialogs the Options Dialog and the Target Options Dialog These are called with the menu below Options Encrypt Tools Help Programmer options starts the Options Dialog where the Fuse and Lock Programmer options bits can must be defined and also some other functions Fale coher Target options starts the Target Options dialog where powerful extra eg functions can be enabled and setup ES EEE le Grape GE Format MMC card DownLoad new Firmware starts a firmware update of the programmer For more information take a look into the chapter Firmware Update at the DownLoad new Firmware end of this manual SE Calibrate programmer is not applicable for the ISP3 X E LAB Computers AVRProg Software e 13 ISP3 X portable In Circuit Programmer Programmer Options Dialog The Options Dialog controls the behaviour of the programmer at erase re
12. use can be selected With an ISP3 X the setting USB only should be preferred If V24 serial programmer types can also be connected to this PC automatic should be selected The field Reset options defines the controlling behaviour of ISP to the target CPU Normally all 3 items are inactive For special target hardware the reset level can be inverted Push Pull reset makes sense if the reset input of the target CPU is burdened by other electronics e g R C combination But here the loadings must be reduced by a series resistor of a few kilo ohms The reset delay the time a reset stays inactive before the next activation can take place can be extended This is only for special cases The field Programmer Mode is only visible if the selected CPU supports SPI JTAG TPI or PDI programming In this case one of these modes can be selected E LAB Computers AVRProg Software e 15 XMega Options Dialog Ed Options XMEGA128A1 mega Prog wowPeRs 7 WOWPERS WDWPER2 6 WDWPERZ WOWPERI 5 WOWPER wowPeRo 4 WODWPERO WOPER3 3 WOPERS woper2 2 WDPERZ WoPERI 1 T WDPER1 WDPERO O WOPERO SEE FF 3 ise its READ _ gt were pvspon T 7 pvsoon BOOTRST 6 SOOTRET al 4 SE Lars BoDeD1 1 BODPDI poppponl o T BoDPD0 SFF SFF zt sl gl BODACTIT 45 f onaco el EESAVET 3 EESAVE BODLEVEL2 2 BODLEVELZ BODLEVELT 1 BODLEVEL1 BODLEVELOT 0 BODLEVELO SFF S
13. 8 the fuse programmable internal Reset time With other CPU types the internal oscillator or the Brown Out can be defined Because each CPU interprets these bits in its own way it s impossible to make a general statement here Some fields can be hidden if the CPU doesn t support some fuses otherwise the supported fuse bits can be changed by the user Unsupported fuse bits are disabled An empty field means that this option is disabled 1 green ok means that this option is set 0 ie enabled Attention within the fusebit groups some CPUs have a SPIEN fuse This fuse normally is dont care with SPI Low Voltage programming But there are exceptions the Tiny12 for example In this case the SPIEN fuse must be activated Otherwise the chip is not accessible any more The SPIEN fuse is always programmable in the JTAG Mode If SPIEN and JTAGEN are disabled this CPU is also not accessible any more Note that JTAG mode commandeers some UO pins from normal use Sometimes it is more readable for the designer if the binary values of the fuses are shown instead of the boolean values This can be accomplished with this button Some CPUs which feature an internal RC oscillator often have also up to four special read only fuses called Calibration bytes which are shown in the field Calibration Bytes These bytes can be used by the program application to fine tune the internal RC oscillator Because this byte is unique in each CPU it must be individuall
14. Deep Encrypt Mode Existing ones can be deleted with the De KEY button destination avr evaboardi encr Zei Ge The Encrypt with PWD button builds a file with password protection password protection absolutely binds the generated file to this specific programmer which supplied this password a Add KEY With the Encrypt w o PWD button generates an encrypted edit Password file without a password protection 45037BC0 The building of an ISP3 X password is completely described in the paragraph about PackProg exe below tom Read z If the target programmer is already connected to this PC Se Encryptw o Pwo Op Encrypt with pap then the necessary password can be found with the button Read KEY Projects encrypted in this way never can be directly processed by any programmer on its own without the program PackProg exe 20 e AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Standard encrypt Mode This option builds a packed and well encrypted project which only can be processed with the program PackProg exe in conjunction with an ISP 3 programmer type But also an UPP programmer can directly load on its memory card and process such a file As an option a password can be included so that processing this file is only possibly by the programmer which generated the password The menu item opens the dialog shown below UPP Packfile Extension We il The dialog serves to set the file extension T
15. E LAB ISP UPP Projects _ ZS Details of the highlighted project Project loaded none from the select window with CPU type Project Name kmega_Prog XMEGATZ0A1 Accompanying project path Directory CAPROJEKTE PROG_AVR XMega Test gt Changes 7 i HexFile Name XMega Drog hex El hex Flash The Flash Hexfile with file e extension EEpFile Name XMega Prog ep join Files sep EEprom EEprom file with extension UserFile Name KMega_prog usr usr UsrRow XMega UserRow with extens Store changed or new project aleje D elr lelHlilolkicImInl sa A N only used to group projects CPU Tests Kiana Test 52 Test megab44 S Testliny13 _X cance Test 53 Test mega8515_1 Test 53 1 Test megads Project Commands Test 8252 Test REC T New Build a new project Test 8252 1 Test REC 2 Test 6253 Test Tiny10 Test 6263 71 Test Tiny15 Delete a project Test mega126 Test Tiny2313 FEA Test mega16 Test Tiny24 Ait Edit an existing project Test mega1b6 Test Tiny26 Test megalb9 Test Tiny44 Test megas29 Test Tiny45 Test mega4s Test XMega Test megab44 J Test323 Hoa esol p gt SSCA Search project on network Load a project Exit this dialog With each project it is possible to store a text comment See Comment dialog below Build a new project Select the desired target page of the tabbed notebook Click button New Type the desired name into the field Project Name Click to the field Directory From the appearing dial
16. E SE ES EE FE SE ES FE ER EE E issus sas a a ass HEBEGTE EF TE FE FE EE FE FE FE FE FE FE FE EE EE FE FE nanas as a aus BEBEBE TE TE EE FE EE SS TE EE SS SE FE E EE FE RR FE ua as ss a as ass Ze Bach contents doublecick to edit CPU MEGA128 Clock 16 MHz 0 01Volt ISP 3 Debug Prof Programm o 0 WEB www e lab de Tel 07268 9124 0 Fax 07268 9124 24 EE 2015 03 03 ISP3 X portable In Circuit Programmer Table of contents OVERVIEW ne eee a tienen 3 FEATURES e o 3 Sall engel LE 4 SOFTWARE a 5 o e o iii 5 Bs nn e PE UU 7 H Ree lee sacos 8 Command line parameters ooooonnnccnncccccnononncnnnnnnnnnnnnnnnnnnnnonononnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnrnnnneninnnnnas 8 nto pa A ep A 10 Functions Of Buttons and BET E 11 PREPAC EE 24 BUIN Project LE SE AEE EEEE E 25 Programming te WE FOO DEE 26 States Error Display and Problems 4 26 ACTOR tente 27 Mo e E E LP R S UCR E SEO EEEE 27 Programming m Transparent MO ias 28 Command line parameters occccccconncnnccccconcnnncnnnancnnnnnnnnncnnnnnnnnnnnnnnnnnnrrnnnnnnnnrnnnnnnnnnrnnnnnnnnnrnnrnrnnnnrnnennnanness 30 sn st ou Racine ustaoiearetesdcensidntsesntecauanemeonsmrniesenenidats ilacimmeseaaianestentdciidabseons 31 EXTERNAL HARDWARE ee 33 Miscellaneous EEN 33 USB DEE 34 TVS CANNING Bi te IER NC 35 TARGET POWER SUPPLY EEN 38 MUL IPLE EE RER 38 FIRMWARE TR cool 39 ADDENDUM dan 41 AMEDA cee E A een 41 TONY L e E E NE E A A A N ER dc 42 AA A
17. FF ef NI WRITE Ei JTAGUIOT ke 7 Je JTAGUDT ITAGUDET el JTASUIDS Jracuios SI JTAGUIDS JTAGUD4 4 JTAGUIDE Jaci a T JTAGUIDS ITAGUIDZ A 2 Le JTAGUIDZ Paul al JTAGUIDA JTAGUIDO Le o Le JTAGUIDO HA STA K ISP3 X portable In Circuit Programmer BL881 7 Lai D ppe 5 Gap BLBA1T 5 SLBA BLEAG 4 BLBAO BLBATI 3 BLBATI BLBATO 2 BLBATO zix Programmer Mode SAI m de Ge PD mode E Mis mode ET TPlmiode wif 4 Lert L nl of Leo PowerSupply amp clocks SBF FF ERA 4 F stay active Fises t eo ENTER a 32 MHz 4 el 7 General sl Bel Blank check after erase fi el M program Flash RSTOSSL 4 RSTDISBL STARTUPTIME1 3 STARTUPTIME STARTUPTMEO 2 STARTUPTIMEO WBLOCKI 4 WDLOCK ITAGENT pl JTAGEN RFF SFF x je program EEprom ignore false 1D M Auto release Target iv program Userhow program Lockbits j program Fuses With the XMegas some options are impossible or make no sense The dialog above is typical for an XMega Please note that there is the checkbox program UserRow lt can only be checked when a hex file for the UserRow is present xxx usr The fuse JTAGEN can always be unprogrammed because the JTAG interface is never used here Instead the PDI interface is always used Some combinations in the Fusebits1 Fusebits2 and Fusebits5 can be illegal and should be avoided Otherwise an unexpected behaviour of the CPU can r
18. VF start Verify flash response Ok of Error wx R Reset target CheckIS5P3 response ok or Error xx R Release target CheckISP3 response ok or Error zs ET Telnet close response ok Ip exit response ok Possible error messages are 1 PowerDown Target has no power 2 Voltage Target voltage too high or too low 3 FalseTyp Target has the wrong ID or ID not readable 4 Protected With a Verify operation 5 notEmpty With a programming cycle 6 Verify Verify Error while programming 7 File File not found command F 8 TimeOut Communication timeout 9 Comm Communication problem 10 noProg Programmer not found 11 noProj No project selected 12 Firmware Programmer lost Firmware 32 PackProg Software E LAB Computers ISP3 X portable In Circuit Programmer External Hardware e la Protection of the programmer against external short circuits and over voltage All newer programmer types are protected against continuous short circuit The overvoltage protection must be somewhat limited by such a device and is only allowable for a very short time and low voltages The protection consists of a resistor zener diode combination for each control line The resistor is 220 Ohm and is connected between the 10 pin ribbon cable header and the internal AVR CPU The diodes are a high speed protection diode array of 6 Volt types Each diode is connected to the junction between the resistor and
19. While programming the target which is done with 1kB blocks a verify of the current block is automatically executed after finishing the programming of this block In case of a verify error the operation becomes aborted and an appropriate message rises Chip internal ID Ex Device State 2 1XX This ID number is read out of the current Device rogramme connected chip and is displayed here CDU CC2430 F128 Name ISP 3 Debug Prof The first byte is always zero and has no ob II A CRA meaning The second one represents the Flash siz a es Ser Num 1FFEG5A SR SE ee a CPU revision 01 and the third byte CEprom size Prod 20060320 shows the Chip ID 85 for the CC2430 Device state programmed _ Firmware 4 0 family Signature 00 0185 Update 060322 Attention Please note that a wrong chip ID is always a result of a defect programmer cable or board connection Of course a defective 23373 bytes chip can also be the reason for it lt CC2430 128 A false chip ID should never be ignored and the reasons for it should be carefully Environment researched RES 3 31Vokt 33 Volt WT 200ma BR Chipcon Evaluation Boards CC2430DB This board has two 6pin headers which provide an access for external programmers But the ISP3 X programmer can not directly plugged into the board In order support programming of this board by the ISP3 X there is an optional accessory for the ISP3 X which
20. all possible firmware update files The file names start z with the date of creation and can be easily located A double click loads the selected file into the download buffer A click to the Comport button then connects the programmer s download section to the PC s com downloader The downloader checks the file against the infos in the programmer If the file can t be accepted an error messages is raised el If the file fits to the programmer and a connection is established the download can be started with a click to the phone button This process can be watched in the progress bar at the dialog s right side EJ If the downloads hangs so a click to the stop button aborts all On problems an increase or decrease of the external ISP voltage can help If the update was successful a possible Windows USB error message can be ignored The programmer must be unplugged once from the PC so that the connection can re establish An incomplete download programming normally is detected at reset or power up of the programmer If so the programmer immediately enters the download state and requests a new download E LAB Computers Firmware Update e 39 ISP3 X portable In Circuit Programmer It is also possible to force a firmware download The ISP3 X has a RESET button on the rear front of the case 1 USB and power supply jack 2 Micro SD card slot not present on ISP3 3 RESET button This RESET button has two functions 1 a
21. also the programming control fuses etc are written into a binary file so the recipient does not need to have great programming knowledge and it is also impossible to change any setups fuses or file contents E LAB Computers AVRProg Software e 19 ISP3 X portable In Circuit Programmer The encryption enhances a packed file in such a way that programming files can be sent to every place in the world and the recipient or others are unable to disassemble them or do any reverse engineering Furthermore there is the additional feature to include a password into the encryption so only the right ISP3 X programmer can use this file This is an additional protection against illegal copies Deep encrypted files can only be used with the program PackProg exe Standard encrypted files can be loaded into the ISP3 programmer types But for use with the ISP3 X the utility program PackProg is absolutely necessary Packed files can be loaded into the ISP3 programmer types But for use with the ISP3 X the utility program PackProg is absolutely necessary Deep encrypt Mode This option builds a packed and deep encrypted project which only can be processed with the program PackProg exe in conjunction with an ISP3 X programmer type As an option a password can be included so that processing this file is only possibly by this programmer which generated and supplied it The menu item opens the dialog shown below E LAB ISP 3 UPF File Encryptor
22. blem that the relation of projects on the SD card to the position of the switch is not static lt absolutely depends on the order of the FAT16 directory entries on the SD card If a card becomes completely erased and then projects are stored sequential onto the card the order of the storing absolutely corresponds to the switch positions But if then files are deleted rewritten or updated this relation can change dramatically As a consequence of this after each SD content alteration the resulting new file order must be copied from the UPP File Dialog of the PC program Without taking care of this there can be strange problems with portable programming In order to avoid all these hazzles both download functions provide the option to set an absolute relation between a file project and the switch position of the UPP1 Basically all UPP Pack Files have the file extension pac and the encrypted types have the extension en To set a fixed relation between such a project and the selection switch a number between 0 and 9 can be appended to the extension which forces the UPP to fix this project to a switch position When a PAC or ENU files must be created one of these dialogs opens UPP Packfile Extension E x UPP File extensions Filename UFP File extensions Filename DK dds10 e ano ena dds10 pki Extension Extension en en DK pac enu pk3 Dock or DLL me SC M Dock or DEL ae pr ents RE pk ent D
23. ct is being created AVR areas Lpczo00 mmstso Pic initially or an existing project AVR device must be changed first the ERA Si T NESNE CRE ES CPU type must be defined C sopwMi2 3 C 9088535 Mun Mo C MEGAS8 This is the purpose of this C 9051200 MEGAS f MEGAT C MEGA C men selection dialog f 2052313 MEGA128 MEGA169 C MEGASA C TINY22 9052323 C MEGA1280 M MEGA2560 MEGA640 C TINY2313 The CPU types LPC TMS 9082333 C MEGA1281 MEGA2561 MEGAS C TINY25 and PIC are not implemented 9052343 C MEGA128CAN C MEGAZ32 C MEGA645 C TINY26 at this time 9084414 C MEGA16 C MEGA323 C MEGA6450 C mag 9054433 C MEGA161 MEGA324 MEGAS C TINY85 C 9054434 C MEGAI62 f MEGA325 MEGA8515 GC TNv4 6 e AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Device state dialog E After selecting the CPU the clock frequency of the target must be set To do this the button opens the _ Device State Dialog The dialog shows the parameters of the PC loaded project and the parameters of the hex files loaded 211 Editable parameters are located in the Environment group Lei Device State Device Programmer CPU AMEGAT26A1 Mame ISF 5 Debug Prof The clock defines the SPI speed Flash size 131072 bytes Ser Num 18326586 for ISP programming and can be changed every time If this value Eeprom size 2048 bytes Prod 20110221 is too high the programming can Device
24. e Check USB button lf a programmer was found this is displayed in the main window If more than one programmer is E connected and found then this dialog is raised Because only one programmer at a time can be used the desired one must be selected from the list Project Check Parameter list of isp3_x With the Info button the most important Project Name nn JEE parameters and properties of the actual loaded 2012 Sep 01 00 58 36 project can be displayed 2012 Sep Up XMEGA256A3U 32 MHz Flash to program 196780 bytes Two items of project information are also displayed in EEprom to program none the main window UserRow program none Fuse to program yes 490MB sec The Battery symbol is visible if the ee i ee programmer must supply the uto release targe yes STE es de a target with a voltage current Target powered by ISP UPP 3 30V 100mA max pra program serial number no preserve serial number no File protect AES Password Quantity Quantity limit 10 The lock symbol is displayed if the programmer must et lock protect the target Programmung parameters and option of the loaded project Programming in Transparent Mode With the transparent mode the programmer is directly controlled and supplied with data by the PC and PackProg There are three possible operations D Device Check With this button a check is done of the programmer and the target device check of the target s supply voltage and read
25. e Target is read back and used for the next programming cycle Reset all resets all options also the serial number Y Resetal ISP options enables or disables all options M SPoptions qe EE E ab 100 write Number Setel number in HI RISE n Preset Number jab 101 Reset Number M Preserve Serial Number CheckSum in target CheckSum in target shows the flash check sum in the target 9AB7 Je write i if present The check button write ChkSum shows the state of e AX this option CheckSurm inUPP IS 9AB7 Storing Parameters into the target If there is enough space in the flash memory of the target CPU additional parameters and information can be placed at the end of the flash memory With the option switches checkboxes of the dialog above each option can be individually enabled or disabled CheckSum in UPP ISP shows the flash check sum present in the ISP and PC A change gets saved immediately Also these options are stored into the project s INI file as usual The options if any are programmed at the end of a programming cycle into the last bytes of the target s flash At each invocation of this dialog there is a try to read the actual parameters from the target This operation only works if the target is present powered and not protected of course The firmware in the target CPU always has access to this data Project Name into Flash If the checkbox write Name is activat
26. e is internally Li Po battery powered in portable mode The connection to the PC is via USB2 UPP2 X The flag ship of the portable E LAB programmers Up to 64 projects can be stored and selected on its microSD flash card The device is internally Li Po battery powered in portable mode The connection to the PC is via USB2 Also best suited for field service and small series production E LAB Computers ISP3 X portable In Circuit Programmer Le Du REMOTE Bok roduction rogrammer SPI JTAG TPI Pol Pi Germany TARGET Cem UPP1 P Production Programmer Spl JTAG TPI Pol E LAB Computers e la UPP1 P and UPP1 PR The productions implementation of the UPP1 X In top hat DIN rail case Can be controlled by a PC with USB or Remote controlled by our DLL version P or with wire control version PR Other E LAB Programmers 49 Notes Notes 1998 2015 E LAB Computers Grombacherstr 27 D74906 Bad Rappenau Tel 07268 9124 0 Fax 07268 9124 24 Internet www e lab de e mail info e lab de
27. e item program EEprom is disabled If the CPU does not support Fuse Bits the Fuse bits groups are not visible otherwise the accessible fuses are enabled for access The meaning of the Fuse Bits can be found in the Atmel CPU datasheets The General group defines the common behaviour of the unit The item blank check after erase is only necessary for testing purpose Normally it should be disabled Program Flash and program EEprom normally both should be enabled Ignore false ID disables the error popup in case of a false Device ID It is generally unadvisable to check this Investigate why the wrong ID is being returned Auto release Target releases the RESET of the CPU automatically after programming Program Fuses should always be checked Fuses are essential for the AVRs Program Lockbits also should be checked But it has no meaning if no Lockbit is activated The item Security defines the lockbits for the protection modes LockbitO or Lockbit1 by themselves make little sense A complete protection of the device can only be achieved if both bits are active checked The BootLock bits should only be activated if the boot section in the AVR is used for booting self program The exact function and meaning of the fuses should be observed in the CPU datasheets 14 e AVRProg Software ELAB Computers ISP3 X portable In Circuit Programmer e la The Fusebits group define various functions as defined by particular CPUs e g Mega12
28. e lines in the cable N A for USB Please observe the paragraph Connection Target Power down a The 6 pin plug is not connected to the target b The target is without power or the voltage is too low lt 3Volt c The project setup expects that the ISP powers the target but the power supply of the ISP is not connected or the current consumption of the target is too high Device not responding a The voltage of the target is too high or too low see below b Target has no clock SPI Mode c Chip defective d Reset is not connected to the target CPU Wrong Device ID a The voltage of the target is too high or too low see below b Wrong device selected c Chip defective It is possible that a device ID in the target is permanently destroyed but the device works correct If it is the correct CPU type the programming can be continued All the above problems can also be a problem of a defective programmer In many cases the Reset Pin is loaded with Rs and or Cs In this case activating Push Pull Reset can help If a CPU shows a wrong device ID at programming nevertheless one can continue with programming Bluetooth Interfaces Many of these interfaces emulate a virtual COMport in the PC If the programmer software in Programmer Options sets the interface to automatic then in addition to the USB drivers also all COMports are scanned This can lead to unexpected long wait times until the Bluetooth returns with a timeout regardless w
29. e media to the receiver SS pi Shipping this file s via email is also possible In this case it s a good idea to zip all files for secure internet transport Encryption The encryption feature uses a secure algorithm Unfortunately up to now there is no absolutely secure uncrackable encryption But the time investment to decrypt the file is so high and expensive it s cheaper and faster to completely start an new program from scratch O Password creation The program PackProg exe on demand reads out the internal password of a connected ISP 3 programmer This password is only valid for this programmer and is not portable to other programmers Because of this it s assured that programmer files containing this password can only be programmed with this programmer 22 AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Password Creation 1 Ge The chip or board programmer must install the program PackProg on the computer which will be used for the chip programming To do so the file PackProg exe must be copied into the desired directory The program PackProg exe must be started The ISP3 X programmer must be connected to this PC The password displayed with the menu item Setup request Password must be passed to the creator of the programming files packed or encrypted projects The creator then inserts the password in the program AVAprog exe into his system
30. ect Pool administration direct mode ELA Filename o similar to the main program 2 E al SwWrev 4 02 xmega pac AVRprog But only packed or Prev 1 0 encrypted projects that have been previously created with AVRProg File type standard packed can be imported intern Project name xmega_Prog CPU name KMEGAI2841 USB 2 0 This means that a new project must Flash size 522000 4s0MBisec be registered first in order to work prog Flash true with it EEprom size 23 Ae KS Eros EE NE GE oe New projects must be registered by prog UserRow rue the project administration dialog prog mode PDI RH program opened by the menu item open serial number Te Sal al lle Setup roject loaded as or the File button 1P 3 Debug Prof Revi 110427 Tara pes 0 EX E LAB ISP3 UPP2 Projects E 21x Alslciolelr leln ilslkirimlnl GroupA USB A19DS_Ca encr alveng dds10 pk2 SRVMATIC PAC evabrdi pac srumatic_Weg2 pac With the Add button a new project can be included into the pool With the Delete button an existing project ser 174875834 0 can be removed from the pool Shat Debug RA With the Load button or a double click onto a list entry the selected project is loaded Searching for Programmer PackProg Software e 27 ISP3 X portable In Circuit Programmer Before one can work with the selected and loaded project the programmer must be searched for This must be done with th
31. ect which only can be processed with the program PackProg exe in conjunction with an ISP 3 But the UPP programmer also can directly load and process this file type There is no password possible and so every ISP 3 or UPP programmer can use this file ISP3 UPP Packfile Extension x The menu item opens this dialog UFP File extensions Filename a ok evaboard The dialog serves to set the file extension The extension can i pk SE include a number pkO pk9 for a better handling with the UPP C pk Bac programmer or a simple pac The choice must be done with one x of the file number buttons pka T Bock or DEL Ski The checkbox Dock or DLL is not relevant for the ISP3 X C pk5 D C pke no Filenumber per C pk o l C ge This file type can be processed with the program PackProg exe and also with all UPP programmer types Procedure 1 Create a project as usual or load an existing project 2 Select the proper setups and properties for this project as usual 3 Select one of the three file modes heavy encrypted encrypted or packed 4 The two encrypted types provide a password protection so that only this programmer which supplied the password can process it Click the button Encrypt or one of the file number buttons Copy the generated file to a storage media 7 Ifthe receiver doesn t own the program PackProg exe also copy this tool and this manual onto the media 8 Ship th
32. ed the ISP is enforced to write the project s name into the flash This is done at the end of a programming cycle Serial Number into Flash Activating the checkbox write Number instructs the ISP to burn a serial number into the flash The integer part of this number is then incremented The serial number consists of 2 parts 1 Two arbitrary characters from the field Serial Number in ICP ISP This part stays unchanged 2 A number in the right field This number can be zeroed with the button Reset Number or preset with a number and the Preset button The count of the programmed targets up to now can be found here 18 e AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Preserve Serial Number If the serial number is enabled then this option prevents writing a new different number into the flash If the target is not protected the internal number in the target is read out and is used for reprogramming the flash This ensures that the number stays unchanged and the old one is re used despite of a new programming of the chip CheckSum into Flash While downloading the flash file a 16bit checksum is generated over this data This number is displayed in the field CheckSum in ICP ISP This value can be written into the flash by checking the checkbox write CheckSum This is done after every programming cycle Note that the checksum contains only values from the original Flash Hexfile Additional parameters programmed
33. elow CPU MISO TxD 01 20 VCC PDI_DAT 01 20 VCC 3 3V CPU SCLK 03 40 CPU MOSI RxD 03 40 RES 105 Gol GND RESET PDI CLK 05 60 GND Top View AVR SPI header Top View XMEGA PDI header Pin1 of the 6pin plug of the programmer can be located by a small triangle on the front of it A misalignment of the plug leads to malfunction and can possibly DESTROY the unit The working voltage of the Target CPU must be in the range of 1 8V 5 5V XMegas must be supplied with max 3 6V and the TINYs not below 5 0V None of the 4 control lines of the device must be shorted A continuous short circuit can destroy the programmer Only electrically tested boards should be connected JTAG programmin For JTAG programming of the target CPU the 6 wire ribbon cable must be JT replaced by 10 wire type Because the ISP3 X uses the same plug for ISP JTAG VOC and also for JTAG programming the JTAG plug on the target system differs from the original Atmel JTAG plug See the schematic on the left On the left is the recommended E LAB plug connection which must be used for the target system if the JTAG interface of the target AVR is to be be used for programming Please note that also the RESET line must be connected to the target CPU 2 4 6 S i Tiny 4 5 9 10 20 programming These Tinys must be programmed with 5V through 3 pins TPL DAT VCC 5V 03 40 The programming mode is called TPI Because the same TPI_CLK programming plug is
34. esult Please note that the voltage supply is limited to 3 6V for XMegas 16 e AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Power Supply The Power Supply group selects the maximum allowed current to supply 0 0mA sets the internal supply to the off state The other values enable the ISP internal supply If a current gt OmA is selected the desired supply voltage can be selected in the voltage field If enabled the ISP programmer supplies the selected voltage to the target system The current limiter can be set between 30mA and 300mA The current will be limited to the selected value Please note that PC powered external USB HUBs may supply only 100mA Basically this power supply is switched off after the programming cycle If the supply shall continuously supply the target so the checkbox stay active must be checked If in addition the auto release target is activated the target system starts up and can be tested at runtime The editable fuse and lock bits are displayed on the right side in the Write column and here they can be edited The Read columns can always be updated with the Refresh button To do this the actual fuse and lock bits are read out of the target as far as possible The button program Fuses is very useful for erasing of illegal FuseBits which may be activated by an accidential programming One can try with program Fuses to set all fuses to the desired value Some possible error mes
35. et programmer The target programmer is not needed here only its serial number C Quantity limitation Sernum Quantity used Also here the serial number of the target programmer is necessary Furthermore the maximum allowed programming cycles are preset If this number is reached exceeded the programmer ignores further programming attempts The AES properties of a PAC file can be requested with the tool PackProg by File Info from the target programmer Attention AES encrypted PAC files can be processed by every old programmer type ISP3 USB UPP1 USB UPP2 USB but because they are unable to decrypt such files only nonsense will be programmed E LAB Computers ISP3 X portable In Circuit Programmer e la Building Project Files The previous pages introduced two ways that Pack Project files can be created Either by direct download into the SD card in the UPP or through a Flash drive of the PC There was a notice that the standard UPP1 programmer can only use one project in the portable mode because there is no way to select a project with the UPP1 itself Because of this there are the Version S and Version D of the UPP1 where the version S has a rotary switch on its back side which supports the selection of one project out of 10 stored projects The version D in combination with its Docking Station also supports selecting one out of 10 projects With selecting a project in these ways there is the pro
36. he errors are written into the file ICPISP err This file then can be found in the project path or in the program directory of no parameter specifies the project path U0 A standard Pack File will be build U1 An encrypted Pack File will be build gProgSerNum f more than one Programmer is found then the Programmer with the serial number ProgSerNum is used The order of the switches in the command line doesn t matter The internal processing is always done in the above order The switches must be separated by spaces A switch must not contain spaces Example C pppp AVRProg exe ProjectName USB2 p c If the switch p is active a previous erase e is not necessary because a programming process always first erases the target If the switch c is active a previous Target RUN is not necessary because a program exit also releases the target With the parameter ProjectName there are 2 possibilities You can pass the complete path and name of the desired control file like C files nex myprog ispe Or only the name of the project is supplied like myprog 8 e AVRProg Software E LAB Computers Return Codes dsOk dsPwrDown dsPwrErr dsFalseTyp dsProtect dsNotEmpty dsVerifyErr dsFileError ds TimeOutErr 9 dsCommeError 10 dsNoProg 11 dsNoProj 12 dsFwLost 13 dsNotfound 14 dsCalReq CONDO OF D O Networks ISP3 X portable In Circuit Programmer e la Operation successful finished No Target vol
37. he extension can Prensa include a number ent en for a better handling with the UPP E i programmer or a simple enu The choice must be done with one no aha Evan oa of the file number buttons en Extension end enu The checkbox Dock or DLL is not relevant for the ISP3 X eng Bock or DLL End end en enf eng Del set Filenumber If the extension was selected the dialog below opens AA A get This dialog mainly serves to decide whether a password must be included or not password exclusively binds this file to this Standard Encrypt Mode Sei E EE Ex specific programmer which supplied it If a password is necessary select a key then it must be selected from the list field E LAB ISP 3 UPP File Encryptor o x ei delkey This option must be selected by the button Encrypt with PWD or rie Key disabled with the button Encrypt w o PWD o lf the target programmer is already connected to this PC the faso37Ece password can be requested With the button Read KEY the password is read out of the programmer and displayed With the tue Read KEY button Add Key the new password can be appended to the password pool _DeEncryptwo Pwo encrypt wiin Pwo This file type can be processed with the program PackProg exe and also with all UPP programmer types E LAB Computers AVRProg Software e 21 ISP3 X portable In Circuit Programmer pack Project Mode This option builds a packed but not encrypted proj
38. hether any programmer is connected or not In this case the programmer port selection must be set to USB only 26 AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la PackProg The main program of the E LAB programming system the AVRprog exe described in the preceding sections can be used for all kinds of work 1 for creating projects with Fuse and Lockbits defining editting of the Flash and EEprom files etc for direct In Circuit programming of the Chips with all types of programmers for indirect In Circuit programming via Flash Card with the UPP programmer types for creating of packed or encrypted projects S o w AS for the download of packed projects into the flash card of the UPP programmer types 6 for storing of packed projects onto the flash card in the Flash Drive of the PC Most of these functions are not necessarily desired in the production and service area And furthermore they distract and can be possible sources for handling errors To avoid this there is the pure programming tool PackProg exe for the programmer types ISP3 UPP1 and UPP2 This tool only supports programming of the Chips and with the UPP types the download of packed projects into the programmer In addition this is the only tool which can process the deep encrypted projects Buttons and Menus Project Import EN E LAB ISPS UPP1 UPP2 Programmer and Downloader ere JJ PackProg works with a Proj
39. his menu item enables and disables the request Password PackProg Telnet Server Calibrate USB 2 0 download new Firmware 480MB sec The active Telnet Server is displayed in the LL Telnet active main window Telnet config Telnet info wv auto search programmer Telnet config The Telnet Server needs an USER ID and a password If a Telnet Client another application connects to the Server this Client must provide the correct ID and password This disables unauthorized Telnet Clients so they can t take control of the Server or influence it An invalid request made with a Telnet tool looks like this E LAB PackProg TelNet Server Telnet Server Configuration Favorites a AVP gt Pack oader User ID rh Trying 192 168 1 2 PORT 23 eg Connected to 192 168 1 2 keen aMMa E LAB PackProg Telnet Server Anwendername rh Pabwort Server Port ung ltige Anmeldung X close Telnet configuration Set security and access values E LAB Computers PackProg Software e 31 ISP3 X portable In Circuit Programmer The menu item Telnet info shows the Telnet command list CONTE xi d Telnet communication ms Search programmer response ok or Error xx FFname load File fname response OK or Error xx mE Check target response ok or Error xx SF start Programming response Ok ot Error xx Ca start Verify all response Ok or Errors
40. ing and checking the device ID of target is included if possible Program Chip This button starts a complete programming cycle of the chip PES Ve Program This includes the Flash EEprom Fusebits Lockbits and eventually a serial as number Which of these operations are executed is controlled by the content of the packed or encrypted file Project 28 PackProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Verify Chip Verify the contents of the Flash and EEPROM Of course this is only possible if the chip is not protected If the programming of the serial number was enabled at the project creation time packed or encrypted file then the actual number is displayed With a double click onto this field it becomes editable At programming time this number is stored into the Flash and after that it is incremented Exception if preserve serial number is activated then the original number out of the target is used prog EEpram false prog EEprom false prog mode SPI prog mode SPI serial number S699AABZCCDDEESGC serial number es 99 AA B2 CC DD EE 3C Target protected Target protected JPP 1 Prog Rev 061211 Targ 3 28V OMA UPP 1 Prog Rev 061211 Targ 3 28V OmA nfos about the actual loaded project Infos about the actual loaded project Setup If encrypted or deep encrypted projects must be built then the password of the target programmer must be supplied to the file creator setup Info The
41. itten into the file ISP_UPP err in the program directory Filename automatically opens and loads the PackFile defined with Filename The order of the switches in the command line doesn t matter The switches must be separated by spaces A switch must not contain spaces Example C pppp PackProg exe abc pac d12345678 p c Return Codes These return codes can be used by a batch file to control its flow O dsOk Operation successful finished 1 dsPwrDown No Target voltage 2 dsPwrErr Target too high or too low 3 dsFalseTyp Wrong CPU ID found 4 dsProtect Target is protected by fuses 5 dsNotEmpty Target is not empty after an erase 6 dsVerifyErr Target or Programmer found a Verify error while programming 7 dsFileError N A 8 dsTimeOutErr USB driver returns a timeout 9 dsCommeError Communication problem with the Programmer 10 dsNoProg Programmer not found 11 dsNoProj Project not found 12 dsFwLost Programmer returna an invalid firmware 13 dsNotfound File eg Hexfile was not found 14 dsCalReq Programmer returns a lost or illegal calibration 30 e PackProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Telnet Interface There is an easy to use remote control interface in the PackProg To simplify this remote control the Telnet protocol is used So other applications and also other PCs can remotely control a programmer via Telnet command strings Setup Info ERSE T
42. le name With a firmware update of a programmer the entire program Flash is erased except a small partition which is called boot sector A new firmware for the programmers can be downloaded from www e lab de These programs can not be executed on the PC but must be loaded into the programmer ISP3 X Standard file yymmdd_ISP3X pupd or from WEB in file ISP3X_update zip ISP3 X ICE Std file yymmad ISP3X Deb Std pupd or from WEB in file ISP3X_ Deb_ Std zip ISP3 X ICE Prof file yymmdd_ISP3X_Deb_Prof pupd or from WEB in file ISP3X_Deb_ Prof zip This must be done with the menu item Options Download new Firmware Please note that all update files must be placed into the folder ISP_Updates below the programmer s home directory Otherwise they could not be found The menu item opens the dialog described below us jajx j The group File state contains the say State of the loaded file filename filesize and infos about the expected target CPU Fil state Target state edad Firmware 110427 The group Target state contains the a state of the programmer 11 0427 15P3_Deb Prof 101 4 E Mod Size 122880 Bytes aA y Ifthe traffic light shows green the arget connected i Device ID 1E9702 g downloading can be started CPU name MEGATZS DevicelD The vertical bar shows the download and programming progress 1USB 2 The Open button opens a dialog which shows
43. le stores the Flash Buffer into a hex file A FileDialog is opened Search Programmers is a support function which closes the currently opened programmer connections and then tries to find all connected programmers See separate section below regarding Multiple Programmers USB2 devices only disables the global programmer searching and enumerates USB2 types only This avoids long timeouts with the COMport searching which can take several minutes if a Bluetooth virtual Comport is installed on the PC A The Project Open button opens the project dialog A new project can be built or an existing one can be opened and loaded al The Reload button loads the previously loaded Hex Files again H The Flush button clears the Flash Buffer and also the EEprom Buffer completely to FF E Pl The Device State button opens the Device State dialog Description see above E LAB Computers AVRProg Software e 11 ISP3 X portable In Circuit Programmer Device Menu EN E LAB ICP ISP Programmer AVR xmega_P File Device Program Options Encrypt Tools He Blank Check tests the target CPU for unprogrammed ie a Blank Check empty If the target is protected a message is raised read back Flash Read back Flash if the target is not protected the contents read back EEprom of the Flash is read back into the Flash buffer read back UserSignaturerniow En read back All Read back EEprom if the target is not protected the a contents
44. ly fast Programs a full Mega128 in 3sec JTAG and a Tiny44 in 1sec 16MHz Programmable supply voltage source for the target system 1 8 5 5Volt 30mA 300MA Self update feature via the PC Supports JTAG SPI TPI and PDI programming of the AVRs Optional adapters available not included With the included support program PackProg it is also usable for small series production Very well suited for production programming by using high secure AES encryption Also processes AES encrypted project files PAC onboard Supports programming cycles limitation with AES PAC files E LAB Computers Overview and Features e 3 ISP3 X portable In Circuit Programmer CONNECTIONS Windows XP Vista or Windows7 8 is required USB1 or USB 2 port is required With a USB 1 port the programming time will be increased somewhat The included USB cable must be connected to a free USB connector of the PC The USB drivers must be installed once in order to work properly See the USB section at the end of this manual The internal voltage is 3 3Volt Don t apply high loads at the target pins used for programming No capacitors are allowed at these pins Capacitance at the RESET pin must not exceed 100nF With XMegas there must be no capacitor connected to the Reset pin Pullup minimum 100kOhm The definition of the 6 pin target plug 0 1 inch pitch male header dual inline conforms to a recommendation from Atmel The TOP VIEW onto the connector of the Target is b
45. me result as the item check Device in the Device Menu above 12 e AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Program Menu ISP Programmer AVR Domega Prog Program Options Encypt Tools Help program all programs the Flash the EEprom and also the fuse Gage s SC and lock bits in the manner defined at Options program flash programs the Flash only Fe Per EM program EEprom programs the EEprom only not in JTAG mode ibs eli aii program UserSignaturRow programs the UserRow XMega en ses program Fuses programs the fuse bits as defined at Options program Lockbits SC program Lockbits programs the lockbits only erase Device StratF5 erase Device erases the entire device but not the fuse bits erase EEprom erases the entire EEprom not in JTAG mode erase UserSignaturRow erases the UserRow to FF XMega erase EEnrom erase UserSignatureRiow sc 34 Dan NC 94 DA 7 oe O D ai A click on the Erase button erases the entire chip inclusive the lock bits Please note that the fuse bits are not erased or changed The Program button erases the chip completely including the lock bits then the chip is reprogrammed The fuse and lock bits are treated as set in Options The Security button writes the lock bits which are defined in Options It is required that the chip is not protected until this time The Verify button starts a verify of the target with the buffers Only
46. ming a Flash EEprom and Fuses programming SS ea eee Chip erase See En E eee State of the programmer and the target ee ee eee flush of the Flash and EEprom buffer EE reload of the Flash and EEprom buffer A another resp new project load 10 e AVRProg Software E LAB Computers ISP3 X portable In Circuit Programmer e la Functions of Buttons and Menus Normally the use of the menus is not necessary All standard operations can be started with the speedbuttons by a mouse click Specialized operations can be found only in the menus File Menu Aa EN IL Edit Load Project opens the project dialog A new project can be File Device Program Options Encrypt build or an existing one can be opened and loaded Eqit Load Project due S ee Save Project parameters stores the actual parameters in the isp Save Project parameters file Save Flash Buffer to binary File Save Flash Buffer to binary File stores the Flash Buffer into a Save EEprom Buffer to binary File binary file A File Dialog is opened Save Flash Buffer to Hex File Save EEprom Buffer to Hex File Save EEprom Buffer to binary File stores the Flash Buffer into a binary file A FileDialog is opened Si DD D o search programmers vw LISEZ devices only Save Flash Buffer to binary File stores the Flash Buffer into a hex file A File Dialog is opened D DD D D Exit 000030 oc 34 Ci De 07 OC DE Save EEprom Buffer to binary Fi
47. of the EEprom is read back into the EEprom verify Flash buffer Verify EEprom 3 i Verify UserSignatureRow s Read back UserSignatureRow if the target is not Verify all Stair10 L protected the contents of the UserRow memory is read E back into the UserRow buffer Only XMega 34 check device read back All if the target is not protected the contents of the Flash and the EEprom is read back into the related buffer With XMegas also the UserSignatureRow is read back Verify Flash if the target is not protected the contents of the target s Flash is compared to the Flash buffer If there is any difference an error message is raised Verify EEprom if the target is not protected the contents of the target s EEprom is compared to the EEprom buffer If there is any difference an error message is raised Verify UserSignatureRow if the target is not protected the contents of the target s UserRow is compared to the UserRow Buffer If there is any difference an error message is raised Only XMega Verify all if the target is not protected the contents of the target s Flash and EEprom are compared to the related buffer If there is any difference an error message is raised With XMegas also the UserSignatureRow is verified check device checks the programmer and also the target If any there are any problems they will be displayed If the CPU is protected only the device ID can be displayed ID 00 01 02 Pe The check button has the sa
48. og select the desired directory Now the dialog for selecting the file extensions and file types appears Select edit extensions and file types The Flash file dialog appears Select the file which contains the Flash contents Finally the CPU type must be selected from the CPU Select dialog Up to here the selections are a must The following dialog for selecting an EEprom file can be ignored if nothing exists The new project must be stored by the Save button E LAB Computers AVRProg Software e 5 ISP3 X portable In Circuit Programmer xi Dialog for the file types and extensions of a project These parameters are project related and must be File Extensions Flash UserSignatureF ow De SEH be UserRow defined for each new project a ls 9 E Editing an existing project Click the button Edit at se The program is now in edit mode With a click onto the items and fields the accompanying dialog opens After all changes are done store them with a click onto the Save button Moving a project from one page to another page of the notebook is very simple Select the project enter the edit mode switch the notebook page to the desired page and then store the project with the save button Comment Editor Comment editor Test 2 A right click to an entry in the project select load dialog opens this Comment Test Program dialog With this dialog it s possible to add or view a comment for each project UI If a proje
49. olute impossible So it makes sense to use the AES encryption at least for external production With in house production the standard PAC file is sufficient EN pack Project ISB3 UPE 1 2 pack Project for ISP3 X UPP 1 X UPP2 x Standard PAC file A A E LAB ISP3 X UPP1 X UPP2 X File Encryptor AES Encrypt Mode Pare File CIPROJEKTEIPROG_AVRiDelphilSP_Update y additional encryption options none used 155 7D97F UPPER Quantity of program devices limited to not usable File created File downloaded CPU Mame CPU Clock Flash to program EEprom to program Liserkow program Fuse to program Lockbits to program Auto release target POI programming Target powered by program serial number preser e serial number File protect 1 Quantity limit 24 e AVRProg Software WEN d g fl select a Key mal Del KEY E Add KEY 2012 Sep 01 00 58 36 2012 Sep Op AMEGA25BA3U 32 MHz 196780 bytes Hane none ves yes yes yes ISPIUPP 330 max 1 00mA na no AES Password Quantity AES PAC file To create an AES PAC it is mandatory to have an X programmer connected to the PC The dialog for creating of an AES PAC file provides three different modes A Standard Encryption only AES used B Encryption with password Sernum used Here the serial number of the target programmer is needed It will then be integrated into the encryption and checked by the targ
50. only the RESET line must be set to 12V Here is a simple schematic where the RESET output of the programmer is used to switch a 12V source PING TPI DAT TPI DAT mg TPL TPI CLK PIN2 TARGET VCC 3 6W 5 0V Programmer E E KA TINY4 5 9 10 20 er COMP 1 GND _ 3 Mn TLC3702 2 S 1_TINY RESET Pin PIN5 C RESET from Programmer 2 St GND SS PING GND CMOS Comparator with Push Pull Output 42 e Addenum Tiny 4 5 89 10 20 E LAB Computers ISP3 X portable In Circuit Programmer Chipcon Basics e la The ISP3 X firmware also supports the in Circuit programmable ZigBee Chip family CC1110 CC2510 and CC2430 from Tl Chipcon With the creation of a new project for the CC2430 in addition to an existing Flash hexfile also the correct CPU must be selected CC2430 F32 CC2430 F64 or CC2430 F128 The generated supply voltage for the target can be set between 2 7V and 3 6V if the programmer has to supply the target A valid CPU clock must be selected either 16MHz or 32MHz There are no fusebits but a lockbit block The meaning of these lockbits can be found in the datasheet of the CC2430 IEEE Address Chipcon IEEE Address ii ES IEEE Address in chip AS 11 66 35 44 33 22 11 Next IEEE Address to program AS 11 66 35 44 33 22 12 IEEE Address location F 128 S1FFF8 Y write IEEE Preserve Serial Number Y LSB Serial Number Order Cancel Because the CC2430 is a ZigBee device the c
51. ontroller must have a fixed and unique address IEEE similar to a MAC address with Ethernet Chipcon defined that this address 8 bytes must reside in the upper most and last 8 bytes of the flash memory With the F128 this is 1 FFF8 51FFFF The order is MSB at the lower address and LSB on the upper most address The programming software supports the address handling so that this address can be preset and becomes auto incremented after each programming cycle With Preserve Serial Number the number in the Target is read back and used for the next programming cycle provided that the chip is not protected With LSB Serial Number Order the serial number will be stored beginning with the LSB and ascending in the Flash otherwise beginning with the MSB These options can be set and edited in the dialog Options Target Options Connectors The included 6 wire ribbon cable must be used The connections of the receptable header on the target board must be done in a way like the schematic below shows it N C 01 201 VCC P2_2 CLK 03 Aol DATA P2 1 RESET 05 601 GND TopView header on the Target E LAB Computers Attention The PIN2 must be connected with the positive Target supply VCC PIN6 must be connected to the ground of the Target Connect PIN5 to the RESET PIN PIN3 to the Debug Clock P2 2 and PIN4 to the DATA PIN P2_1 of the CC2430 Addenum Chipcon e 43 ISP3 X portable In Circuit Programmer Verify
52. pke ent elp no Filenumber pki de op eng en i NE ee me e WC ct et EI ei SI F e F end F e F en ent pkg set Filenumber set Filenumber If the button no Filenumber is pressed a standard pac or enu project will be build If the button set Filenumber is pressed an encrypted file gets the extension en and a packed file gets the extension pkd The activated radio check defines the last character of the extension and this character now absolutely defines the position of this file in the internal file list of the UPP which furthermore defines its relation to the rotary switch The UPP rejects files with extension numbers when there is already a file on the SD which has the same extension number These file types can co exist DDS10 pac DDS10 enu DDS10 pk0 DDS10 enl etc E LAB Computers AVRProg Software e 25 ISP3 X portable In Circuit Programmer Programming with AVRProg Interactive programming must be started with this button of the PC application The entire chip is erased including the lock bits and then totally reprogrammed The fuse and lock bits are treated as described in Options States Error Display and Problems Possible error messages of the programming system AVRprog PC Programmer not found a The programmer is not plugged into the PC s COM port or USB port b The COM ports of the PC are all used by other devices N A for USB c The connection is missing som
53. required password of the programmer must be requested in the Setup Menu The dialog request Password must be started request Password Calibrate download new Firmware Encryption De S all Now this dialog shows e E3 password of the E connected 17487 583 copy to Riel programmer D Telnet active Telnet config Telnet info Get the programmers internal password Needed to ent auto search programmer Calibrate is done exactly the same way as mentioned above The programmer checks its calibration at power up and reports a lost calibration So a calibrate makes only sense when this error occurs The download of a new Firmware for the programmer is started and executed as described below If the option auto search programmer is enabled a programmer search is automatically started at the start of the program PackProg The system then is scanned for any connected and active ISP3 or UPP programmer If a programmer is found it is displayed here serial number UPP 1 Prog found UPP 1 Prog Rev 061211 Project do program EEprom E LAB Computers PackProg Software e 29 ISP3 X portable In Circuit Programmer Command line parameters In principle with all calls of PackProg switches can be appended These are p Automatic programming start V Verify target f Verify flash only u Check programmer t Enable Telnet server c Program exit s No visual error messages are generated Instead the errors are wr
54. sages can be ignored in this case In most cases the CPU then shows a normal behaviour as expected Attention SPI mode Some CPU types have an internal RC Oscillator or the feature to connect an external RC Oscillator These options must be selected by some fuse bits Sometimes it s also possible to select an external low frequency quartz With selecting such an oscillator one must be very careful 1 Internal RC oscillator With this option selected the standard frequency is typical 1MHz Because of this the programmer s frequency selector must also be set to 1MHz otherwise there will be errors with accessing the target CPU The nominal frequency is 1MHz With a CPU voltage of 3Volt the frequency drops to 500kHz 2 External RC oscillator If this mode is activated there must be a proper external circuit connected Otherwise the target CPU will be never accessible 3 Low Frequency Crystal If this mode is activated a 32kHz watch quartz must be connected to the target Otherwise the target CPU will be never accessible Please note in addition that while programming the actual fuses in the CPU are relevant The new programmed fuses become valid the first time after a reset Some fuses become valid the first time after a power down With accidentally wrongly programmed oscillator fuses it s possible that after that the external oscillator circuit must be changed to again get access to the target CPU The above restrictions and
55. sed Basically hard and or software development systems should only be operated with XP or higher Driver locations E LAB programmers with USB interface like all other non standard USB devices need a special USB driver This driver is included in the installation All USB 2 types have a common special driver set which resides in a separate sub directory of the installation directory USB2_Driver driver set for all ISP3 UPP1 and UPP2 types In the AVRco compiler installation these drivers can be found in their subdirectories below the directory AVAco l Driver installation The necessary installation of the driver onto a PC is relative simple and without any problems With the installation of the programmer package the necessary USB drivers are automatically installed But one must proceed in fixed procedure 1 Disconnect any programmer devices from the PC 2 Startup the computer and wait until the system is ready for working Then execute the included programmer install program ISP_ICPinst exe This step is not required for AVRco installations The following Windows dialogs concerning the USB driver must be answered with yes Plug the USB programmer into a free USB port of the PC Windows now recognizes a new unknown USB device and registers it The programmer software is now ready to work ey OR 34 e USB Driver E LAB Computer ISP3 X portable In Circuit Programmer e la Installing unsigned drivers
56. short click to this button executes a Hardware Reset 2 a longer click to this button 1sec also executes a Hardware Reset and in addition it forces the device to enter the forced Download state as described above 40 e Firmware Update E LAB Computers ISP3 X portable In Circuit Programmer e la Addendum XMega Attention The RESET line on the target must never be loaded with capacitors because the PDI CLK is fed with gt 1MHz A jumper which disconnects RESET capacitor at programming time can help Mega POI speed With older XMegas for example XMega128A1 or long programming cables GG high speed some errors may be raised Here Atmel recommends that the clock rate of the PDI interface should be reduced This can be done in Options Programmer lou sie options E LAB Computers Addenum xMega 41 ISP3 X portable In Circuit Programmer TINY4 5 9 10 20 These Tinys must be programmed with 5V through 3 pins The programming mode is called TPI Because the same programming plug is also used by the SPI mode the plug on the target system differs from the Atmel plug The load on the TPI_DAT pin must not be lower than 80k Ohm This is the connection of the programmer cable to a TPI Tiny Because the RESET pin of these TINYs can be disabled by a fuse a normal re programming of these devices is not possible Then the high voltage programming mode must be used Fortunately the programming scheme is the same but
57. sp programming of the target The types of the options depend of the Hex files and the selected CPU type ales Programmer Mod O SP mode E Pblmode E Options MEGA128 Test 128 Fisepits 1 span gt were ml octe 7 Le OCDEN F uses 1 7 Tr Lek bits can Bl ware Si pean El were ml BODLEVEL fer 7 BODLEVEL IL E Ce JAG mode TE mode JTAGENT 6 v JTAGEN BODEN f BODEN FFs E SPENT 5 Le SPIEN suTty ST eur pooTLocki2 5 BOOTLOCKI2 Calibration bytes CKOPT cl CKOPT Sum 4 em BOCTLOCK11 4 BOOTLOCK11 S l Ree 800 val S1FFFE addr EESAVET 3 EESAVE EXSELST 3 CHA BpooTLOcKO2 3 gp om Reset options BpooTszi 2 BoOOTSsZ1 CKSEL2 w 2 CKSEL2 BOOTLOCKe1 2 eooTLocko1 Write Cal Byte more inverse Reset BooTszo 4 Sopran CKSELIT 4 CKSEL1 Locker2 4 Locker SSS FF Push Pull Reset BOOTRST of BOOTRST CKSELOIY 0 CKSELO Lockanif of Locka Powersupply amp clocks Mure SE Sat K EE E Ki SBE SFF K 4 0 Volt E stay active Ok ae 200 mA E mu E A default SET TE General all Blank check after erase ml el Jh program Flash F AT program EEan F 3 IT eme false ID F 2f Auto release Target Mina 1T imge WOTONT of WDTON SFF SFF wl IT program Lockbits program Fuses save restore EEprom P prog Fuses B print Ke refresh E If for example no EEprom file is loaded EEP th
58. state programmed Firmware 402 HW UI fall Signature 1E 37 4c Update 110427 For JTAG TPI PDI programming SC mode this value has no meaning Application Programmer Properties But this parameter should have Name mega Frog POI XMega prog yes always the correct value Flash used 131072 bytes i 3 wen nie dent ut uno The voltage field on the right of it Eprom used 35 bytes R amp C prog no reflects the current voltage value Userhow used 64 bytes which the ISP programmer measures on the target board if FE MONET connected 32MHz BR 331vot 33 Vot BR 100ma Y The current field selects the maximum allowed current to supply 0 0mA sets the internal supply to the off state The other values enable the ISP internal supply If a current gt OmA is selected the desired supply voltage can be selected in the voltage field If enabled the ISP3 X programmer supplies the selected voltage to the target system only in programming state The current will be limited to the selected value With XMegas the maximum supply voltage is limited to 3 6V With some TINYs the minimum supply voltage is limited to 5 0V The Application group shows the actual loaded project in the PC The Programmer group shows the information about the connected programmer device programmer type serial number date of production firmware revision and the last firmware update The last item is important because all update files start wi
59. tage Target too high or too low Wrong CPU ID found Target is protected by fuses Target is not empty after an erase Target or Programmer found a Verify error while programming N A USB driver returns a timeout Communication problem with the Programmer Programmer not found Project not found Programmer returna an invalid firmware File eg Hexfile was not found Programmer returns a lost or illegal calibration Some networks e g Novell use DOS 8 1 style filenames and cannot handle the Project File Extension ispe This can be solved by changing the corresponding entry in the INI File of the programmer ISPISP 3 ini Example Settings ProjExt isp Alternative programming By creating a so called PACK file this file can be handled by the Pack Programmer Program PackProg exe This program is included in the ISP3 X programmer package and described later in this manual This option is useful when creating a file to send to another location for programming E LAB Computers AVRProg Software e 9 ISP3 X portable In Circuit Programmer Button Bar For fast access of the functions with the mouse the program has a bar with speed buttons These allow fast working without the use of the menus Action none 25 fi Firmware revision display of the actual action release of the reset of CPU and restart oo abort of the actual action aspas nee Flash and EEprom Verify SE subsequent Fuse program
60. th their date of build yy mm dd In the dialog above this is 2011 Feb 21 So you can easily find out whether a new downloaded file from the WEB is the same or newer than the one already downloaded in the ISP The download of an update into the ISP is described below in the section Firmware Update at the end of this manual USB power supply For powering the target board the ISP3 X has an internal step up voltage converter which builds a voltage of about 5 6V from the USB voltage 4 4 8V So an external power supply is not necessary provided that the target load is less than what can be provided by the USB port or hub See the section below for more discussion on power supplies E LAB Computers AVRProg Software e 7 ISP3 X portable In Circuit Programmer Call options Start with the Windows Explorer If you make a link in the Windows Explorer from the file extension iSpe to AVRprog exe a double click to a project inifile xxx ispe in the Explorer automatically invokes AVRprog exe which by itself reads the ini file and loads the complete project Start within the E LAB IDE PED32 The program start is already implemented into the IDE Command line parameters With all calls of AVRprog command line switches can be appended These are USB2 Only search for devices with USB2 e Automatic Device erase p Automatic Programming Start r Automatic Target Run C Program exit S No visual error messages are generated Instead t
61. the CPU pin the other side is connected to ground Because of this wiring there can be problems with programming parts if the target system loads the control lines with low ohm resistance Also dynamic loads caused by capacitors can lead to problems So it s a good idea to design system with less or no loads on the programming lines Resistance below 2k Ohm and capacitors larger than 100pF should be avoided in conjunction with the programming lines This is true for both SPl programming and also for JTAG programming Miscellaneous Adaptors These adapters are useful if your target board has connectors with Atmel standard pinouts Atmel 10pin SPI Connector E LAB Computers As an option an adaptor is available from E LAB 6 pin SPI to Atmel 10 pin SPI 2125 E LAB 6pin Programmer Cable As an option an adaptor is available from E LAB 10pin JTAG to Atmel 10pin JTAG Atmel 10pin JTAG Connector JTAG Apaptor3 E LAB Programmer External Hardware e 33 ISP3 X portable In Circuit Programmer USB driver Windows compatibility For reliable working with a USB Programmer and a Windows system at least Win98SE is necessary Win95 NT3 4 and standard Win98 dont support USB Also with Win98SE one must be careful as not all versions can handle USB in a reliable way Because of this E LAB cannot guarantee the functionality of the USB programmer with Win98SE So for the USB versions only XP Vista Windows7 32bit or 64bit should be u
62. vides a pin for an external power supply lt can be connected to a power supply which can supply 5 9V DC up to 500mA Pin6 Ground Pin10 can be used as the external positive supply input Multiple programmers COMports and USB E If the PC control program AVAprog exe or PackProg exe finds several USB programmers or at least one serial and one USB type are present the programmer must be US E selected from this dialog Basically only one serial type is searched If one is found the search for these types is aborted Regardless of how many programmers have been found only one can be used for working at a time Gang programming is not possible Edit Load Project detect the currently connected programmers with the menu item save Project parameters File search programmers Save Flash Buffer to binary File Save EEprom Buffer to binary File Save Flash Buffer to Hex File Save EEprom Buffer to Hex File search programmers w LISEZ devices only Exit AAAS A Ad NA AT Di 38 e Target Power Supply Multiple Programmer E LAB Computer ISP3 X portable In Circuit Programmer e la Firmware Update Latest programmer devices support downloading of a new firmware into the programmer Whether your device has this feature you can find out if you call the Device Status dialog If this device is updateable then in the line Update a number appears which shows the actual firmware date which is also a part of the update fi
63. warnings are not relevant for JTAG TPI and PDI programming Here the CPU must simply be supplied with voltage current A working oscillator is not necessary and is ignored But then never disable the JTAGEN fuse in JTAG mode The settings of the Lockbits protected unprotected and the voltage supply of the target by the ISP are also displayed in the main program by two symbols The padlock means that the target will be locked protected by the lockbits The mains or battery symbol means that ISP must supply the target system Both symbols belong to the Gi s PDI actual loaded project in the PC program E E LAB Computers AVRProg Software e 17 ISP3 X portable In Circuit Programmer Dialog Target Options This dialog has two jobs 1 Store program of additional data into the Flash of the target 2 Serial number administration EN Target options avr evabos di 2 wl The caption shows the name of the project present in the PC Projectname th target 1 a project name is programmed into the target and it is avrevaboardi write Name readable it is displayed in this panel The check button write Name shows the state of this option Serial number in target shows the read back serial number from the target if any The check button write Number shows the state of this option Serial number in UPP ISP shows the serial number in the ISP and PC It s incremented after every programming With Preserve Serial Number the number in th
64. y passed to the application A checked checkbox WriteCal Byte forces the programmer to read this fuse byte and store it into the Flash The target location of this calibration byte must be supplied by the user with the help of the dialog Calibration bytes shown below FA Calibration bytes ll Dependent of the CPU type there are up to 4 Calibration Bytes which must be read out of the CPU Each byte corresponds with a unique Possible Calibration bytes RC oscillator The choice of this byte radio Cal Byte0 Cal Byte 1 Cal Byte 2 Cal Byte 3 buttons is dependent on the settings of the ert gg 577 CA CLKSEL fuses z With the edit field address the target address Ge 1MHz C 2MHz C 4hiHz C MHz in the Flash for this byte must be set With CPUs up to 64kByte Flash size this can be each value gt 0000 With CPUs gt 64kB Flash mega128 the selected address must be even Write Calinration Byte to QOOOLFFF address With newer AVRs and the use of the standard RC oscillator a Calibration Byte handling is not necessary These devices automatically read this byte from its EEprom memory into the OSCAL register Attention All Fuse and Lockbits are low active This means if the data sheet shows a zero 0 for a specific bit the corresponding field in this dialog must show a green ok Then a 1 bit must show an empty field Atmel always uses negative logic for Fuse and Lockbits With the field ComPort the interface to

Download Pdf Manuals

image

Related Search

Related Contents

Especificações Técnicas de Materiais  Polar FT80    簡易型振幅位相計 取扱説明書  Manual - SPX Corporation  Manuale d'uso e manutenzione  取扱説明書[NA-FV60B3] (9.29 MB/PDF)  Cellular Line Mark Pen  the MG15CFX™ Handbook  Troubleshooting Diagram Lentis  

Copyright © All rights reserved.
Failed to retrieve file