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


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.

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


HTH,


b.g.
-- 
Bill Gatliff
Embedded systems and Free Software.  Yea, it *is* all that!
See http://billgatliff.com for details.

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