These are chat archives for marvell-iot/aws_starter_sdk

2nd
Dec 2015
bhadrip
@bhadrip
Dec 02 2015 17:54

@anujdeshpande Thanks for the debug blob, but unfortunately, it is throwing this error on trying to flash ```bhadr@DESKTOP-L8VUMFM /cygdrive/c/Users/bhadr/OneDrive/Marvell
$ ./Source/wmsdk_bundle-3.2.12/wmsdk/tools/OpenOCD/flashprog.sh -f ./binary/aws_starter_sdk-debug.blob
Using OpenOCD interface file ftdi.cfg
Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 3000 kHz
adapter_nsrst_delay: 100
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
jtag_ntrst_delay: 100
cortex_m reset_config sysresetreq
sh_load
Info : clock speed 3000 kHz
Info : JTAG tap: wmcore.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Info : wmcore.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : JTAG tap: wmcore.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00007f14 msp: 0x20001000
shutdown command invoked
Flashing mw300...
Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 3000 kHz
adapter_nsrst_delay: 100
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
jtag_ntrst_delay: 100
cortex_m reset_config sysresetreq
sh_load
Info : clock speed 3000 kHz
Info : JTAG tap: wmcore.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Info : wmcore.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : JTAG tap: wmcore.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00007f14 msp: 0x20001000
28240 bytes written at address 0x00100000
downloaded 28240 bytes in 0.217186s (126.979 KiB/s)
verified 28240 bytes in 0.284342s (96.989 KiB/s)
semihosting is enabled

Flashprog version: 2.0.6
Error: Partition table 0 @0x4000 is corrupted
Error: Partition table 1 @0x5000 is corrupted
Error: Invalid partition table and/or entries, please update.
Please press CTRL+C to exit.

semihosting: application exited
Flashprog Complete
shutdown command invoked

target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x21000000 pc: 0x00100680 msp: 0x0015ffe4, semihosting
```

should I flash some partition layout