Re: [OpenOCD-devel] Attention with stlink_usb_write_mem8()

2012-01-17 Thread Mathias K.
This is done in the target implementation already. On 17.01.2012 22:21, Uwe Bonnes wrote: > Hello, > > at least for github/stlink a call to the equivalent function to > src/jtag/drivers/stlink_usb.c:stlink_usb_write_mem8() > with more than 64 bytes resulted in strange side effects. > I propose yo

[OpenOCD-devel] Attention with stlink_usb_write_mem8()

2012-01-17 Thread Uwe Bonnes
Hello, at least for github/stlink a call to the equivalent function to src/jtag/drivers/stlink_usb.c:stlink_usb_write_mem8() with more than 64 bytes resulted in strange side effects. I propose you check for the size and act appropriate. Bye -- Uwe Bonnesb...@elektron.ikp.physik.t