On 19/07/2012 7:40 PM, Andreas Fritiofson wrote: > On Thu, Jul 19, 2012 at 10:56 AM, Freddie Chopin <freddie_cho...@op.pl> wrote: >> W dniu 2012-07-19 10:10, Andreas Fritiofson pisze: >> >>> This should work with the changes I posted in a comment to patch set >>> 7, which seems to match with what Andrew modified luminary.cfg to. >> >> So this file should have 2 lines changed to: >> >> ftdi_layout_init 0x00a8 0x00eb >> ftdi_layout_signal nSRST -noe 0x0020 >> >> And we can consider it verified/tested? Peter - does it match with what >> you've found? >> >>
I've done some more testing today; ftdi_layout_init 0x0088 0x00cb (as currently in gerrit) works fine also, so just the ftdi_layout_signal line needs changing on luminary-icdi.cfg for me. However, initially I couldn't make it work, even with the same settings as yesterday. I use eclipse/gdb, and for testing I just had this custom openocd running in a command prompt. When I started debugging (gdb) I got spammed with "undefined debug reason 6 - target needs reset" and about 20 lines of "Error: Target not halted" in the openocd window, and gdb failed. I've found simply adding an extra 'halt' after 'init' makes it work fine every time, even though I have 'reset and halt: 2 seconds" set in eclipse which worked fine on the old ftdi driver. So a little difference there, although not difficult to fix. Andrew ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel