This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Help! gdb-stub sh2-704x


On Wednesday 25 September 2002 18:14, William A. Gatliff wrote:
> Fabio:
> > I Bill. I'm tring to use your gdb-stub for sh-2 704x, but when I try
> > to load a file in ram of my board, sometime I can see the file isn't
> > correctly stored in.  Could it be a problem connected to me 8-bit
> > ram and the related bus speed?
>
> The SH2's BSC can do eight bit memory no problem.  So yes, I'd
> double-check that your bus speed and wait states are right.
>
> Make sure you have the latest sh2 stub.  Seems like I recall a minor
> glitch in the code that realigns memory accesses, where a particular
> combination of access requests could cause it to do the wrong thing.

RE: It seems properly a glitch problem.

>
> Finally, keep in mind that the standard sh2 stub doesn't do anything
> with peripheral configuration.  To make things portable, I leave that
> to a .gdbinit file.  It could simply be that you haven't turned
> external memory on...

RE: I see; but I tried to modify gdb-stub and to set BSC using .gdbinit but 
I have the same results. External ram works properly with the same setting 
and another software (a my own simple loader);

What is the latest version?
Could it be good the sourceforge CVS?

thanks and regards.

>
>
> HTH,
>
>
> b.g.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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