Closed
Description
On Ubuntu 20.04, after fixing the chmod +x
of #309 , I bump into a new issue: the upload fails. Detailed log:
Sketch uses 114812 bytes (11%) of program storage space. Maximum is 983040 bytes.
Global variables use 27320 bytes (6%) of dynamic memory, leaving 365896 bytes for local variables. Maximum is 393216 bytes.
/home/jrlab/.arduino15/packages/SparkFun/hardware/apollo3/2.0.3/tools/uploaders/asb/dist/linux/asb --bin /tmp/arduino_build_223201/Serial.ino.bin --load-address-blob 0x20000 --magic-num 0xCB -o /tmp/arduino_build_223201/Serial.ino --version 0x0 --load-address-wired 0xC000 -i 6 --options 0x1 -b 115200 -port /dev/ttyUSB0 -r 2 -v
Header Size = 0x80
original app_size 0x1cd18 ( 118040 )
load_address 0xc000 ( 49152 )
app_size 0x1cd18 ( 118040 )
w0 = 0xcb01cd98
Security Value 0x10
w2 = 0x10008080
addrWord = 0xc000
versionKeyWord = 0x0
child0/feature = 0xffffffff
child1 = 0xffffffff
crc = 0x8834377a
Writing to file /tmp/arduino_build_223201/Serial.ino_OTA_blob.bin
testing: /tmp/arduino_build_223201/Serial.ino_OTA_blob.bin
Header Size = 0x60
app_size 0x1cd98 ( 118168 )
Writing to file /tmp/arduino_build_223201/Serial.ino_Wired_OTA_blob.bin
Image from 0x0 to 0x1cd98 will be loaded at 0x20000
Connecting over serial port /dev/ttyUSB0...
Sending Hello.
No response for command 0x00000000
received bytes 1
['0xfc']
Failed to respond
Fail
Sending Hello.
No response for command 0x00000000
received bytes 1
['0xfc']
Failed to respond
Fail
Sending Hello.
No response for command 0x00000000
received bytes 1
['0xfe']
Failed to respond
Fail
Tries = 3
Upload failed
Any idea where the problem comes from and how to fix it? I am using v2.0.3, "Red board Artemis", "Ambiq Secure Bootloader", I have tried several baud rates without success, and I am quite very sure that the USB port in use is the right one.
Metadata
Metadata
Assignees
Labels
No labels