On Sun, May 24, 2015 at 6:15 PM, Marc Schink (Code Review)
<[email protected]> wrote:
> Marc Schink has posted comments on this change.
>
> Change subject: Improve J-Link driver and introduce libjaylink.
> ......................................................................
> Patch Set 4:
>
> Hi Xiaofan,
>
> thanks for testing! Nice to hear that building on Mac OSX works fine now.
> Except for the transport selection error and some strange shutdown(?)
> error both logs look fine for me. Unfortunately i can't reproduce these
> errors here. Maybe the differences come from 
> e51d591641c9a9cd0af9c4c2200d7051c4a88ef0 and 
> 33bb0fe6194b697bfc7e89338c0ffac1c54d09be?
> Can you provide your config file openocd_jlink.cfg?
>

Here it is. This config file is a bit old so it does not include the
transport selection. The shutdown error seems to be strange.
I think both may not be related to libjaylink patch, rather it is
because the patch series are not yet up to the latest git.

MyMacMini:stm32 xiaofanc$ cat openocd_jlink.cfg
source [find interface/jlink.cfg]
source [find target/stm32f1x.cfg]

$_TARGETNAME configure -event reset-start {
    adapter_khz 1000
}

$_TARGETNAME configure -event reset-init {
    mww 0x40022000 0x32
    mww 0x40021004 0x3c0400
    mww 0x40021000 0x01000883
    sleep 10
    mww 0x40021004 0x3c0402
    sleep 10
    adapter_khz 8000
}

init
reset init
poll off
dump_image dump.bin 0x08000000 131072
verify_image dump.bin 0x08000000
stm32f1x mass_erase 0
flash write_image dump.bin 0x08000000
verify_image dump.bin 0x08000000
load_image dump.bin 0x20000000 bin 0x20000000 20480
reset run
shutdown


-- 
Xiaofan

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to