Hi Drasko > Just for the curiosity, n patch 1 : > + /* mips32_pracc_fastdata_xfer requires uint32_t in host endianness, */ > + /* but byte array represents target endianness */ > > Where does this comment comes from ? Pure experience ? Can you back it up ?
"mips32_pracc_fastdata_xfer requires uint32_t in host endianness" Since my previous patches make EJTAG host endianness save, all input/output data has to be in host endianness. "but byte array represents target endianness" This patch make sure, that hosts byte array is always in target endian order. Everything else is based on pure experience :-) As I already mentioned before, someone should test if the DMA transfer modes are still working. > Which target did you use LE or BE, or both ? I use BE and LE host and mostly BE target (Lantiq, EASY 50712 DANUBE). EASY 50712 can also configured as little endian. Talking to Debug Unit is tested in this LE mode, e.g. loading and dumping data and setting breakpoints. Since I have no LE software I can't test it in detail. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development