Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | AT91SAM ARM | Running apps from NAND,SDRAM and DataFlash/Boot App Development


Advertise Here

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

Running apps from NAND,SDRAM and DataFlash/Boot App Development - terr...@hotmail.com - Jun 4 14:28:27 2009

I have written an app that flashes the LEDs on an AT91SAM9261-EK. To start the app, I use SAM-BA, enable SDRAM, upload to 0x2000 0000, and type GO 0x2000 0000. It runs.

Before writting a BOOT app, which looks really complicated, I want to practice running applications in different types of memory on the EK.

I started with DataFlash. Using SAM-BA again, I enable the DataFlash, upload my app to address 0x0. Then I check my app arrived ok by using the "Compare sent file with memory" button, and then reading memory at 0x20002810 in the MemoryDisplay panel, and there is my app, or at least the first few bytes of it. I type GO 0x20002810, and nothing happens.

(I notice if I don't use the "Compare..." button my app does not show up in the MemoryDisplay panel. It's as if "Compare..." is moving the app around?)

After DataFlash, I did a similar thing with NAND flash, which turns up at 0x2000 47f0. That didn't run either.

For the NAND flash I compiled with the norflash.lds, and used sdram.lds for DataFlash and sdram.

How can I run apps on these different types of memory?
------------------------------------

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )