This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: loading application on redboot


Hi Satish,

(gdb) target remote com1
com1: Permission denied.

This was happening becuase you had GDB open the same port locked by Hyperterminal. On Hyperterminal "Disconnect" before typing ?target remote com1" on GDB. <I guess someone else also explained the same>. And you can "Connect" back on Hyperterminal after GDB connection is closed.


RAM: 0x00000000-0x04000000, 0x00004948-0x04000000 available
RedBoot> load -v -m yMODEM
CCCCCCCCC           Can't load '<null>': Timed out

Terminal method: -------------------- Try this ->

load -r -m xmodem -b 0x40000

& select "Transfer" >> "Send File" >> browse to the target file (binary only, you cannot send elf images like this -- hello.bin) & send the file with XMODEM. --- Same things can be done from minicom also
If you see the ?C?s go very fast (faster than on C per 3 or 4 seconds) then you have to fix your delay_us routine.


After download is done, issue this command in Redboot ->

go 0x40040


You may have to use different addresses for load & go.


Cheers,
-Mike.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]