cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

DaRa_4056336
New Contributor II

Hi,

I'm using Murata 1LD custom board with external flash connected using spi.

I changed the driver to LibusbK using zadig and added reset_config trst_and_srst srst_push_pull to jlink.cfg file unde openocd.

I am trying to program using make snip.ccc-MurataType1LD JTAG=jlink download download_apps run it don't work

Log:

Downloading Bootloader ...

Building apps lookup table

Download complete

Downloading DCT ...

No changes detected

Downloading resources filesystem ... build/snip.chronisense-MurataType1LD/filesystem.bin at sector 1  size 104...

Downloading apps lookup table in wiced_apps.mk ... build/snip.chronisense-MurataType1LD/APPS.bin @ 0x0000 size

tools/makefiles/wiced_apps.mk:423: recipe for target 'APPS_LUT_DOWNLOAD' failed

make.exe[1]: *** [APPS_LUT_DOWNLOAD] Error 1

Makefile:351: recipe for target 'main_app' failed

make: *** [main_app] Error 2

openocd_log.txt

Open On-Chip Debugger 0.10.0+dev-00227-g0d15c62 (2018-03-27-15:19)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

trst_and_srst separate srst_gates_jtag trst_push_pull srst_push_pull connect_deassert_srst

adapter speed: 1000 kHz

adapter_nsrst_delay: 100

Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.

jtag_ntrst_delay: 100

Warn : target name is deprecated use: 'cortex_m'

jtag_init

post_init_psoc6_setup

Info : J-Link V10 compiled Oct  8 2019 14:57:57

Info : Hardware version: 10.10

Info : VTarget = 3.270 V

Info : clock speed 1000 kHz

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

Info : JTAG tap: stm32f4xx.bs tap/device found: 0x06441041 (mfg: 0x020 (STMicroelectronics), part: 0x6441, ver: 0x0)

Warn : JTAG tap: stm32f4xx.bs       UNEXPECTED: 0x06441041 (mfg: 0x020 (STMicroelectronics), part: 0x6441, ver: 0x0)

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

Error: Trying to use configured scan chain anyway...

Warn : Bypassing JTAG setup events due to errors

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

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

Info : JTAG tap: stm32f4xx.bs tap/device found: 0x06441041 (mfg: 0x020 (STMicroelectronics), part: 0x6441, ver: 0x0)

Warn : JTAG tap: stm32f4xx.bs       UNEXPECTED: 0x06441041 (mfg: 0x020 (STMicroelectronics), part: 0x6441, ver: 0x0)

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

Error: Trying to use configured scan chain anyway...

Warn : Bypassing JTAG setup events due to errors

Error: timed out while waiting for target halted

TARGET: stm32f4xx.cpu - Not halted

in procedure 'sflash_write_file'

in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261

in procedure 'init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 155

in procedure 'ocd_bouncer'

in procedure 'transport'

in procedure 'ocd_bouncer'

in procedure 'jtag_init' called at file "../WICED-OpenOCD/src/jtag/core.c", line 1578

in procedure 'reset' called at file "./tools/OpenOCD/stm32f4x.cfg", line 125

in procedure 'ocd_bouncer'

in procedure 'sflash_write_file'

in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261

in procedure 'init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 155

in procedure 'ocd_bouncer'

What can be the problem ? any ideas?

Thanks!!

David

0 Likes
1 Solution
GauravS_31
Moderator
Moderator

Check the JTAG hardware connections. Add the following flags in the .cfg file:

reset_config trst_and_srst srst_push_pull srst_nogate connect_assert_srst

View solution in original post

1 Reply
GauravS_31
Moderator
Moderator

Check the JTAG hardware connections. Add the following flags in the .cfg file:

reset_config trst_and_srst srst_push_pull srst_nogate connect_assert_srst

View solution in original post