
Lee Nipper wrote:
On Wed, 2007-06-13 at 16:47, Arun Biyani wrote:
On my Linux host, [examples$:1010] m68k-elf-nm hello_world 00020208 T app_startup
Perhaps 20208 (app_startup) might be worth trying as an entry point...
-> go 0x00020000
As in:
-> go 20208
Maybe app_startup is a wrapper for main. Just a guess.
Often times systems have entry points like _start, etc which set things up and then jump to main.
-Lee
Thx, Lee. Still didn't work. Transcript below. At least a graceful exit.
How do I ensure there is enough stack space to run applications?
-> loads ## Ready for S-Record download ...
## First Load Addr = 0x00020000 ## Last Load Addr = 0x000222F7 ## Total Size = 0x000022F8 = 8952 Bytes ## Start Addr = 0x00020000 -> go 20208 ## Starting application at 0x00020208 ... ## Application terminated, rc = 0xFF8454 -> go 20208 Hello there try this ## Starting application at 0x00020208 ... ## Application terminated, rc = 0xFF8454 ->