some newbie questions

sebastian ssmoller sebastian.ssmoller at gmx.net
Mon Feb 16 21:00:19 UTC 2004


> > 
> >>Seb,
> >>I don't know too much about the ip450mon and the "lo" command;
> >>however,
> >>if it just dies, then it sounds like the srecord may be pointing to 
> >>space that is used by the monitor itself, and the download is
> >>corrupting
> >>RAM that is owned/used by the monitor in runtime.
> >>Is it possible that you have a conflict between the monitor and app
> >>memory maps?
> >>Ed
> > 
> > 
> > this could be possible. unfortunately i am still a beginner just
> > learning all that stuff about embedded programming and how the
> > compiler/linker works under the hood :)
> > 
> > what i know so far is that when we built our project/app with introl
> > code it generated the s19 in that way that the start address (used
> > by
> > the "ca" command) was mapped to 700. i read in the docs that the
> > memory
> > below 700 is used for internals (register memory maps, ...).
> > 
> > so in our linker command file we have something like this:
> > group ROM rom itemalign 2 origin 0x0700 maxsize 0x10000-0x0700;
> > 
> > i looked into the linkcmd files of the gen68360 bsp but havnt found
> > something like that. do i have to integrate this info into the
> > "build
> > process" or does rtems already do it (implicitly by choosing the
> > correct bsp) ? how would i do that ?
> 
> The linkcmds for the gen68360 BSP will have to be modified to
> know about this.  It is logically the same thing as with the introl
> tools but the syntax is different.  You have to make sure your
> executable code and variable data ends up at certain  address
> locations.
> 

thx. i guess i will have to read some docs about gcc linker command
files and then i will try this way.

regards,
seb

> > 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
> 


-- 
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
OpenBSD: Hey guys you left some holes out there!



More information about the users mailing list