| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AVR32795 bảng dữ liệu(PDF) 11 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32795 bảng dữ liệu(HTML) 11 Page - ATMEL Corporation |
|
11 / 22 page ![]() AVR32795 11 32158A-AVR-01/11 6.1.2 Related examples in the software framework • drivers/flashc/flash_example/: Controlling the location of a variable in flash • drivers/cpu/mpu/example/: Controlling the location of a function in flash 6.2 Controlling the location of functions in internal RAM 6.2.1 Process flow A. Define a custom output section, .ram_fcts, with VMA in RAM and LMA in flash: .ram_fcts : { *(.ram_fcts.*) } >INTRAM AT>FLASH :FLASH B. Locate a function in a custom section, .ram_fcts: Extensions to the C language family: o Declaring attributes of functions __attribute__ ((__section__(".ram_fcts"))) void Func(void) {…} C. The startup routine is responsible for copying the .ram_fcts LMA (in flash) to the .ram_fcts VMA (in INTRAM), as is done for the .data section. 6.2.2 Related examples Examples of a startup routine implementation can be found in the AVR Software Framework under utils/startup_files/gcc/ in ASF v1 and under utils/startup/startup_uc3.S in ASF v2. An example using the same method can be found here: AVR32749 Application note: Software Workaround Implementation for the Erratum Flash Read-after-Write for AT32UC3A0512 / AT32UC3A1512 Revision E, H and I. Include all input sections .ram_fcts Assign a section to a previously defined segment (cf PHDRS command) Specify a memory region for the .text section LMA Assign this section’s VMA to the INTRAM region of memory (defined in MEMORY{ }) |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| 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 |