CYW43907 Programming flash with Wiced Studio is Failed.

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

cross mob
OlKa_3358896
Level 4
Level 4
First like received First like given

Hello.

With this article https://community.cypress.com/community/wiced-wifi/wiced-wifi-forums/blog/2018/03/19/downloading-and...  I can to program CYW943907AEVAL1F Board with J-Link. I try do this with my custom board and same Flash Memory, but with failed result.

However, with J-Flash utility I can erase, read and write to flash memory. Does entire hex file exist in Wiced Studio? So I can write it with J-Flash utility.

Log info from 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_nogate trst_push_pull srst_push_pull connect_assert_srst

adapter speed: 100 kHz

adapter_nsrst_delay: 100

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

jtag_ntrst_delay: 100

post_init_psoc6_setup

Warn : Failed to open device: LIBUSB_ERROR_NOT_SUPPORTED.

Info : J-Link V9 compiled Oct 25 2018 11:46:07

Info : Hardware version: 9.40

Info : VTarget = 3.288 V

Info : clock speed 100 kHz

Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)

Info : BCM43909.cpu: hardware has 4 breakpoints, 4 watchpoints

force hard breakpoints

Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)

target halted in Thumb state due to debug-request, current mode: Supervisor

cpsr: 0x000001f3 pc: 0x00000000

D-Cache: disabled, I-Cache: disabled

cortex_a interrupt mask on

adapter speed: 10000 kHz

cpsr (/32): 0x000000D3

lr (/32): 0x00000000

32796 bytes written at address 0x004a0000

43264 bytes written at address 0x004a8040

32 bytes written at address 0x004b2940

2876 bytes written at address 0x004b2960

downloaded 78968 bytes in 1.459851s (52.825 KiB/s)

entry_address= 4882496

stack_address= 4939032

buffer_size= 32768

pc (/32): 0x004A8040

Total write size is 8000.

writing 8000 bytes at 32768

target halted in Thumb state due to debug-request, current mode: Supervisor

cpsr: 0x200000f3 pc: 0x004a8fee

D-Cache: enabled, I-Cache: enabled

loadimage address 4849692 foffset 0 8000

8000 bytes written at address 0x004a001c

downloaded 8000 bytes in 0.148978s (52.441 KiB/s)

target halted in Thumb state due to debug-request, current mode: Supervisor

cpsr: 0x200000f3 pc: 0x004a9032

D-Cache: enabled, I-Cache: enabled

target halted in Thumb state due to debug-request, current mode: Supervisor

cpsr: 0x200000f3 pc: 0x004a8fee

D-Cache: enabled, I-Cache: enabled

target halted in Thumb state due to debug-request, current mode: Supervisor

cpsr: 0x200000f3 pc: 0x004a8ff0

0 Likes
1 Solution

Problem resolved. RF_SW_CTRL_7(RSRC_INIT_MODE) pin was pull up on my custom board (on CYW943907AEVAL1F it not connected).

View solution in original post

4 Replies
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Please refer this blog WICED application framework and manufacturing image in CYW943907AEVAL1F  for details of the WICED framework.

As mentioned in the blog, you need to write the individual binaries at the correct addresses using J-Flash utility. can you please tell me the make target you are using for programming your custom board?

0 Likes

User.my_project_name-FreeRTOS-LwIP-CYW943907AEVAL1F  JTAG=jlink download run

0 Likes

Can you please try with the latest SDK? The steps are mentioned in this blog Downloading through Jlink Segger in WICED SDK 6.2 and future releases

0 Likes

Problem resolved. RF_SW_CTRL_7(RSRC_INIT_MODE) pin was pull up on my custom board (on CYW943907AEVAL1F it not connected).