some newbie questions

sebastian ssmoller sebastian.ssmoller at gmx.net
Wed Feb 18 15:39:50 UTC 2004


hi,
i finally managed to download the hello.exe (as srec file) to my board.
usually now i would do "ca <addr>" to start the app. 

using the linkcmds script i mapped the .text section to 0x10000 which
seemed to work.

S01700006F2D6F7074696D697A652F68656C6C6F2E65786528
S214010000FFC004000001041C0001040000010400FC
S21401001000010400000104000001040000010400C6

now, after having successfully downloaded the file, i expected to call
 0x10000 to start the app but nothing happens - the board immediately
hangs :(

i guess 0x10000 is not the correct entry point. i looked into the
start.S file and found a symbol named _CopyDataClearBSSAndStart (?)

How would i find out the correct entry point (jump addr) ?


thx
regards,
seb



(...)

> > > 
> > > 
> > >>sebastian ssmoller wrote:
> > >>
> > >>>hi,
> > >>>the hints u gave me so far helped me a lot. the last two days i
> > >read
> > >>>some more docs about rtems and managed to build the hello world
> > >>>sample
> > >>>for pc386 and boot it via grub :)
> > >>>
> > >>>then i build the hello world for gen68360 and tried to start it on
> > >>>an ip
> > >>>460 developer board (68040 + 68360). unfortunately i wasnt able to
> > >>>load
> > >>>the file (s-record file) over the serial line :(
> > >>>
> > >>>usually i would connect to the board (ip460mon) via terminal prog,
> > >>>use
> > >>>the "lo" command to download the s19 file and run "ca" to start the
> > >>>prog. when i try "lo" with the hello world app nothing happens. i
> > >>>mean:
> > >>>i send the file and when finished the board usually answers "what
> > >?"
> > >>>but
> > >>>it doesnt. i waited some minutes (10 min for 260k over 34800).
> > >>>
> > >>>the only thing i found out so far is that usually the srec file has
> > >>>s1
> > >>>records (generated with introl code compiler) but the rtems objcopy
> > >>>output has s2 records. i dont know whether it does matter (?)
> > >>>
> > >>>i would expect that even if the output format is not correct the
> > >>>download should just finish and possibly the "ca" would fail (?)
> > >>>
> > >>>does anyone have any ideas ?
> > >>>
> > >>>thx again
> > >>>regards,
> > >>>seb
> > >>
> > > 
> > > 
> > 
> > 
> > -- 
> > Joel Sherrill, Ph.D.             Director of Research & Development
> > joel at OARcorp.com                 On-Line Applications Research
> > Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> > Support Available                (256) 722-9985
> > 
> 
> 



More information about the users mailing list