Cannot download my application to beagleboard

Hi there,

First post in this list. I have a problem and I hope you can help me.
I want to download my application to the beagleboard. My application
is 108K in size. I use minicom + ymodem transfer to do download the
binary to the beagleboard. However, the memory always appear to
contain garbages and not the actual problem. My program is compiled
with -Ttext 0x80e00000 but I also tried with 8c000000 or 81000000 or
any other combination that seems valid for the 0x80000000 - 0x8fffffff
ram space. Can you please give me some hints on what is going on?

For example, if I compile it with 0x80e00000, here is what I get

OMAP3 beagleboard.org # loady
0x80e00000
## Ready for binary (ymodem) download to 0x80E00000 at 115200
bps...
CC mode, 1059(SOH)/0(STX)/0(CAN) packets, 6
retries
## Total Size = 0x00021056 = 135254
Bytes
OMAP3 beagleboard.org # md
0x80e00000
80e00000: 464c457f 61010101 00000000
00000000 .ELF...a........
80e00010: 00280002 00000001 80e85a10 00000034 ..(......Z..
4...
80e00020: 0001e198 00000002 00200034 00280001 ........4. ...
(.
80e00030: 00100013 00000001 00008000
80e80000 ................
80e00040: 80e80000 00006f58 0000d0fc
00000007 ....Xo..........
80e00050: 00008000 00000000 00000000
00000000 ................
80e00060: 00000000 00000000 00000000
00000000 ................
80e00070: 00000000 00000000 00000000
00000000 ................
80e00080: 00000000 00000000 00000000
00000000 ................
80e00090: 00000000 00000000 00000000
00000000 ................
80e000a0: 00000000 00000000 00000000
00000000 ................
80e000b0: 00000000 00000000 00000000
00000000 ................
80e000c0: 00000000 00000000 00000000
00000000 ................
80e000d0: 00000000 00000000 00000000
00000000 ................
80e000e0: 00000000 00000000 00000000
00000000 ................
80e000f0: 00000000 00000000 00000000
00000000 ................
OMAP3 beagleboard.org #

Hi there,

First post in this list. I have a problem and I hope you can help me.
I want to download my application to the beagleboard. My application
is 108K in size. I use minicom + ymodem transfer to do download the
binary to the beagleboard. However, the memory always appear to
contain garbages and not the actual problem. My program is compiled
with -Ttext 0x80e00000 but I also tried with 8c000000 or 81000000 or
any other combination that seems valid for the 0x80000000 - 0x8fffffff
ram space. Can you please give me some hints on what is going on?

For example, if I compile it with 0x80e00000, here is what I get

OMAP3 beagleboard.org # loady
0x80e00000
## Ready for binary (ymodem) download to 0x80E00000 at 115200
bps...

Notice that 'loady' only reads binary data - you've given it an ELF executable.

What sort of program is this? Using U-Boot + loady implies that the code you
download is completely stand-alone, like a Linux kernel, not some arbitrary
program.

I think you are right. This is because I am trying to download an .elf
file instead of a raw binary one. Thank you.

ps: Yes the application is a standalone application just to play with
the leds and stuff