These are chat archives for marvell-iot/aws_starter_sdk

6th
Jan 2016
Scotty Nelson
@poorboy44
Jan 06 2016 04:59
hi @anujdeshpande . while I was able to flash to the marvell board on my wife's Macbook air, it wasn't showing up in /dev/tty*. I'm back on my Macbook Pro, and have disabled the FTDI driver. When I try to flash, I get this error (different than before). I suspect there's some kind of JTAG problem with my machine?
[snelson aws_starter_sdk (master)]$ sudo wmsdk/tools/OpenOCD/flash.py --mcufw ./bin/mw302_rd/hello_world.bin
Writing MCU firmware to flash
Using OpenOCD interface file ftdi.cfg
Open On-Chip Debugger 0.9.0 (2015-12-16-16:48)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
flash
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
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: wmcore.cpu: IR capture error; saw x0f not x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: wmcore.cpu: IR capture error; saw x0f not x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Warn : Invalid ACK x7 in JTAG-DP transaction
Error: Target not examined yet
in procedure 'program_image' 
in procedure 'reset' called at file "/Users/snelson/projects/aws_starter_sdk/wmsdk/tools/OpenOCD/openocd.cfg", line 56
in procedure 'ocd_bouncer'


Writing MCU firmware to flash failed...
Anuj Deshpande
@anujdeshpande
Jan 06 2016 05:14
@poorboy44 This error usually shows up when it's a power issue. Can you try switching ports and making sure you are connected to a power source
Scotty Nelson
@poorboy44
Jan 06 2016 05:21
cool! i reconnected the device and now things work...
Anuj Deshpande
@anujdeshpande
Jan 06 2016 05:22
that's great !