- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sflash_write.tcl has a sflash_read_file function but it is not implemented anywhere as a build target.
Any other ways?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind, i figured it out
Build and program in verbose and find the line where it calls openOCD. Copy the command and replace sflash_write_file with sflash_read_file. Follow the comments in the sflash tcl file.
.\tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -s .\tools\OpenOCD\scripts -f ./tools/OpenOCD/CYW9WCD1EVAL1.cfg -f ./tools/OpenOCD/BCM4390x.cfg -f apps/waf/sflash_write/sflash_write.tcl -c "sflash_read_file dump.bin 0x00000000 Proj_Test-P103-SoC.43909 8388608 43909" -c shutdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind, i figured it out
Build and program in verbose and find the line where it calls openOCD. Copy the command and replace sflash_write_file with sflash_read_file. Follow the comments in the sflash tcl file.
.\tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -s .\tools\OpenOCD\scripts -f ./tools/OpenOCD/CYW9WCD1EVAL1.cfg -f ./tools/OpenOCD/BCM4390x.cfg -f apps/waf/sflash_write/sflash_write.tcl -c "sflash_read_file dump.bin 0x00000000 Proj_Test-P103-SoC.43909 8388608 43909" -c shutdown