|
From: Spencer O. <sp...@sp...> - 2013-03-26 12:49:33
|
On 26 March 2013 12:21, Karl Hammar <ka...@as...> wrote: >> that looks fine. >> The next step is to enable debug log, so add -d3 to the OpenOCD args. > > $ cat olimex.cfg > source [find interface/olimex-arm-usb-ocd-h.cfg] > source [find target/stm32f1x.cfg] > > init > reset init > stm32f1x mass_erase 0 > flash write_image hasselby_feig.hex > reset > shutdown > $ cat pp.cfg > interface parport > parport_port 0 > parport_cable aspo > reset_config trst_and_srst > #adapter_khz 500 > parport_write_on_exit on > source [find target/stm32f1x.cfg] > > init > reset init > stm32f1x mass_erase 0 > flash write_image hasselby_feig.hex > reset > shutdown > $ > > Running openocd -f pp.cfg works fine. > strange, does the new ftdi driver work ? It requires libusb-1.0 or libusbx build with --enable-ftdi and slight tweak of your config - note the added ftdi in the path. source [find interface/ftdi/olimex-arm-usb-ocd-h.cfg] I will run a check to see if it is working for me with your setup. Spen |