Pete Dudley

EP8248 Startup Code - Where is it?

Discussion created by Pete Dudley on Mar 6, 2006
Latest reply on Mar 6, 2006 by Pete Dudley
Hello
 
I have just started working with the Codewarrior tools on an EP8248 development board. When I create a new project the project wizard lets me select that board and it generates startup code for me automatically. That's great because it would take me a long long time to figure out how to just initialize the SDRAM.
 
On my project, however, we will be designing new custom hardware so I might need to change the startup code. Unfortunately Codewarrior seems to compile the startup code into a library where I cannot see the source.
 
I can see the reset exception code in eppc_exception.asm and that branches to __reset() in ep8248_init.c but that routine branches to __start() and I cannot find the source for __start() anywhere.
 
It's really nice that CW generates the startup code for this eval board but I also want to see the source. Can I find this source anywhere in the distribution?
 
Please advise.
 
 Pedro1

Outcomes