4 Replies Latest reply on May 8, 2019 12:56 AM by olexandr.karbivskyi_3358896

    CYW43907 Programming flash with Wiced Studio is Failed.

    olexandr.karbivskyi_3358896

      Hello.

      With this article https://community.cypress.com/community/wiced-wifi/wiced-wifi-forums/blog/2018/03/19/downloading-and-debugging-cyw43907-using-jlink-segger  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