These are chat archives for marvell-iot/aws_starter_sdk

20th
Apr 2016
Prashant K
@Prashant-Kmr
Apr 20 2016 07:50
blob

I'm getting error like "Error: Could not find file /home/prashant/aws_starter_sdk/bin/mw302_rd/aws_starter_demo.bin

Usage:
./wmsdk/tools/OpenOCD/flash.py
[--mcufw </path/to/mcufw>]
Write MCU firmware binary <bin> to flash
[<-f | --flash> </path/to/flash_blob>]
Program entire flash
[-r | --reset]
Reset board
[-h | --help]
Display usage
"

while running command "sudo ./wmsdk/tools/OpenOCD/flash.py --mcufw ./bin/mw302_rd/aws_starter_demo.bin
" how to solve it
Anuj Deshpande
@anujdeshpande
Apr 20 2016 07:53
@Prashant-Kmr Did you compile the sample app?
Prashant K
@Prashant-Kmr
Apr 20 2016 07:53
No
I just flashed
./wmsdk/tools/OpenOCD/flash.py -f aws_starter_sdk-2015_12_08.blob
using above command
Anuj Deshpande
@anujdeshpande
Apr 20 2016 07:54
You will have to compile the aws_starter_demo before getting the binary file
once you have successfully compiled the file, you will be able to upload it to the board using the command that you just tried
Prashant K
@Prashant-Kmr
Apr 20 2016 07:55
@anujdeshpande Ok so now I need to compile helloworld from sample app right?
Anuj Deshpande
@anujdeshpande
Apr 20 2016 07:57
Yes