Failed to download bin via WICED

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi Guys,

I am working on WICED 3.3.1.

I want to debug and download bin into MCU.

My MCU is STM32F207. Below are steps I tried:

1) HW: Connect JLINK to STM32F207 via JTAG directly, not via FTDI.

2) SW: For make targets, i tried but failed with following:

     snip.scan-BCM943362WCD4-debug download

     snip.scan-BCM943362WCD4-debug download JTAG = jlink

3) it always tell me :

"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"

4) My driver can be seen in attachment.

Anyone has idea on this.

Many thanks.

0 Likes
6 Replies
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

attached the  build/openocd.log !

STM32F207 which have different ID with STM32F205 (used in BCM943362WCD4) !

You have to check the openocd script first!

0 Likes
Anonymous
Not applicable

Hi Jone,

Would you please attach the openocd.log.

and where can I find the openocd script.

Thanks,


Hanson.

0 Likes
Anonymous
Not applicable

Hi Jone,

attach the log. please help take a look at it.

Thanks.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi Jone,

I did not find where to attach log.

Attachment is the log for http://community.broadcom.com/message/18075#18075

Please help take a look at it.

Thanks,

Hanson.

0 Likes

According your log , there are communication problem between OpenOCD and JLINK!

Make sure your J-LINK driver is installed and work!

Try the J-LINK native tool come from Segger first!

I prefer use the J-Link commander,

If you attached J-Link with your target then issue the J-LINK Commander It will show JTAG ID of your Target!

OpenOCD script is located under tools/OpenOCD!

0 Likes
Anonymous
Not applicable

Hi All,

Found a solution, not root cause.

I replaced openocd in 3.3.1 with 3.1.2, then it works.

I am not sure why openocd inside 3.3.1 failed to work.

Thanks for support.

Hanson

0 Likes