Atmel website | ARM Community | Technical Support
Banner
Welcome to AT91SAM Community Forum
http://www.at91.com/samphpbb/

I copied my app to the DataFlash but it don't run! (9261)
http://www.at91.com/samphpbb/viewtopic.php?f=9&t=18184
Page 1 of 1

Author:  Richard Salmon [ Sun May 31, 2009 10:31 am ]
Post subject:  I copied my app to the DataFlash but it don't run! (9261)

I have an AT91SAM9261-EK.

I have compiled the startup project that makes lights flash and debugs to the serial port. Using SAM-BA, I enabled SDRAM, uploaded my SDRAM bin into SDRAM at 0x20000000, and typed go 0x20000000, and the app starts.

Now I want it to start automatically:

1) I close jumper J21 on 1-2 for DataFlash access
2) enable DataFlash on SPI0 CSO
3) send boot file (dataflash_at91sam9261ek.bin from the at91-bootstrap CD) to DataFlash
4) upload my NORFLASH bin to DataFlash address 0x8400
5) close SAM-BA, press RESET, the terminal pops up with RomBoot, the EK is no longer recognized, nothing else happens.

I think the EK is no longer recognized because my boot file is got to before SAM-BOOT starts.

Why doesn't my app start?

Thanks for taking the time to read this sub-newbie question.

Author:  Richard Salmon [ Tue Jun 09, 2009 2:06 pm ]
Post subject:  Re: I copied my app to the DataFlash but it don't run! (9261)

It's OK - I worked it out.

Author:  nathari85 [ Thu Mar 18, 2010 9:30 pm ]
Post subject:  Re: I copied my app to the DataFlash but it don't run! (9261)

hi there im having same problem. When i enable sdram and send .bin file to addr:0x20000 and reset... but nothing happen.... pls guide me... thank you

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/