W dniu 2012-07-20 03:20, Andrew Leech pisze: > 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.
The first value 0xa8 makes the SRST signal initially deasserted (Hi-Z), as it disables the buffer which drivers SRST line, so I guess it's better to have it as 0xa8. The second one (direction value) is essential, because it actually makes the reset OE line (ADBUS5, so (1 << 5)) output - without it the reset probably won't work... > 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. Does the checkbox for "reset and halt" even work? It never worked for me - I always added "monitor reset init" in the text box below (initialization commands). 4\/3!! ------------------------------------------------------------------------------ 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