Hi,
I’m attempting to verify if my new SparkFun Edge board is dead (on arrival), as I’ve followed all the available information to “make bootload” on the first ‘example 1’ code, however the board always times out at “Sending Hello”. I’ve read all the forum posts but they’re either user error, incomplete responses, or aimed at FTDI.
The ‘example 1’ code builds fine.
Setup:
-
Ubuntu 19.04
-
AmbiqSuite-Rel2.0.0
-
SparkFun Edge
-
SparkFun Serial Basic board with CH340G serial chip
-
Followed the https://learn.sparkfun.com/tutorials/us … 1565758316 guide
I’ve exhausted all my known options:
with serial.Serial(args.port, args.baud, timeout=12) as ser:
time.sleep(0.25) # delay for 250ms
ser.reset_input_buffer()
ser.reset_output_buffer()
connect_device(ser)
I see no LED lights flicker. Not a blip. (With the exception of the loopback echo test - Serial Basic board Rx1)
At what point should I throw in the towel? This seems unusually difficult, considering the other success I have on other Arduino boards.
Generally, I also feel that the documentation and guides are heavily angled toward Windows and OSx users, and ignorant of Linux (Ubuntu) users.
Here’s a typical response when ‘make bootload’ runs, while holding down the 14 Btn.
make bootload
../../../../../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 0x4620 ( 17952 )
load_address 0xc000 ( 49152 )
app_size 0x4620 ( 17952 )
w0 = 0xcb0046a0
Security Value 0x10
w2 = 0x10008080
addrWord = 0xc000
versionKeyWord = 0x0
child0/feature = 0xffffffff
child1 = 0xffffffff
crc = 0x5d23625a
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 0x46a0 ( 18080 )
Writing to file bin/main_nonsecure_wire.bin
Image from 0x0 to 0x46a0 will be loaded at 0x20000
../../../bsp/tools/uart_wired_update_sparkfun.py -b 115200 '/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
Traceback (most recent call last):
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 343, in <module>
main()
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 44, in main
connect_device(ser)
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 63, in connect_device
response = send_command(hello, 88, ser)
File "../../../bsp/tools/uart_wired_update_sparkfun.py", line 240, in send_command
raise NoResponseError
__main__.NoResponseError
make: *** [Makefile:197: bootload] Error 1