On Thursday 16 July 2009, Spencer Oliver wrote: > > Infact looking at the new implementation it is broken.
Hmmm, interesting. Of course, that's why I sent the patch around first for testing and comments ... :) > I have just tried to change CONTROL[0] using reg 20 0x1000000, it fails. > The cause is the array issue i mentioned earlier, this is working in the > previous code. > > The read is done in the function cortex_m3_load_core_reg_u32 and num will > only ever be 20. > Before it would pass either 19, 20, 21 and 22 depending on what byte you > wanted to read. > > I have attached a patch showing some unused code. I don't know how I overlooked that. I guess I'll have an update coming along in a while ... _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
