On 19 September 2013 16:42, Thomas Schmid <thomas.sch...@gmail.com> wrote:
> No luck over here with this command. The Reset line doesn't move.
>
> Does the command have to be at a specific place in the configuation (e.g.
> before we include the kl25.cfg file)?
>
> Spencer: which programmer are you using? I use the Keil bootloader included
> in the app note 232 for the FRDM board (usb id c251:f002).
>

I was using that but have moved over to the mbed CMSIS-DAP driver.
Until I add support correctly try adding the following patch, it will
assert srst before connecting.

--- a/src/jtag/drivers/cmsis_dap_usb.c
+++ b/src/jtag/drivers/cmsis_dap_usb.c
@@ -784,6 +784,9 @@ static int cmsis_dap_init(void)

        cmsis_dap_cmd_DAP_LED(0x00);                            /* Both LEDs of

+       /* assert srst */
+       cmsis_dap_cmd_DAP_SWJ_Pins(0, (1 << 7), 0, NULL);
+
        LOG_INFO("CMSIS-DAP: Interface ready");

        return ERROR_OK;

Spen

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to