cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

恒源郭
New Contributor II

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

0 Likes
1 Solution
恒源郭
New Contributor II

I using PSoC creater SMIF configure tool to regenerate cy_smif_memconfig.c and cy_smif_memconfig.h. Then put that into platform folder. Now I can R/W S25FL064L external flash.

View solution in original post

0 Likes
2 Replies
RaktimR_11
Moderator
Moderator

By default the sflash that you are using is not supported in WICED SDK. You will need to add support for this particular part by following the steps as mentioned in SFLASH support addition in WICED​. Please let us know if you face any issue in this porting effort.

恒源郭
New Contributor II

I using PSoC creater SMIF configure tool to regenerate cy_smif_memconfig.c and cy_smif_memconfig.h. Then put that into platform folder. Now I can R/W S25FL064L external flash.

View solution in original post

0 Likes