Re: [Openocd-development] Adding M0 support

2011-06-11 Thread Kevin Kiningham
rd to avoid duplicating everything. However, there are a couple of parts where it would be unavoidable, specificly the Thumb assembly functions. There are also are some more sutle differences (reset handleing, registers, tracing support, interrupts) but none of them are too dramatic. Thanks,

[Openocd-development] Adding M0 support

2011-06-09 Thread Kevin Kiningham
le of changes to the reset and interrupt code. Unfortunately, I'm not terribly familiar with the openocd source, so I'm sure that what I've written so far will have to be improved. The code (at least for my purposes) does work quite well however, so hopefully any bugs will be mi

[Openocd-development] bugfix for adapter_khz_to_speed

2011-05-25 Thread Kevin Kiningham
adapter_khz_to_speed wasn't changing the speed variable passed to it if the jtag interface wasn't set up. Otherwise, if adapter_khz was called before openocd was done initializing, openocd would report a speed different than it was actually outputting. Tested on SAM3s_ek board with an olimex-arm-u