|
|||||||||||
|
Technical Support Support Resources
Product Information |
µVISION DEBUGGER: Flashing Atmel AT91 Devices to XRAMInformation in this article applies to:
QUESTIONI'm having problems loading a program into the XRAM of the Atmel EB55 Evaluation Board (Atmel AT91 Series). Does the Atmel AT91 series have any special requirements for downloading to XRAM? ANSWERYes. The Atmel AT91 devices require a REMAP command in the user-startup code to access the on-board XRAM memory. Without the REMAP command, only the internal RAM and onboard FLASH can be addressed. The Keil ARM installation contains the proper startup code in the ARM\xxx\Startup\Atmel folder. You can copy the startup code Startup.s from this location to your project folder. You also require a Linker Script (.ld) file and a debugger (.ini) file to setup the device for loading to XRAM. The phyCORE XRAM target in the Blinky project Boards\Phytec\AT91M55800A\Blinky is a good example of how to do this. It contains:
The Blinky program downloads to and runs in XRAM. Copy the Startup.s, phyXRAM.ld, and XRAM.ini files from the Boards\Phytec\AT91M55800A\Blinky folder to your project folder. Add the phyXRAM.ld as your Linker Script File, and the XRAM.ini as your debug Initialization File. You may have to change the Code Size and Data Size values in the phyXRAM.ld file to suit your code and data requirements. SEE ALSOLast Reviewed: Monday, January 11, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.