Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: AT91SAM9G45 boot ROM
PostPosted: Tue Jun 21, 2011 2:31 pm 
Offline

Joined: Mon May 23, 2011 4:33 pm
Posts: 2
Hi all,

I'm struggling getting some test code in to a G45 (well, actually a M10) on a AT91SAM9M10-G45-EK board via an SD card.

I have disabled all the boot devices (NAND flash, data flash) so I believe the boot ROM will check the SD card for file boot.bin. The SD card does contain the file.

The code is based on the AT91 Bootstrap project, all I've done is added some GPIO initialisation code to drive the LEDs and then a tight loop alternating the LED values so it never exits - I don't want to boot anything at the moment, just prove my code is being loaded. I also enabled the debug messages. All this is in main.c.

I see a stream of clock pulses on the SD card but the board ends up running SAMBA so I can only assume the boot ROM didn't like my boot.bin. And of course no LEDs change, no debug messages are output on the DBGU port.

Happy to post code/configs etc but don't want to go overboard in first post!

Any ideas?

Thanks in advance for your help!

Cheers
John


Top
 Profile  
 
 Post subject: Re: AT91SAM9G45 boot ROM
PostPosted: Tue Jun 21, 2011 2:57 pm 
Offline

Joined: Mon May 23, 2011 4:33 pm
Posts: 2
I can't believe it, after days of struggling with it, and half an hour after posting for help, I fixed it!

Turns out the file on the SD card has to have its name in upper case, ie BOOT.BIN, even thought the Atmel literature always puts it in lower case.

I can't remember the last time I was so happy to see a LED light up... must get out more.

Cheers
John


Top
 Profile  
 
 Post subject: Re: AT91SAM9G45 boot ROM
PostPosted: Wed Jun 22, 2011 4:24 am 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
>>Turns out the file on the SD card has to have its name in upper case, ie BOOT.BIN, even thought the Atmel literature always puts it in lower case.

Probably saving you from a bunch of Microsoft Patent grief though.


Top
 Profile  
 
 Post subject: Re: AT91SAM9G45 boot ROM
PostPosted: Thu Sep 01, 2011 8:16 am 
Offline

Joined: Wed Jun 22, 2011 5:58 am
Posts: 2
I have format SD card with FAT16, copy at91bootstrap3.0.bin to SD card and rename it with BOOT.BIN, but get nothing??


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron