поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AT90USB82 датащи(PDF) 16 Page - ATMEL Corporation

номер детали AT90USB82
подробное описание детали  USB DFU Bootloader
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT90USB82 датащи(HTML) 16 Page - ATMEL Corporation

Back Button AT90USB82 Datasheet HTML 12Page - ATMEL Corporation AT90USB82 Datasheet HTML 13Page - ATMEL Corporation AT90USB82 Datasheet HTML 14Page - ATMEL Corporation AT90USB82 Datasheet HTML 15Page - ATMEL Corporation AT90USB82 Datasheet HTML 16Page - ATMEL Corporation AT90USB82 Datasheet HTML 17Page - ATMEL Corporation AT90USB82 Datasheet HTML 18Page - ATMEL Corporation AT90USB82 Datasheet HTML 19Page - ATMEL Corporation AT90USB82 Datasheet HTML 20Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 28 page
background image
16
7618C–AVR–07/08
The API are located at absolute addresses in the USB bootloader firmware and accept specific
registers values as parameters. These parameters are compatible with a C compiler calling con-
vention and thus can be called directly with function pointer declared as in the example below:
The full assembly code for the flash API drivers is given in “Appendix-B” on page 20.
C Code Example
#if (FLASH_END==0x1FFFF) //128K bytes parts
#define
LAST_BOOT_ENTRY
0xFFFE
#elif (FLASH_END==0xFFFF)//64K bytes parts
#define
LAST_BOOT_ENTRY
0x7FFE
#else
#error You must define FLASH_END in bytes.
#endif
// These functions pointers are used to call functions entry points in bootloader
void (*boot_flash_page_erase_and_write)(unsigned long adr)=(void (*)(unsigned
long))(LAST_BOOT_ENTRY-12);
U8 (*boot_flash_read_sig) (unsigned long adr)=(U8 (*)(unsigned
long))(LAST_BOOT_ENTRY-10);
U8 (*boot_flash_read_fuse) (unsigned long adr)=(U8 (*)(unsigned
long))(LAST_BOOT_ENTRY-8);
void (*boot_flash_fill_temp_buffer) (unsigned int data,unsigned int adr)=(void
(*)(unsigned int, unsigned int))(LAST_BOOT_ENTRY-6);
void (*boot_flash_prg_page) (unsigned long adr)=(void (*)(unsigned
long))(LAST_BOOT_ENTRY-4);
void (*boot_flash_page_erase) (unsigned long adr)=(void (*)(unsigned
long))(LAST_BOOT_ENTRY-2);
void (*boot_lock_wr_bits) (unsigned char val)=(void (*)(unsigned
char))(LAST_BOOT_ENTRY);
// This function writes 0x55AA @ 0x1200 in the on-flash calling flash drivers located
in USB bootloader
void basic_flash_access(void)
{
unsigned long address;
unsigned int temp16;
temp16=0x55AA;
address=0x12000;
(*boot_flash_fill_temp_buffer)(temp16,address);
(*boot_flash_page_erase)(address);
(*boot_flash_prg_page)(address);
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com