2 Replies Latest reply on Mar 14, 2019 4:38 PM by 恒源郭

    Write external SPI Flash occur fail

    恒源郭

      Dear Sir,

       

      Now I am trying to flash snip.scan image into our target board. And I got the error message(****************** Result: Verify after write failed) in the log file (\43xxx_Wi-Fi\build\openocd_log.txt), but in EVB board the image can be downloaded and run well by the same downloading method.

       

      Could you help me to download the image into our target's external flash?

       

       

      ###Our target's Flash is S25FL064L, and EVB's Flash is S25FL512SAGBHIA10.

       

      ### Command for downloading image

      .\tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -s .\tools\OpenOCD\scripts -f ./tools/OpenOCD/cmsis-dap.cfg -f ./tools/OpenOCD/psoc62.cfg -f apps/waf/sflash_write/sflash_write.tcl -c "sflash_write_file build/snip.scan-<EVB>/filesystem.bin 4096 <EVB>-SDIO 0 6" -c shutdown >> build/openocd_log.txt 2>&1

       

       

      #Downloading apps lookup table in wiced_apps.mk

      .\tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -s .\tools\OpenOCD\scripts -f ./tools/OpenOCD/cmsis-dap.cfg -f ./tools/OpenOCD/psoc62.cfg -f apps/waf/sflash_write/sflash_write.tcl -c "sflash_write_file build/snip.scan-<EVB>/APPS.bin 0x0000 <EVB>-SDIO 0 6" -c shutdown >> build/openocd_log.txt 2>&1

       

       

      BR,

      HY