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

cross mob
Anonymous
Not applicable

Hi, Everyone.

I'm trying to download firmware to the external flash, however I've got the error log below,

It seems the config script I used is wrong.

The EVB I've got have test firmware in it and it seems result in Join failed ,and even due to the size of SARM it seems there's no other way to replace firmware but OPEN OCD way.

Does anyone have a idea what's the matter?

Below is my dev env & log

SDK: 5.0.0.33

Open OCD version : Open On-Chip Debugger 0.10.0-dev-00225-gb0314be-dirty (Win32 Host)

used f/w download script : BCM9WCD1EVAL1.cfg & stm32f4x.cfg (solution default include)

Open On-Chip Debugger 0.10.0-dev-00225-gb0314be-dirty (2017-03-09-14:50)^M

      2 Licensed under GNU GPL v2^M

      3 For bug reports, read^M

      4     http://openocd.org/doc/doxygen/bugs.html^M

      5 Info : only one transport option; autoselect 'jtag'^M

      6 trst_and_srst separate srst_nogate trst_push_pull srst_push_pull connect_assert_srst^M

      7 adapter speed: 1000 kHz^M

      8 adapter_nsrst_delay: 100^M

      9 jtag_ntrst_delay: 100^M

     10 Warn : target name is deprecated use: 'cortex_m'^M

     11 jtag_init^M

     12 Warn : Using DEPRECATED interface driver 'ft2232'^M

     13 Info : Consider using the 'ftdi' interface driver, with configuration files in interface/ftdi/...^M

     14 Info : max TCK change to: 30000 kHz^M

     15 Info : clock speed 1000 kHz^M

     16 Info : JTAG tap: stm32f4xx.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)^M

     17 Info : JTAG tap: stm32f4xx.bs tap/device found: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

     18 Warn : JTAG tap: stm32f4xx.bs       UNEXPECTED: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

     19 Error: JTAG tap: stm32f4xx.bs  expected 1 of 1: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)^M

     20 Error: Trying to use configured scan chain anyway...^M

     21 Warn : Bypassing JTAG setup events due to errors^M

     22 Info : stm32f4xx.cpu: hardware has 6 breakpoints, 4 watchpoints^M

     23 Info : JTAG tap: stm32f4xx.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)^M

     24 Info : JTAG tap: stm32f4xx.bs tap/device found: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

     25 Warn : JTAG tap: stm32f4xx.bs       UNEXPECTED: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

     26 Error: JTAG tap: stm32f4xx.bs  expected 1 of 1: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)^M

     27 Error: Trying to use configured scan chain anyway...^M

Thanks,

Soohwan

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

Thanks for the reply,

The issue solved.

By just using default OPEN ocd parameters, it can download firmware by just

adding "download_apps" after project name

But I had to fix some make define to correctly download the f/w.

Many thanks.

Soohwan.

2017-07-07 3:41 GMT+09:00 josh.yu_1995211 <community-manager@cypress.com>:

<http://www.cypress.com>

Cypress WICED Community

<https://community.cypress.com/?et=watches.email.thread>

(Question)wiced Wi-Fi OpenOCD config for firmware download (STM32F411)

error

reply from josh.yu_1995211

<https://community.cypress.com/people/josh.yu_1995211?et=watches.email.thread>

in WICED Studio Wi-Fi/Combo Forums - View the full discussion

<https://community.cypress.com/message/32952?et=watches.email.thread#32952>

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

What eval board are you using? Are you sure that it uses the ftdi interface? Also double check all your JTAG connections and make sure pins are connected correctly. I'm using STM32F411 and BCM4343W so let me know if you still have problems.

0 Likes
Anonymous
Not applicable

Hi,

Thanks for the reply,

The issue solved.

By just using default OPEN ocd parameters, it can download firmware by just

adding "download_apps" after project name

But I had to fix some make define to correctly download the f/w.

Many thanks.

Soohwan.

2017-07-07 3:41 GMT+09:00 josh.yu_1995211 <community-manager@cypress.com>:

<http://www.cypress.com>

Cypress WICED Community

<https://community.cypress.com/?et=watches.email.thread>

(Question)wiced Wi-Fi OpenOCD config for firmware download (STM32F411)

error

reply from josh.yu_1995211

<https://community.cypress.com/people/josh.yu_1995211?et=watches.email.thread>

in WICED Studio Wi-Fi/Combo Forums - View the full discussion

<https://community.cypress.com/message/32952?et=watches.email.thread#32952>

0 Likes