Hi all,
I have few questions regarding MIPS and endianess :

1) In openocd/src/target/mips_m4k.c we can see that target endianess
is checked and treated only mips_m4k_bulk_write_memory() in  and not
mips_m4k_write_memory() and mips_m4k_read_memory(). Why is this so ?
(It leads to wrong SDRAM setup, as mww and mdw commands make no sense
in my case, because mips_m4k_write_memory() is called and my taget is
big endian).

2) When is mips_m4k_bulk_write_memory() actually called ? Obviously
from my tests - not always. I can see it called when I am trying to
load bigger files into SDRAM, but for smaller directly
mips_m4k_write_memory() is called (and thus endianess is never
treated). How does this fast_write actually works in MIPS case ?

3) Can we conclude based on this that big endian targets for MIMPS are
not supported in the current OpenOCD implementation ? Did anyone had
sucess running OpenOCD eith big endian target and how is it done in
this case, having in mind problems I pointed out.

Best regards,
Drasko
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to