|
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
|