I replaced the CONFIG and TARGET to get rid of them. I can’t get the thing to go into boot. Right now I have the artemus red board running an arduino program that sends out serial so that I can verify that the port is working. I can’t get it to go into boot. The reply that you see below are the arduino serial commands. I might try to pull this pin high on my own just so that I can see if this works…
tom@TomHobbyLaptop:~/Desktop/APOLLOD/tensorflow$ python3 tensorflow/lite/experimental/micro/tools/make/downloads/AmbiqSuite-Rel2.0.0/tools/apollo3_scripts/Spark/ambiq/ambiq_bin2board.py --bin main_nonsecure_wire.bin --load-address-blob 0x20000 --magic-num 0xCB -o /tmp/main_nonsecure_wire --version 0x0 --load-address-wired 0xC000 -i 6 --options 0x1 -b 115200 -port /dev/ttyUSB0 -r 2 -v
Header Size = 0x80
original app_size 0x2c1c4 ( 180676 )
load_address 0xc000 ( 49152 )
app_size 0x2c1c4 ( 180676 )
w0 = 0xcb02c244
Security Value 0x10
w2 = 0x10008080
addrWord = 0xc000
versionKeyWord = 0x0
child0/feature = 0xffffffff
child1 = 0xffffffff
crc = 0xbe3c4e92
Writing to file /tmp/main_nonsecure_wire_OTA_blob.bin
testing: /tmp/main_nonsecure_wire_OTA_blob.bin
Header Size = 0x60
app_size 0x2c244 ( 180804 )
Writing to file /tmp/main_nonsecure_wire_Wired_OTA_blob.bin
Image from 0x0 to 0x2c244 will be loaded at 0x20000
Connecting over serial port /dev/ttyUSB0…
Sending Hello.
No response for command 0x00000000
received bytes 70
[‘0xbe’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0x4d’, ‘0x61’, ‘0x6b’, ‘0x65’, ‘0x20’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0x4d’, ‘0x61’, ‘0x6b’, ‘0x65’, ‘0x20’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0xbc’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0xbc’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’]
Failed to respond
Fail
Sending Hello.
No response for command 0x00000000
received bytes 42
[‘0xbe’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0xbe’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0xbc’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’]
Failed to respond
Fail
Sending Hello.
No response for command 0x00000000
received bytes 56
[‘0xbe’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0xbe’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0xbc’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’, ‘0xbc’, ‘0x2a’, ‘0xad’, ‘0x95’, ‘0x81’, ‘0x69’, ‘0x74’, ‘0x20’, ‘0x57’, ‘0x4f’, ‘0x52’, ‘0x4b’, ‘0xd’, ‘0xa’]
Failed to respond
Fail
Tries = 3
Upload failed