AT89C5122. Application Note. Preventing Windows XP from Displaying Unknown device Message at Startup
|
|
- Simon Clifton Barton
- 5 years ago
- Views:
Transcription
1 Preventing Windows XP from Displaying Unknown device Message at Startup 1. Features Applicable only to AT89C5122 products embedding the DRV or DSU bootloaders Prevents Windows XP Operating System from displaying Unknown device message when the AT89C5122 is plugged in the USB connector AT89C5122 Application Note Note: The bootloader embedded in the ROM is identified by a 3-letter code (DSU) marked on the upper right hand side of the package Rev. 1
2 2. Reference Documents 3. Problem Description AT89C5122 s DSU Bootloader AT89C5122 s Errata-Sheet When the AT89C5122 product is plugged in the USB connector, Windows XP may display temporarily the message Unknown Device for some seconds. The root cause of this problem is the excessive time occuring between the presence detection of the USB device by the operating system and the USB enumeration process performed by the firmware. This time is at least 1.2s while the USB standard requests a maximum of 130 ms. By default, at reset, the AT89C5122 activates the pull-up on D+ line of USB interface to configure the device in Full-Speed mode. When the D+ pull-up is enabled, the device is said attached to USB port. This pull-up is sensed by the operating system to detect the presence of a new USB device and its speed mode. The operating system sends an enumeration request on the USB bus and expects a response within a maximum of 130 ms from device. Upon reset, the AT89C5122 enables the D+ pull-up on USB bus and executes the bootloader program from an internal ROM. This bootloader transfers the user program from an internal E2PROM on to a Code RAM (CRAM) memory. Once completed, the bootloader executes a call to the CRAM lowest address and the MCU starts executing the user program. This transfer process takes about 1.2s, during which the D+ pull-up is enabled and the firmware is unable to answer the enumeration request from the host. Hub port power ok MCU reset Pull-up enabled Begin of Enu- -meration process USB System software reads device speed Execution of user code Hub port power-on VBus Debouncing time USB reset VIH D+ D- 130 ms max 1.2s min 2
3 4. Workaround 4.1 Description The attach / detach operation (activation / deactivation of the pull-up on D+ line) can be controlled by firmware. The workaround consists upon downloading the firmware from the internal E2PROM to the CRAM in two steps : a. First step: at reset, a minimum code is transferred by the bootloader into the CRAM and executed. This minimum code implements a USB detach operation which occurs about 24 ms after reset (MCU freq. = 48 MHz/X1) While the device is physically connected to the USB port, the host is unable to sense the presence of the device and does not display any error message anymore. b. Second step: the firmware downloads the rest of the code into the CRAM and executes it. The firmware has to re-attach the device to the USB port and answer to the enumeration request from the host. Hub port power ok Hub port power-on VBus MCU reset Pull-up enabled Minimum code Firmware detach Firmware attach rest of the code Begin of Enu- -meration process USB System software reads device speed USB reset Debouncing time time VIH downloaded by the bootloader downloaded by the firmware D+ D- 24ms max 130 ms max 1.2s min 4.2 Limitation For this workaround to work, the minimum code must be mapped in the lower part of the CRAM. Therefore, this workaround does not work in user codes mapped beyond address 0F00h. For these codes, the minimum code that the bootloader would have to download would be greater than 3840 bytes and it would take more than 130 ms to download. 3
4 5. Mode of Operation 5.1 Activating the Two-Step Download Feature The two-step download feature is implemented in a specific startup.a51 file provided by Atmel. This file must be included in the customer s firmware development project. The two-step feature is disabled by default and can be enabled by setting the pre-processor symbol BOOTSTRAP to 1. The definition of this symbol can be made in startup.a51 file itself or any customer configuration file. If the preprocessor symbol is defined in startup.a51 file, add the following instruction to the startup.a51 file: BOOTSTRAP EQU 1 If the preprocessor symbol may be defined in a customer s configuration file like config.h for instance: - add the following instruction in startup.a51 file: #include "config.h" - add the following instruction in config.h file: #define BOOTSTRAP Configuring the Bootloader to Download the Minimum Code The size of the code downloaded by the bootloader is a parameter configurable by the user. This parameter is located at addresses (07FFEh, 07FFFh) of the internal E2PROM : 07FFEh= MSB(code size) 07FFFh= LSB(code size) The minimum code size to download is given by the value of start_download label included in startup.a51 file. The minimum code size is by default 017Eh if the Atmel s original startup.a51 file has not been changed. However, it is highly recommended that in all cases the user checks that the compiler keeps giving start_download label this default value. If it is not the case, the user must retain this new value. The code size parameter is disabled by default and must be enabled by setting size bit in the SIB byte (SIB.3). SIB is located at address 07FFDh : SIB = XXXX 1XXX b The other bits of the SIB byte allows to enable or disable some other paramaters. Refer to the bootloader datasheet for further information. The SIB and code size bytes are part of the firmware and are all programmed at the same time. 4
5 6. Programming the Part to Support the Two Step Download 6.1 Minimum Code Size Before starting the programming procedure, it is necessary to get the minimum code size. This information is available in the mapping file created during the compilation process of the user code and given by the value of start_download label defined in startup.a51 file. For instance, for developpers using Keil s C51 compiler, open file with extension M51 and search for start_download label. TYPE BASE LENGTH RELOCATION SEGMENT NAME * * * * * * * D A T A M E M O R Y * * * * * * * REG 0000H 0008H ABSOLUTE "REG BANK 0" DATA 0008H 0009H UNIT _DATA_GROUP_ DATA 0011H 0004H UNIT?DT?TIMER_SOFT 0015H 000BH *** GAP *** BIT 0020H H.3 UNIT?BI?SCIB_API BIT 0020H H.3 UNIT?BI?USB_CCID BIT 0020H H.3 UNIT _BIT_GROUP_ BIT 0021H H.2 UNIT?BI?USB_TASK 0021H H.5 *** GAP *** IDATA 0022H 0001H UNIT?STACK * * * * * * * X D A T A M E M O R Y * * * * * * * XDATA 0000H 011DH UNIT?XD?USB_CCID XDATA 011DH 004FH UNIT _XDATA_GROUP_ XDATA 016CH 0021H UNIT?XD?SCIB_API XDATA 018DH 0002H UNIT?XD?TIMER_SOFT XDATA 018FH 0001H UNIT?XD?SCIB_TASK XDATA 0190H 0001H UNIT?XD?USB_TASK * * * * * * * C O D E M E M O R Y * * * * * * * CODE 0000H 0003H ABSOLUTE 0003H 0008H *** GAP *** CODE 000BH 0003H ABSOLUTE 000EH 0005H *** GAP *** CODE 0013H 0003H ABSOLUTE 0016H 003DH *** GAP *** CODE 0053H 0003H ABSOLUTE 0056H 0015H *** GAP *** CODE 006BH 0003H ABSOLUTE 006EH 000EH *** GAP *** CODE 007CH 0102H ABSOLUTE <--- MINIMUM CODE MAPPED HERE CODE 017EH 0508H UNIT?C?LIB_CODE <--- BEGIN OF CODE TO DOWNLOAD C:017EH SYMBOL START_DOWNLOAD <--- MINIMUM CODE VALUE... 5
6 6.2 FLIP and BatchISP Versions FLIP and BatchISP are usefull tools to program the device. They are supplied in a common software package and can be downloaded from the Atmel s web site : If bootloader is and if interface used is Use and select if device used is FLIP s GUI displays DRV USB port Serial Port - FLIP 2.X.X - BatchISP or later - FLIP FLIP or later - BatchISP or later AT8XC5122 AT8XC5122 AT89C5122 AT85C5122 AT89C5122 AT85C5122 Bootloader Ver. = Device Boot IDs = 8904 Bootloader Ver. = Device Boot IDs = 8504 Bootloader Ver. = Device Boot IDs = 8904 Bootloader Ver. = Device Boot IDs = 8504 DSU USB port Serial Port - FLIP 2.X.X - BatchISP or later AT8XC FLIP FLIP or later AT8XC BatchISP or later AT89C5122 AT85C5122 AT89C5122 AT85C5122 Bootloader Ver. = Device Boot IDs = 8904 Bootloader Ver. = Device Boot IDs = 8504 Bootloader Ver. = Device Boot IDs = 8904 Bootloader Ver. = Device Boot IDs = 8504 When FLIP downlaods the user.hex file, it calculates the user code size and writes it by default at locations 07FFEh and 07FFFh of the buffer. This feature is not compatible with the two steps download one and the user will need to manually replace the user code size by the minimum code size in the FLIP s buffer so that the bootloader transfers only the code needed to complete the first step. The complete procedure is explained in the following pages. 6
7 6.3 USB Interface FLIP Run FLIP, select AT8XC5122 device and click on OK button Select device Click on OK button 7
8 2. Select communication interface, USB intererface and open USB port Select communication interface Select USB interface Open USB port 8
9 3. Check Bootloader Version and Device Boot IDs Bootloader Ver = for DRV Bootloader Ver = for DSU The two step download feature is only applicable to DRV or DSU bootloaders Device Boot Ids = 8904 for AT89C5122 Device Boot Ids = 8504 for AT85C5122 The two step download feature is only applicable to AT89C5122 devices Check Bootloader Version Check Device Boot Ids 9
10 4. Load the firmware s hex file in FLIP s buffer 10
11 5. Select Buffer Options and select Whole Buffer option in Address programming Range section This option forces FLIP to program the device with the contents of the whole buffer. If this option is not selected, the device is programmed with only the part of buffer containing the user code. Select buffer options Select Whole Buffer option 11
12 6. Edit FLIP s buffer and write minimum code size at locations (07FFEh,07FFh). The minimum code length is given by the value of start_downlaod label implemented in startup.a51 file after firmware compilation. (07FFEh)=MSB(minimum code length) (07FFFh)=LSB(minimum code length) Write LSB(Minimum Code Size) Write MSB(Minimum Code Size) Then click on OK button 12
13 7. Select options Erase, Blank Check, Program and Verify on FLIP s GUI and click on RUN button By default, FLIP clear the SIB byte at location 07FFDh just before programming the device. At this stage, the internal E2P contains the following bytes : (07FFDh)=SIB byte=00h (07FFEh)=MSB(minimum code size) (07FFFh)=LSB(minimum code size) Select all options Then click on RUN button 13
14 8. Select size bit option on FLIP s GUI and click on SET ALL button The size bit of SIB byte has been set at location 07FFDh of the internal E2PROM. Select Size Bit option Then click on Set All button 14
15 9. Edit buffer and clear buffer The next two steps are optional if steps from 1 to 8 were correctly done. The aim here is to check that the device is correctly programmed. It is advised to perform them at least at the first run. Edit buffer Then clear buffer 15
16 10. Read device from addresses 0h to 07FFh Optional step. See comments on the previous step. Select Device Read option Specify address range from 0000h to 7FFFh Start read device by clicking on Read Button 16
17 11. Check if E2P locations from 07FFDh to 07FFFh contains the expected values. The FLIP s buffer must contain the following bytes : (07FFDh)=SIB byte. Refer to datasheet bootloader to determine the appropriate value versus the options selected on FLIP s GUI. (07FFEh)=MSB(minimum code length) (07FFFh)=LSB(minimum code length) If this is not the case the programming procedure must be re-started from step 4. Programmed SIB byte Programmed LSB(Minimum Code Size) Programmed MSB(Minimum Code Size) 17
18 12. Click on Start Application button to run the firmware At this stage, the device is programmed and ready to be used in the application. However, the user can click on start application to verify it. Click on Start application button to run the firmware 18
19 6.3.2 FLIP Run FLIP, select AT8XC5122 device and click on OK button Select device Click on OK button 2. Select communication interface, USB interface and open USB port Select communication interface Select USB interface Open USB port 19
20 3. Check Bootloader Version and Device Boot IDs Bootloader Ver = for DRV Bootloader Ver = for DSU The two step download feature is only applicable to DRV or DSU bootloaders Device Boot Ids = 8904 for AT89C5122 Device Boot Ids = 8504 for AT85C5122 The two step download feature is only applicable to AT89C5122 devices Check Bootloader Version Check Device Boot Ids 20
21 4. Load the firmware s hex file in FLIP s buffer 21
22 5. Edit FLIP s buffer and write minimum code size at locations (07FFEh,07FFh). (07FFEh)=MSB(minimum code length) (07FFFh)=LSB(minimum code length) Location 07FFDh (SIB byte) is initialized by default at 08h by FLIP when it downloads the hex file in buffer. This value of SIB selects the size bit by default. Write LSB(Minimum Code Size) Write MSB(Minimum Code Size) SIB set to 08h by default Then click on OK button 22
23 6. Select options Erase, Blank Check, Program and Verify on FLIP s GUI and click on RUN button Once the device is programmed, the internal E2P contains the following bytes : (07FFDh)=SIB byte=08h (07FFEh)=MSB(minimum code size) (07FFFh)=LSB(minimum code size) Once the device is programmed the GUI is updated with the SIB byte and the minimum code size values of device : The Size Bit option is set by default DO NOT CHANGE IT Select all options Minimum code size Then click on RUN button 23
24 7. Click on Start Application button to run the firmware At this stage, the device is ready to be used in application. However, the user can click on start application to verify it. Click on Start application button to run the firmware BatchISP or Later Getting Started It is necessary to install FLIP or a later release to get an appropriate version of BatchISP. Get the following files and install them in the directory where card-reader.hex file is. cardreader.hex is the result of the compilation of the complete user program sources. These files have been specifically developped to support the implementation of the two step download feature and are not part of FLIP s software package realease. progtsdusb.bat progtsdusb.txt progtsdcmd.txt Run progtsdusb.bat. This executable file calls for progtsdusb.txt and progtsdcmd.txt files. The progtsdusb.bat can be called from Windows Operating System or from KEIL project. In KEIL s project insert the name of executable file progtsdusb.bat in after make section from menu : project / options for target / output 24
25 Check this box Insert name of executable file : progtsdusb.bat Source of progtsdusb.bat OFF ECHO ******************************************* ECHO * TWO STEP DOWNLOAD PROGRAMMING PROCEDURE * ECHO * FOR USB INTERFACE * ECHO ******************************************* 25
26 ECHO * Version : 1.0 * ECHO * Date : 10 DEC 2004 * ECHO ******************************************* ECHO * Product : AT8xC5122 * ECHO * Bootloader : DSU - V1.2.1 * ECHO ******************************************* ECHO. PATH=C:\windows;C:\windows\command;"C:\Program Files\ATMEL\FLIP 2.4.2\bin" <----- Check if the environment path is compliant with the system where this file is executed ECHO. ECHO!!! Check that bootloader is running in ISP mode!!! ECHO. REM PAUSE REM CLS batchisp -cmdfile progtsdusb.txt ECHO. ECHO ****************************** ECHO * PART PROGRAMMING COMPLETED * ECHO ****************************** REM PAUSE :END Source of progtsdusb.txt : -device AT8XC5122 -hardware USB -operation INCLUDE "progtsdcmd.txt" Source of progtsdcmd.txt : # # This file contains the procedure # to program the device by batchisp tool # to support the two step download feature #
27 ONFAIL IGNORE ECHO "!!! Check that Bootloader Version is equal to or 1.2.1!!!" WAIT 1 ECHO "Reading device Boots Ids..." RBOOTID1 RBOOTID2 ECHO "!!! Check that Device Boots Ids are equal to 8904 => AT89C5122!!!" ADDRANGE 0x0000 0x7FFF FILLBUFFER 0x00 LOADBUFFER "card-reader.hex" ECHO "" ECHO "Setting Size Bit in SIB at address 0x7FFD..." #Refer to bootloader datasheet for further information ADDRANGE 0x7FFD 0x7FFD FILLBUFFER 0x08 ECHO "" ECHO "Writing MSB of minimum code size at address 0x7FFE..." #This value is given by value of start_download label of startup.a51 file ADDRANGE 0x7FFE 0x7FFE FILLBUFFER 0x01 <----- check if this value matches the MSB of start_download label value. This value must be extracted from memory mapping file generated by the compilation process of the user program. The start_download label is defined in the startup.a51 file. ECHO "" ECHO "Writing LSB of minimum code size at address 0x7FFF..." #This value is given by value of start_download label of startup.a51 file ADDRANGE 0x7FFF 0x7FFF FILLBUFFER 0x7E <----- check if this value matches the LSB of start_download label value. This value must be extracted from memory mapping file generated by the compilation process of the user program. The start_download label is defined in the startup.a51 file. 27
28 ECHO "" ECHO "Programming the device..." ADDRANGE 0x0000 0x7FFF ERASE F BLANKCHECK PROGRAM VERIFY ECHO "" ECHO "Activating code protection mode..." #Refer to bootloader datasheet for further information ADDRANGE 0x7FFD 0x7FFD FILLBUFFER 0x28 Change it if not appropriate to your application PROGRAM_RANGE <----- This value enables to active the code protection mode. #START NORESET 0 <----- The start application instruction is not activated. Remove the # sign to re-activate the start application during development or debugging sessions Result of execution ******************************************* * TWO STEP DOWNLOAD PROGRAMMING PROCEDURE * * FOR USB INTERFACE * ******************************************* * Version : 1.0 * * Date : 10 DEC 2004 * ******************************************* * Product : AT8xC5122 * * Bootloader : DSU - V1.2.1 * *******************************************!!! Check that bootloader is running in ISP mode!!! Running batchisp on Fri Dec 10 15:52:
29 AT8XC USB - USB/DFU Device selection... PASS Hardware selection... PASS Opening port... PASS Reading Bootloader version... PASS1.2.1!!! Check that Bootloader Version is equal to or 1.2.1!!! Waiting 1sec... PASS Reading device Boots Ids... Reading Boot ID1... PASS0x89 Reading Boot ID2... PASS0x04!!! Check that Device Boots Ids are equal to 8904 => AT89C5122!!! Setting Address Range... PASS0x000000x07FFF Filling buffer... PASS0x000000x07FFF0x00 Parsing HEX file... PASScard-reader.hex Setting Size Bit in SIB at address 0x7FFD... Setting Address Range... PASS0x07FFD0x07FFD Filling buffer... PASS0x07FFD0x07FFD0x08 Writing MSB of minimum code size at address 0x7FFE... Setting Address Range... PASS0x07FFE0x07FFE Filling buffer... PASS0x07FFE0x07FFE0x01 Writing LSB of minimum code size at address 0x7FFF... Setting Address Range... PASS0x07FFF0x07FFF Filling buffer... PASS0x07FFF0x07FFF0x7E Programming the device... Setting Address Range... PASS0x000000x07FFF Erasing... PASS Blank checking... PASS0x000000x07FFF Programming memory... PASS0x000000x07FFF 29
30 Verifying memory... PASS0x000000x07FFF Activating code protection mode... Setting Address Range... PASS0x07FFD0x07FFD Filling buffer... PASS0x07FFD0x07FFD0x28 Programming memory... PASS0x07FFD0x07FFD Starting Application... PASSNORESET0x00000 Summary: Total 25 Passed 25 Failed 0 ****************************** * PART PROGRAMMING COMPLETED * ****************************** 30
31 6.4 SERIAL Interface FLIP Run FLIP, select AT8XC5122 device and click on OK button Select device Click on device list Select AT8XC5122 device Click on OK button 2. Select communication interface, RS232 interface, COM port, baud rate and click on Connect button Bootloaders DRV and DSU supports only baud rate 31
32 Select communication interface Select RS232 interface Select COM port Select baud Click on Connect button 3. Check Bootloader Version and Device Boot IDs Bootloader Ver = for DRV Bootloader Ver = for DSU The two steps download feature is only applicable to DRV or DSU bootloaders Device Boot Ids = 8904 for AT89C5122 Device Boot Ids = 8504 for AT85C5122 The two steps download feature is only applicable to AT89C5122 devices 32
33 Check Bootloader Version Check Device Boot Ids 4. Load the firmware s hex file in FLIP s buffer 33
34 5. Select Buffer Options and select Whole Buffer option in Address programming Range section This option forces FLIP to program the device with the contents of the whole buffer. If this option is not selected, the device is programmed with only the part of buffer containing the user code. Select buffer options Select Whole Buffer option 34
35 6. Edit FLIP s buffer, write SIB byte at location (07FFDh) and write minimum code size at locations (07FFEh,07FFh). - SIB byte : refer to datasheet bootloader to determine the appropriate value versus the options choosen. The size bit must be set to 1. - The minimum code size is given by the value of start_downlaod label implemented in startup.a51 file after firmware compilation. (07FFEh)=MSB(minimum code length) (07FFFh)=LSB(minimum code length) Write LSB(Minimum Code Size) Write MSB(Minimum Code Size) Write SIB byte Then click on OK button 35
36 7. Select options Erase, Blank Check, Program and Verify on FLIP s GUI and click on RUN button Select all options Then click on RUN button 36
37 8. Edit buffer and clear buffer The next two steps are optionnal if steps from 1 to 8 were correctly done. The aim here is to check that the device is correctly programmed. It is advised to perform them at least at the first run. Edit buffer Then clear buffer 37
38 9. Read device from addresses 0h to 07FFh Optional step. See comments on the previous step. Select Device Read option Specify address range from 0000h to 7FFFh Start read device by clicking on Read Button 38
39 10. Check if E2P locations from 07FFDh to 07FFFh contains the expected values. The FLIP s buffer must contain the following bytes : (07FFDh)=SIB byte. If only size bit option has been selected, SIB byte should be equal to 08h (07FFEh)=MSB(minimum code length) (07FFFh)=LSB(minimum code length) If this is not the case, the programming procedure must be re-started from step 4. Programmed SIB byte Programmed LSB(Minimum Code Size) Programmed MSB(Minimum Code Size) 39
40 11. Click on Start Application button to run the firmware At this stage, the device is programmed and ready to be used in the application. The user can click on start application to verify it. Click on Start application button to run the firmware 40
41 6.4.2 FLIP Run FLIP, select AT8XC5122 device and click on OK button Select device Click on OK button 2. Select communication interface, RS232 interface, COM port, baud rate and click on Connect button Bootloaders DRV and DSU supports only baud rate Select communication interface Select RS232 interface Select COM port Only baud rate option is supported Click on Connect button 41
42 3. Check Bootloader Version and Device Boot IDs Bootloader Ver = for DRV Bootloader Ver = for DSU The two step download feature is only applicable to DRV or DSU bootloaders Device Boot Ids = 8904 for AT89C5122 Device Boot Ids = 8504 for AT85C5122 The two step download feature is only applicable to AT89C5122 devices Check Bootloader Version Check Device Boot Ids 42
43 4. Load the firmware s hex file in FLIP s buffer 43
44 5. Edit FLIP s buffer and write minimum code size at locations (07FFEh,07FFh). (07FFEh)=MSB(minimum code length) (07FFFh)=LSB(minimum code length) Location 07FFDh (SIB byte) is initialized by default at 08h by FLIP when it downloads the hex file in buffer. This value of SIB selects the size bit by default. 6. Select options Erase, Blank Check, Program and Verify on FLIP s GUI and click on RUN button Once the device is programmed, the internal E2P contains the following bytes : (07FFDh)=08h : SIB byte (07FFEh)=MSB(minimum code size) (07FFFh)=LSB(minimum code size) Write LSB(Minimum Code Size) Write MSB(Minimum Code Size) SIB set to 08h by default Then click on OK button 44
45 Once the device is programmed the GUI is updated with the SIB byte and the minimum code size values of device : The Size Bit option is set by default DO NOT CHANGE IT Select all options Minimum code size Then click on RUN button 7. Click on Start Application button to run the firmware At this stage, the device is ready to be used in application. However, the user can click on start application to verify it. Click on Start application button to run the firmware 45
46 6.4.3 BatchISP or Later Getting Started It is necessary to FLIP or a later release to get an appropriate version of BatchISP. Get the following files and install them in the directory where card-reader.hex file is. cardreader.hex is the result of the compilation of the complete user program sources. These files have been specifically developped to support the implementation of the two step download feature and are not part of FLIP s software package realease. progtsduart.bat progtsduart.txt progtsdcmd.txt Run progtsduart.bat. This executable file calls for progtsduart.txt and progtsdcmd.txt files. The progtsduart.bat can be called from Windows Operating System or from KEIL project. In KEIL s project insert the name of executable file progtsduart.bat in after make section from menu : project / options for target / output 46
47 Check this box Insert name of executable file : progtsduart.bat 47
48 Source of progtsdusb.bat OFF ECHO ******************************************* ECHO * TWO STEP DOWNLOAD PROGRAMMING PROCEDURE * ECHO * FOR UART INTERFACE * ECHO ******************************************* ECHO * Version : 1.0 * ECHO * Date : 10 DEC 2004 * ECHO ******************************************* ECHO * Product : AT8xC5122 * ECHO * Bootloader : DSU - V1.2.1 * ECHO ******************************************* ECHO. PATH=C:\windows;C:\windows\command;"C:\Program Files\ATMEL\FLIP 2.4.2\bin" <----- Check if the environment path is compliant with the system where this file is executed ECHO. ECHO!!! Check that bootloader is running in ISP mode!!! ECHO. REM PAUSE REM CLS batchisp -cmdfile progtsduart.txt ECHO. ECHO ****************************** ECHO * PART PROGRAMMING COMPLETED * ECHO ****************************** REM PAUSE :END Source of progtsdusb.txt : #---- Setup of the hardware device AT8XC5122 -hardware RS232 -port COM1 -baudrate
49 -operation INCLUDE "progtsdcmd.txt" Source of progtsdcmd.txt : # # This file contains the procedure # to program the device by batchisp tool # to support the two step download feature # ONFAIL IGNORE ECHO "!!! Check that Bootloader Version is equal to or 1.2.1!!!" WAIT 1 ECHO "Reading device Boots Ids..." RBOOTID1 RBOOTID2 ECHO "!!! Check that Device Boots Ids are equal to 8904 => AT89C5122!!!" ADDRANGE 0x0000 0x7FFF FILLBUFFER 0x00 LOADBUFFER "card-reader.hex" ECHO "" ECHO "Setting Size Bit in SIB at address 0x7FFD..." #Refer to bootloader datasheet for further information ADDRANGE 0x7FFD 0x7FFD FILLBUFFER 0x08 ECHO "" ECHO "Writing MSB of minimum code size at address 0x7FFE..." #This value is given by value of start_download label of startup.a51 file ADDRANGE 0x7FFE 0x7FFE FILLBUFFER 0x01 <----- check if this value matches the MSB of start_download label value. This value must be extracted from memory mapping file generated by the compilation process of the user program. The start_download label is defined in the startup.a51 file. 49
50 ECHO "" ECHO "Writing LSB of minimum code size at address 0x7FFF..." #This value is given by value of start_download label of startup.a51 file ADDRANGE 0x7FFF 0x7FFF FILLBUFFER 0x7E <----- check if this value matches the LSB of start_download label value. This value must be extracted from memory mapping file generated by the compilation process of the user program. The start_download label is defined in the startup.a51 file. ECHO "" ECHO "Programming the device..." ADDRANGE 0x0000 0x7FFF ERASE F BLANKCHECK PROGRAM VERIFY ECHO "" ECHO "Activating code protection mode..." #Refer to bootloader datasheet for further information ADDRANGE 0x7FFD 0x7FFD FILLBUFFER 0x28 Change it if not appropriate to your application PROGRAM_RANGE <----- This value enables to active the code protection mode. #START NORESET 0 <----- The start application instruction is not activated. Remove the # sign to re-activate the start application during development or debugging sessions Result of execution ******************************************* * TWO STEP DOWNLOAD PROGRAMMING PROCEDURE * * FOR UART INTERFACE * ******************************************* * Version : 1.0 * * Date : 10 DEC 2004 * 50
51 ******************************************* * Product : AT8xC5122 * * Bootloader : DSU - V1.2.1 * *******************************************!!! Check that bootloader is running in ISP mode!!! Running batchisp on Fri Dec 10 16:01: AT8XC RS232 - COM Device selection... PASS Hardware selection... PASS Opening port... PASS Synchronizing target... PASS Reading Bootloader version... PASS1.2.1!!! Check that Bootloader Version is equal to or 1.2.1!!! Waiting 1sec... PASS Reading device Boots Ids... Reading Boot ID1... PASS0x89 Reading Boot ID2... PASS0x04!!! Check that Device Boots Ids are equal to 8904 => AT89C5122!!! Setting Address Range... PASS0x000000x07FFF Filling buffer... PASS0x000000x07FFF0x00 Parsing HEX file... PASScard-reader.hex Setting Size Bit in SIB at address 0x7FFD... Setting Address Range... PASS0x07FFD0x07FFD Filling buffer... PASS0x07FFD0x07FFD0x08 51
52 Writing MSB of minimum code size at address 0x7FFE... Setting Address Range... PASS0x07FFE0x07FFE Filling buffer... PASS0x07FFE0x07FFE0x01 Writing LSB of minimum code size at address 0x7FFF... Setting Address Range... PASS0x07FFF0x07FFF Filling buffer... PASS0x07FFF0x07FFF0x7E Programming the device... Setting Address Range... PASS0x000000x07FFF Erasing... PASS Blank checking... PASS0x000000x07FFF Programming memory... PASS0x000000x07FFF Verifying memory... PASS0x000000x07FFF Activating code protection mode... Setting Address Range... PASS0x07FFD0x07FFD Filling buffer... PASS0x07FFD0x07FFD0x28 Programming memory... PASS0x07FFD0x07FFD Starting Application... PASSNORESET0x00000 Summary: Total 26 Passed 26 Failed 0 ****************************** * PART PROGRAMMING COMPLETED * ****************************** 52
53 Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) Fax: 1(408) Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) Fax: (41) Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) Fax: (852) Japan 9F, Tonetsu Shinkawa Bldg Shinkawa Chuo-ku, Tokyo Japan Tel: (81) Fax: (81) Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) Fax: 1(408) Microcontrollers 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) Fax: 1(408) La Chantrerie BP Nantes Cedex 3, France Tel: (33) Fax: (33) ASIC/ASSP/Smart Cards Zone Industrielle Rousset Cedex, France Tel: (33) Fax: (33) East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) Fax: 1(719) Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel: (44) Fax: (44) RF/Automotive Theresienstrasse 2 Postfach Heilbronn, Germany Tel: (49) Fax: (49) East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) Fax: 1(719) Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP Saint-Egreve Cedex, France Tel: (33) Fax: (33) Literature Requests Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN- TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Atmel s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. Atmel Corporation All rights reserved. Atmel, logo and combinations thereof are registered trademarks, and Everywhere You AreSM is the trademark of Atmel Corporation or its subsidiaries. Windows, is the registered trademark of Microsoft Corporation. Other terms and product names may be trademarks of others. Printed on recycled paper. xm
Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview
Using Keil FlashMon Emulator with AT89C51CC01/03 1. Summary Atmel AT89C51CC01/03 are Flash microcontrollers. Keil developed an OnChip Debug for these microntrollers taking advantage of the flash byte programming
More informationCAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison
Migrating from T89C51CC01 to AT89C51CC03 This application note is a guide to assist T89C51CC01 users in converting existing designs to the AT89C51CC03 devices. In addition to the functional changes, the
More informationRad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support
Description The Atmel design kit allows designers to evaluate and prototype applications using the AT40KEL040 rad hard FPGA. Kit Content 2 design kits are available: The 160 with a package specific daughter
More informationAT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.
AT91 Host Flash Loader This application note describes the host Flash loader used to upload and program an application in the Flash memory of a Flash-based AT91 microcontroller. Flash-based AT91 devices
More informationAT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized
AT89ISP Programmer Cable 1. Introduction This application note describes the Atmel AT89ISP cable interface. This in-system programmer cable communicates serially with Atmel's AT89S/AT89LP microcontrollers
More informationAT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction
Programming Circuits for ATF Series s with Xilinx s. Introduction Atmel s ATF series Flash Configuration Memory devices use a simple serial-access procedure to configure one or more Xilinx Field Programmable
More informationAVR32 UC3 Software Framework... User Manual
... User Manual Section 1 AVR32 UC3 Software Framework 1.1 Features Drivers for each AVR 32 UC3 peripheral Software libraries optimized for AVR32 Hardware components drivers Demo applications that use
More information8-bit Microcontroller. Application Note. AVR320: Software SPI Master
AVR320: Software SPI Master Features Up to 444Kb/S Throughput @ 10 MHz Directly Supports Large Block Writes Easily Expandable for Multiple SPI Slaves Operates in SPI Mode 0 16-bit Data, Easily Modified
More informationCAN, 80C51, AVR, Microcontroller. Application Note
Migrating from Atmel C51/CAN: T89C51CC01, AT89C51CC03 To Atmel AVR/CAN: AT90CAN128, AT90CAN64, AT90CAN32 Introduction This application note is a guide, on the CAN controller, to help current T89C51CC01,
More informationInterfacing the internal serial EEPROM
Interfacing the internal serial EEPROM Stacked into the AT8xEB5114 8051 Microcontrollers 1. Overview The AT8xEB5114 contains an internal serial EEPROM (AT24C02) connected to the microcontroller via two
More informationAT89C5131 Starter Kit... Software User Guide
AT89C5131 Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3
More informationAT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs
In-System Circuits for AT1 Series Configurators with Atmel and Xilinx s Atmel AT1 (1) series configurators use a simple serial-access procedure to configure one or more Field Programmable Gate Arrays (s)
More informationTSC695. Application Note. Annulled Cycle Management on the TSC695. References
Annulled Cycle Management on the TSC695 The aim of this application note is to provide TSC695 users with an overview of the annulled cycle management on the TSC695 processor. The indication of annulled
More informationSection 1 ATAVRAUTOEK1 Getting Started
Section 1 ATAVRAUTOEK1 Getting Started 1.1 Unpacking the system Kit contents: 1 ATAVRAUTO100 V1.0 board 1 ATAVRAUTO102 V1.0 board 1 ATAVRAUTO200 V1.0 board 1 ATAVRAUTO300 V1.0 board 1 ATAVRAUTO900 V1.0
More information8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M
Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M This application note is a guide to assist current AT89C5131 & AT89C5131A-L users in converting existing designs to the AT89C5131A-M devices. In
More informationFPGA Configuration EEPROM Memory. Application Note. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction.
Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction This application note provides Atmel s customers with a description of the principal differences in programming the AT17LV020(A)
More informationApplication Note Microcontrollers. C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers
C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers This application note describes C routines for Keil compiler to perform In-application Programming/Self programming according
More informationMP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide
MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide AT89C51SND1 Reference Design User Guide -2 Table of Contents Section 1 Introduction...1 1.1 Abbreviations... 1 Section 2 Overview...2
More informationSAM Boot Assistant (SAM-BA)... User Guide
SAM Boot Assistant (SAM-BA)... User Guide SAM Boot Assistant (SAM-BA) User Guide Table of Contents Section 1 Overview... 1-1 1.1 Overview...1-1 1.2 SAM-BA Features...1-1 Section 2 Installing SAM-BA 2.x...
More information8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART
AVR 305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer
More informationMARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers
Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers Programming Hints Use of the SLEEP Instruction Oscillator Selection Access to Subport Registers Access to AU Registers Unused
More informationAT17(A) Series FPGA Configuration Memory. Application Note
Cascaded Programming Circuits using AT1(A) Configurators with Atmel, Xilinx and Altera FPGAs Atmel AT1A (1) series configurators use a simple serial-access procedure to configure one or more Field Programmable
More informationAT89STK-10 Starter Kit... Hardware User Guide
AT89STK-0 Starter Kit... Hardware User Guide Section Introduction... -2. Features...-2 Section 2 Hardware Description... 2-0 Typical Applications... 2-3. Nand Flash Application...2-2 3.2 Serial Dataflash
More informationTrusted Platform Module AT97SC3203S. SMBus Two-Wire Interface. Summary
Features Full Trusted Computing Group (TCG) Trusted Platform Module (TPM) Version 1. Compatibility Single-chip Turnkey Solution Hardware Asymmetric Crypto Engine 048-bit RSA Sign in 500 ms AVR RISC Microprocessor
More informationMigration From AT89C51SND1C to AT83C51SDN1C. Application Note. MP3 Microcontrollers
Migration From AT89C51SND1C to AT83C51SDN1C This application note details the differences between AT89C51SND1C and AT83C51SDN1C products, and gives some tips and tricks to the user when migrating from
More information8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR
AVR031: Getting Started with ImageCraft C for AVR Features How to Open a New Project Description of Option Settings Writing and Compiling the C Code How to Load the Executable File into the STK200 Starter
More information8-bit Microcontroller. Application Note. AVR030: Getting Started with C for AVR
AVR030: Getting Started with C for AVR Features HowtoOpenaNewProject Description of Option Settings Linker Command File Examples Writing and Compiling the C Code How to Load the Executable File Into the
More informationAT89STK-09 Starter Kit for AT83C26... User Guide
AT89STK-09 Starter Kit for AT83C26... User Guide Section 1 Introduction... 1-2 1.1 Acronyms...1-2 1.2 Features...1-2 Section 2 Hardware... 2-6 2.1 Power Supply...2-6 2.2 Jumper Configuration...2-6 2.3
More informationATAVRAUTO User Guide
ATAVRAUTO300... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Overview...1-1 Section 2 Using the ATAVRAUTO300... 2-3 2.1 Overview...2-3 2.2 Power Supply...2-4 2.3 Oscillator Sources...2-4
More information8-bit RISC Microcontroller. Application Note. AVR151: Setup And Use of The SPI
AVR151: Setup And Use of The SPI Features SPI Pin Functionality Multi Slave Systems SPI Timing SPI Transmission Conflicts Emulating the SPI Code examples for Polled operation Code examples for Interrupt
More informationT89C5115 UART Bootloader
Features Protocol UART Used as a Physical Layer Based on the Intel Hex-type s Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write Configuration
More informationFPGA Configurator Programming Kit (Enhanced) ATDH2200E. Features. Description
Features Hardware Supports Programming of all AT7LV and AT7F Series Devices Connection to Allow In-System Programming (ISP) Runs off Portable 9V DC Power Supply.0V Supply Software CPS Configurator Programming
More informationT89C51AC2 UART Bootloader
Features Protocol UART Used as a Physical Layer Based on the Intel Hex-type Records Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write Configuration
More informationAT89C51CC03 UART Bootloader
Features Protocol UART Used as Physical Layer Based on the Intel Hex-type s Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write Configuration Bytes
More informationAT89C51SND1 UART Bootloader
Features Protocol UART Used as a Physical Layer Based on the Intel Hex-type s Autobaud In-System Programming Read/Write Flash Memory Read Device IDs Block Erase Full-chip Erase Read/Write Configuration
More informationSystem Designer. Programmable SLI AT94K/AT94S Series. Features. Description
Features Atmel s System Designer Contains the Following Items: CD-ROM Containing all Necessary Software and Online Documents Atmel s AVR Studio Atmel s Configurator Programming System (CPS) Co-verification,
More informationAT91 ARM Thumb Microcontrollers. Application Note. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller.
AT91M55800A Clock Switching Considerations using Advanced Power Management Controller Introduction The AT91M55800A is designed for ultra low-power applications and features an Advanced Power Management
More informationAT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator
FPSLIC Baud Rate Generator Features: Generates any required baud rate High baud rates at low crystal clock frequencies Uses both internal and external clock sources Supports in both single speed and double
More informationSystem Designer. Programmable SLI AT94K/AT94S Series. Features. Description
Features Atmel s System Designer Contains the Following Items: CD-ROM Containing all Necessary Software and Online Documents Atmel s AVR Studio Atmel s Configurator Programming System (CPS) Co-verification,
More informationTwo-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC
Features Low-voltage and Standard-voltage Operation, V CC = 2.7V to 5.5V Internally Organized 16,384 x 8 and 32,768 x 8 2-wire Serial Interface Schmitt Trigger, Filtered Inputs for Noise Suppression Bi-directional
More informationAVR501: Replacing ATtiny15 with ATtiny25. 8-bit Microcontrollers. Application Note PRELIMINARY. Features. 1 Introduction
AVR501: Replacing ATtiny15 with ATtiny25 Features General Porting Considerations Compatibility Mode Memories System Clock and Clock Options System Control and Reset Registers Interrupt Vectors Timer/Counters
More informationAT697E. Application Note. Checking AT697E Code for Occurrence of LDF/FPOPd Instructions Sequence with a dependency on an Odd-Numbered Register
Checking AT697E Code for Occurrence of LDF/FPOPd Instructions Sequence with a dependency on an Odd-Numbered Register AT697E This application note provides AT697E users with a description of the procedure
More informationATAVRAUTO User Guide
ATAVRAUTO100... User Guide Section 1 Introduction... 1-4 1.1 Overview...1-4 Section 2 Using the ATAVRAUTO100... 2-6 2.1 Overview...2-6 2.2 Power Supply...2-7 2.3 Oscillator Sources...2-7 2.4 On-board ressources...2-8
More information80C51 MCUs T89C51AC2. Errata Sheet
Active T89C51AC2 Errata List Flash/EEPROM First Read After Write Disturbed Timer 2 Baud Rate Generator IT When TF2 is Set by Software Timer 2 Baud Rate Generator Long Start Time UART RB8 Lost with JBC
More information256K (32K x 8) 5-volt Only Flash Memory AT29C256
Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Page Program Operation Single Cycle Reprogram (Erase and Program) Internal Address and Data Latches for 64 Bytes Internal Program Control
More information8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier
AVR201: Using the AVR Hardware Multiplier Features 8- and 16-bit Implementations Signed and Unsigned Routines Fractional Signed and Unsigned Multiply Executable Example Programs Introduction The megaavr
More information256K (32K x 8) 5-volt Only Flash Memory AT29C256
Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Page Program Operation Single Cycle Reprogram (Erase and Program) Internal Address and Data Latches for 64 Bytes Internal Program Control
More informationAVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1303: Use and configuration of IR communication module Features IrDA 1.4 compatible for baud rates up to 115.2 Kbit/s Selectable transmitter pulse modulation schemes: - 3/16 of baud rate period - Fixed
More information2-megabit (256K x 8) 5-volt Only Flash Memory AT29C020
Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Sector Program Operation Single Cycle Reprogram (Erase and Program) 1024 Sectors (256 Bytes/Sector) Internal Address and Data Latches for
More informationTwo-Wire Serial EEPROM AT24C164 (1)
Features Low Voltage and Standard Voltage Operation 2.7 (V CC = 2.7V to 5.5V) 1.8 (V CC = 1.8V to 5.5V) Internally Organized 2048 x 8 (16K) Two-Wire Serial Interface Schmitt Trigger, Filtered Inputs for
More information32-bit Secure. AT91SC CT-USB Summary. Microcontrollers. Features
Features General Based on the ARM SC100 SecureCore -bit RISC Processor Two Instruction Sets ARM High-performance -bit Instruction Set Thumb High-code-density 16-bit Instruction Set Von Neumann Load/Store
More informationa clock signal and a bi-directional data signal (SCL, SDA)
Selecting the Best Serial EEPROM Interface Protocol for your Application 1. Introduction Atmel offers Serial Electrically Erasable Programmable Read Only Memories (SEEPROM) to designers wanting to save
More informationAVR based 125kHz RFID Evaluation Kit (Re)Programming Guide ATA2270-EK1. Overview. Fuse Settings: ISP Programming
Overview Atmel encourages the use of this kit to develop a prototype platform for evaluation of the intended application. The source code is included in the CD with the kit, but for the latest revision
More information4-megabit (512K x 8) 3-volt Only 256-byte Sector Flash Memory AT29LV040A
Features Single Voltage, Range 3V to 3.6V Supply 3-volt Only Read and Write Operation Software Protected Programming Fast Read Access Time 150 ns Low Power Dissipation 15 ma Active Current 40 µa CMOS Standby
More informationAVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32752: Using the AVR32 UC3 Static Memory Controller Features Several Types of Access Supported - 8-bit Access Mode - 16-bit Access Mode Software Configurable - Timing Parameters - Initializations 32-bit
More information256 (32K x 8) High-speed Parallel EEPROM AT28HC256N. Features. Description. Pin Configurations
Features Fast Read Access Time 90 ns Automatic Page Write Operation Internal Address and Data Latches for 64 Bytes Internal Control Timer Fast Write Cycle Times Page Write Cycle Time: 3 ms or 10 ms Maximum
More informationAVR1315: Accessing the XMEGA EEPROM. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1315: Accessing the XMEGA EEPROM Features I/O-mapped access Memory-mapped access Split erase and write operations supported Efficient page-oriented access Driver source code included 1 Introduction
More informationGemCore Serial Lite PRO AT83C21GC. Summary
Features Smart Card Interface Compliance with Standards ISO/IEC 7816-1, 2, 3 and 4 EMV 2000 CB Mondex, Proton, ZKA, Other: Contact Gemplus Supported Smart Cards Number of Smart Cards Supported: 1 Asynchronous
More information1-megabit (128K x 8) 5-volt Only Flash Memory AT29C010A
Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Sector Program Operation Single Cycle Reprogram (Erase and Program) 1024 Sectors (128 Bytes/Sector) Internal Address and Data Latches for
More information2-Wire Serial EEPROM AT24C01. Features. Description. Pin Configurations. 1K (128 x 8)
Features Low Voltage and Standard Voltage Operation 2.7 (V CC = 2.7V to 5.5V) 1.8 (V CC = 1.8V to 5.5V) Internally Organized 128 x 8 2-Wire Serial Interface Bidirectional Data Transfer Protocol 100 khz
More information64K (8K x 8) High Speed Parallel EEPROM with Page Write and Software Data Protection AT28HC64BF
Features Fast Read Access Time 70 ns Automatic Page Write Operation Internal Address and Data Latches for 64 Bytes Fast Write Cycle Times Page Write Cycle Time: 2 ms Maximum (Standard) 1 to 64-byte Page
More informationDatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by
DatasheetDirect.com Your dedicated source for free downloadable datasheets. Over one million datasheets Optimized search function Rapid quote option Free unlimited downloads Visit www.datasheetdirect.com
More informationAT85DVK-07 Demonstration Firmware... User s Manual
AT85DVK-07 Demonstration Firmware... User s Manual Section 1 Introduction... 1-1 Section 2 Getting Started... 2-3 2.1 Features...2-3 2.1.1 System...2-3 2.1.2 Audio Player...2-3 2.1.3 USB Device...2-3 2.1.4
More informationTwo-wire Serial EEPROM Smart Card Modules 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8) 16K (2048 x 8)
Features Low-voltage and Standard-voltage Operation, VCC = 2.7V 5.5V Internally Organized 128 x 8 (1K), 256 x 8 (2K), 512 x 8 (4K), 1024 x 8 (8K), or 2048 x 8 (16K) Two-wire Serial Interface Schmitt Trigger,
More informationAT91 ARM Thumb Microcontrollers. Application Note. Using the ECC Controller on AT91SAM9260/9263 and AT91SAM7SE Microcontrollers. 1.
Using the ECC Controller on AT91SAM9260/9263 and AT91SAM7SE Microcontrollers 1. Scope The purpose of this document is to explain how to use the Error Corrected Code (ECC) Controller embedded in the AT91SAM9260/9263
More information512K (64K x 8) 5-volt Only Flash Memory AT49F512
Features Single Voltage Operation 5V Read 5V Reprogramming Fast Read Access Time 55 ns Internal Program Control and Timer 8K Bytes Boot Block With Lockout Fast Erase Cycle Time 10 Seconds Byte-by-byte
More informationProgrammable SLI AT40K AT40KAL AT94K. Application Note. Implementing a Single-coefficient Multiplier
Implementing a Single-coefficient Multiplier Features Theory of Developing a Single-coefficient Multiplier Implementation using an AT40K Series FPGA for an 8-bit Single-coefficient Multiplier Coefficient
More informationhex file. The example described in this application note is written for the AT94K using the FPSLIC Starter Kit. Creating a New Project
Getting Started with C for the Family Using the IAR Compiler Features How to Open a New Project Description of Option Settings Linker Command File Examples Writing and Compiling the C Code How to Load
More information4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040A
Features Single Supply for Read and Write: 2.7 to 3.6V Fast Read Access Time 70 ns Internal Program Control and Timer Sector Architecture One 16K Bytes Boot Block with Programming Lockout Two 8K Bytes
More informationAVR1922: Xplain Board Controller Firmware 8-bit Microcontrollers Application Note Features 1 Introduction
AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,
More informationAT89C51CC03 UART Bootloader
Features Protocol UART Used as Physical Layer Based on the Intel Hex-type s Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write Configuration Bytes
More informationT89C51CC01 CAN Bootloader
Features Protocol CAN Used as a Physical Layer 7 ISP CAN Identifiers Relocatable ISP CAN Identifiers Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write
More information8-megabyte, 4-megabyte, and 2-megabyte 2.7-volt Only DataFlash Cards AT45DCB008D AT45DCB004D AT45DCB002D. Not Recommended for New Design
Features MultiMediaCard (MMC) Form Factor Single 2.7V to 3.6V Supply 66 MHz Max Clock Frequency Serial Peripheral Interface (SPI) Compatible Low Power Dissipation 10 ma Active Read Current Typical 25 µa
More information1-megabit (64K x 16) 3-volt Only Flash Memory AT49BV1024A AT49LV1024A
Features Single-voltage Operation Read/Write Operation: 2.7V to 3.6V (BV). 3.0V to 3.6V(LV) Fast Read Access Time 45 ns Internal Program Control and Timer 8K Word Boot Block with Lockout Fast Erase Cycle
More information64K (8K x 8) Parallel EEPROM with Page Write and Software Data Protection AT28C64B. Features. Description. Pin Configurations
Features Fast Read Access Time 150 ns Automatic Page Write Operation Internal Address and Data Latches for 64 Bytes Fast Write Cycle Times Page Write Cycle Time: 10 ms Maximum (Standard) 2 ms Maximum (Option)
More informationAVR32401: AVR32 AP7 Linux Interfacing DataFlash. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32401: AVR32 AP7 Linux Interfacing DataFlash Features JFFS2 file system Communication through SPI interface 1 Introduction This application note serves as an example of how to connect, set up and use
More information2-wire Serial EEPROM AT24C21. 2-Wire, 1K Serial EEPROM. Features. Description. Not Recommended for New Designs. Pin Configurations.
Features 2-wire Serial Interface Schmitt Trigger, Filtered Inputs For Noise Suppression DDC1 / DDC2 Interface Compliant for Monitor Identification Low-voltage Operation 2.5 (V CC = 2.5V to 5.5V) Internally
More information3-Wire Serial EEPROM AT93C46C
Features Low-Voltage and Standard-Voltage Operation 2.7(V CC =2.7Vto5.5V) 2.5(V CC =2.5Vto5.5V) 3-Wire Serial Interface Schmitt Trigger, Filtered Inputs for Noise Suppression 2MHzClockRate(5V) Self-Timed
More information2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC
Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) Internally Organized 4096 x 8, 8192 x 8 2-wire Serial Interface Schmitt Trigger, Filtered Inputs
More informationAVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller 8-bit Microcontrollers Application Note Prerequisites
AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller Prerequisites Required knowledge Completed AVR1500 XMEGA Basics training Software prerequisites Atmel AVR Studio 4.18 SP2 or later
More information1-megabit (64K x 16) 3-volt Only Flash Memory AT49LV1024 AT49LV1025
Features Single-voltage Operation 3V Read 3.1V Programming Fast Read Access Time 55 ns Internal Program Control and Timer 8K Word Boot Block with Lockout Fast Erase Cycle Time 10 seconds Word-by-Word Programming
More information4-megabit (512K x 8) Flash Memory AT49BV040B
Features Single Supply for Read and Write: 2.7V to 5.5V Fast Read Access Time 70 ns (V CC = 2.7V to 3.6V); 55 ns (V CC = 4.5V to 5.5V) Internal Program Control and Timer Flexible Sector Architecture One
More information2-megabit (256K x 8) 3-volt Only Flash Memory AT29LV020
Features Single Voltage, Range 3V to 3.6V Supply 3-volt Only Read and Write Operation Software Protected Programming Fast Read Access Time - 100 ns Low Power Dissipation 15mAActiveCurrent 40 µa CMOS Standby
More informationFlash Microcontrollers. Application Note. Migrating from AT89C2051/C4051 to AT89LP2052/LP4052
Migrating from AT89C2051/C4051 to AT89LP2052/LP4052 New Features 20 MIPS throughput at 20 MHz Clock Frequency and 2.7V, 85 C Operating Conditions Single Clock Cycle per Byte Fetch Serial Interface for
More information8-bit Microcontroller with 2K/4K/8K Bytes In-System Programmable Flash. Appendix A. Preliminary. ATtiny261 ATtiny461 ATtiny861 Automotive
BDTIC www.bdtic.com/atmel Appendix A - ATtiny261/461/861 Automotive specification at 150 C This document contains information specific to devices operating at temperatures up to 150 C. Only deviations
More information8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler
AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK500 Starter Kit and AVR Studio Debugger Creating a New Project Using
More informationBattery-Voltage. 4-megabit (512K x 8/ 256K x 16) Single 2.7-volt. Flash Memory AT49BV4096A AT49LV4096A
Features Single-voltage Read/Write Operation: 2.7V to 3.6V (BV), 3.0V to 3.6V (LV) Fast Read Access Time 70 ns Internal Erase/Program Control Sector Architecture One 8K Word (16K Bytes) Boot Block with
More informationARM7TDMI - based Microcontroller AT91RM3400. Errata Sheet
Errata AC Characteristics PLL Frequency Limitation (30) Boot ROM Boot Uploader: SRAM Download Limitation (29) MultiMedia Card Interface Data Endianess is Inverted from MCI to MMC or SD Card (28) Timer/Counter
More informationAT91SAM-ICE... User Guide
AT91SAM-ICE... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Overview...1-1 1.2 Requirements...1-2 Section 2 Hardware... 2-1 2.1 JTAG Connector...2-1 2.2 Debugging Multiple ARM Cores
More informationCryptoRF EEPROM Memory 8 Kbits
Features One of a Family of Devices with User Memory of 1 Kbit to 64 Kbits Contactless 13.56 MHz RF Communications Interface ISO/IEC 14443-2:2001 Type B Compliant ISO/IEC 14443-3:2001 Type B Compliant
More information1-megabit (64K x 16) 5-volt Only Flash Memory AT49F1024 AT49F1025
Features Single-voltage Operation 5V Read 5V Reprogramming Fast Read Access Time 35 ns Internal Program Control and Timer 8K Word Boot Block with Lockout Fast Erase Cycle Time 10 seconds Word-by-word Programming
More information512K (64K x 8) 5-volt Only Flash Memory AT29C512
Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Sector Program Operation Single Cycle Reprogram (Erase and Program) 512 Sectors (128 Bytes/Sector) Internal Address and Data Latches for 128
More informationT89C51CC02 CAN Bootloader
Features Protocol CAN Used as a Physical Layer 7 ISP CAN Identifiers Relocatable ISP CAN Identifiers Autobaud In-System Programming Read/Write Flash and EEPROM Memory Read Device ID Full-chip Erase Read/Write
More informationDIP Top View VCC A12 A14 A13 A6 A5 A4 A3 A2 A1 A0 A8 A9 A11 A10 I/O7 I/O6 I/O0 I/O1 I/O2 I/O5 I/O4 I/O3 GND. TSOP Top View Type 1 A11 A9 A8 A13 A14
Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Page Program Operation Single Cycle Reprogram (Erase and Program) Internal Address and Data Latches for 64 Bytes Internal Program Control
More information8-bit Microcontroller. Application Note. AVR032: Linker Command Files for the IAR ICCA90 Compiler
AVR032: Linker Command Files for the IAR ICCA90 Compiler Features XLINK Commands Segment Explanation and Location Linker File Examples for: AT90S2313 AT90S8515 AT90S8515 with External RAM and Memory Mapped
More informationATA2270-EK1. User Guide
ATA2270-EK1... User Guide 1-2 ATA2270-EK1 User Guide Table of Contents Section 1 1.1 System Requirements... 1-1 1.2 Command Format... 1-2 1.2.1 Command Format (PC to Reader)... 1-2 1.3 Reader System Commands...
More informationDIP Top View A18 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND VCC A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3 VCC A18 A17
Features Single-voltage Operation 5V Read 5V Reprogramming Fast Read Access Time 55 ns Internal Program Control and Timer 16-Kbyte Boot Block with Lockout Fast Erase Cycle Time 10 seconds Byte-by-byte
More information4-megabit (512K x 8) 5-volt Only 256-byte Sector Flash Memory AT29C040A
Features Fast Read Access Time 90 ns 5-volt Only Reprogramming Sector Program Operation Single Cycle Reprogram (Erase and Program) 2048 Sectors (256 Bytes/Sector) Internal Address and Data Latches for
More information4-megabit 3.0-volt Only or 2.7-volt Only Serial Firmware DataFlash AT26DF041
Features Single 30V - 36V or 27V - 36V Supply Serial Peripheral Interface (SPI) Compatible 33 MHz Max Clock Frequency Byte Program Operation Page Program Operation 2048 Pages (256 Bytes/Page) Main Memory
More information1-megabit (128K x 8) 5-volt Only Flash Memory AT49F001A AT49F001AN AT49F001AT AT49F001ANT. Features. Description. Pin Configurations
Features Single-voltage Operation 5V Read 5V Reprogramming Fast Read Access Time 45 ns Internal Program Control and Timer Sector Architecture One 16K Bytes Boot Block with Programming Lockout Two 8K Bytes
More information