SparkFun Forums 

Where electronics enthusiasts find answers.

#203517
I have been having the same issue but on Ubuntu.

I have tried changing the baud rate to 115200 but this made no difference.

I never get a successful response to the Hello.

I hold button 14 and reset the module, all the lights go off, but when the bootload is attempted the lights go through a sequence and then I have flashing blue light and a fail - this suggests that the board is seeing something during the bootload to trigger the lights coming back on.

Any ideas?

Connecting with Corvette over serial port /dev/ttyUSB0...
Sending Hello.
No response for command 0x00000000
received bytes 48
['0x86', '0xd1', '0xac', '0x80', '0x5', '0x83', '0x80', '0xd0', '0x84', '0x82', '0x80', '0x87', '0x80', '0x81', '0x80', '0xff', '0x5c', '0xe9', '0xff', '0x2d', '0x80', '0x20', '0x80', '0x83', '0xf8', '0xb2', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff']
Traceback (most recent call last):
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 341, in <module>
main()
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 42, in main
connect_device(ser)
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 61, in connect_device
response = send_command(hello, 88, ser)
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 238, in send_command
raise NoResponseError
__main__.NoResponseError
Makefile:192: recipe for target 'bootload' failed
make: *** [bootload] Error 1
#203548
Ubuntu 18.04 and same issue. Tried both CH340G and CH340C adapters. Tried with coin cell and without. Tried without coin cell and uart vcc connected to battery +. Board is from Sparkfun.
Checked usb uart and vcc is 3.3V. I never see any voltage on board VDD with coin cell or uart connection. Coin cell boots board and gives blue flashing light (with no uart connection).

Here is what I see when I run bootload. I get a different CRC for the bin file, and I will only get 11 bytes from the board when I Send Hello. I would expect the bin file CRC to be the same for everyone, regardless of OS or computer... maybe this is a clue that the toolchain is setup incorrectly?

../../../../../tools/apollo3_scripts/create_cust_image_blob.py --bin bin/example1_edge_test.bin --load-address 0xC000 --magic-num 0xCB -o bin/main_nonsecure_ota --version 0x0
Header Size = 0x80
original app_size 0x460c ( 17932 )
load_address 0xc000 ( 49152 )
app_size 0x460c ( 17932 )
w0 = 0xcb00468c
Security Value 0x10
w2 = 0x10008080
addrWord = 0xc000
versionKeyWord = 0x0
child0/feature = 0xffffffff
child1 = 0xffffffff
crc = 0x991a334c
Writing to file bin/main_nonsecure_ota.bin
../../../../../tools/apollo3_scripts/create_cust_wireupdate_blob.py --load-address 0x20000 --bin bin/main_nonsecure_ota.bin -i 6 -o bin/main_nonsecure_wire --options 0x1
Header Size = 0x60
app_size 0x468c ( 18060 )
Writing to file bin/main_nonsecure_wire.bin
Image from 0x0 to 0x468c will be loaded at 0x20000
../../../bsp/tools/uart_wired_update_sparkfun.py -b 921600 /dev/ttyUSB0 -r 1 -f bin/main_nonsecure_wire.bin -i 6
Connecting with Corvette over serial port /dev/ttyUSB0...
Sending Hello.
No response for command 0x00000000
received bytes 11
['0xd4', '0x70', '0x7', '0x87', '0x94', '0x80', '0x80', '0x83', '0x80', '0x80', '0x80']
Traceback (most recent call last):
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 341, in <module>
main()
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 42, in main
connect_device(ser)
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 61, in connect_device
response = send_command(hello, 88, ser)
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 238, in send_command
raise NoResponseError
__main__.NoResponseError
Makefile:193: recipe for target 'bootload' failed
make: *** [bootload] Error 1