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  [ 1 post ] 
Author Message
 Post subject: softpack-1.4-at91sam9261-ek-web - SDRAM Init - Debuging
PostPosted: Wed Sep 24, 2008 9:43 pm 
Offline

Joined: Wed Sep 24, 2008 8:59 pm
Posts: 4
I'm pretty new to this, however, in the latest "getting-started-project-1.4-at91sam9261-ek.zip", on the ATMEL website, there is no "init_sdram.gdb". In the project I do see a "sdram.lds" file, and a "extern void BOARD_ConfigureSdram(void);" function, both located in the AT91Lib folder. Is there an alternate method that I use with the newest tutorials to initialize SDRam, specifically, when I am debugging with SAM-ICE?

--Tools I'm Using--
AT91SAM9261-EK
AT91-ISP 1.12 w/ SAM-BA 2.8
JLink 3.90d
SAM-ICE v6.0
Latest YAGARTO/Tools
Latest Eclipse & Zylin Updates

I am able to run the "getting-started-project-1.4" with the above tools (SRAM/SDRAM/USB/JLink(SAM-ICE)). I am also able to debug it with SAM-ICE taking the "init_sdram.gdb" file from the "at91sam9261_getting_started_1.0.zip" project.

Interesting Side Note: I'm able to Run the "at91sam9261_getting_started_1.0" project with AT91-ISP 1.11 as much as I want (restarting and starting it back up). With AT91-ISP 1.12 I'm usually only able to run the project once (iffy) and after that the project simply turns both LED's on (they don't blink) when I try to restart the project. The "getting-started-project-1.4-at91sam9261-ek.zip" works fine with AT91-ISP 1.12 (restarting and starting it back up). If I remember correctly the "Rev 1.4" didn't work well with AT91-ISP 1.11. Since the newest versions all work fine together, I have no problem with it, however, it did create some confusion for me at first ;)

--Conclusion--
I'm wondering if there is a way to have my program initialize the SDRam automatically when it starts, using the "at91Lib" functions/files much like how SAM-BA auto-initializes the SDRam when it loads, when debugging with Eclipse/SAM-ICE? Or am I forced to use the "init_sdram.gdb" in the "Debug Configurations > 'Run' Command" section?

Also, if the "init_sdram.gdb" is the only way to do it with SAM-ICE/Eclipse, then does anyone have the "Getting Started Rev 1.1/1.2/1.3"? I'd like to use the latest version of the "init_sdram.gdb" if possible, and unable to find anything other than the 1.0 and 1.4 on the ATMEL site.

Thank you, I've only been using this board for about a week, so I apologies if this is a very basic question.


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

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: