I believe I accidentally deleted the bootloader off my AGT. I’m trying to upload Example 16 with a user function for a qwiic relay. When I attempt to upload code, I get the error “Target failed to enter bootload mode. Verify the right COM port is selected and that your board has the SVL bootloader.”, and when I click burn bootloader, I get
Header Size = 0x80
original app_size 0x3290 ( 12944 )
load_address 0xc000 ( 49152 )
app_size 0x3290 ( 12944 )
w0 = 0xcb003310
Security Value 0x10
w2 = 0x10008080
addrWord = 0xc000
versionKeyWord = 0x0
child0/feature = 0xffffffff
child1 = 0xffffffff
crc = 0x826a7429
Writing to file C:\Users\myrealname\Arduino15\packages\SparkFun\hardware\apollo3\1.1.1/bootloaders/artemis/artemis_svl_OTA_blob.bin
You can use that tool to update or reset the bootloader, and upload binary versions of examples 1/14/15/16.
Can you also please try uploading the blink example (Example1_Blink) from the binary?
If all of that works then you’re back in business!
Normally, you shouldn’t need to update the bootloader. Please just make sure you have the SparkFun Artemis Module selected as the board type in the Arduino IDE and then use the normal upload button to update with your custom code.
Very strange… It does look like the bootloader has been corrupted.
Was the board working OK before before you started having problems? And may I ask what you were doing when the problems first started? I’m just trying to work out what happened - whether it is a programming issue or a strange hardware fault.
It worked fine when I first got it. I ran the PHT test and everything agreed with my other MS8607.
I soldered a qwiic relay (didn’t want to use qwiic cables b/c space constraints), and when I tried to upload the AGT Example 16 code after that is when I started getting the error. For now I’m assuming it’s my fault and I must have shorted/overheated something while soldering. Just hoping I can salvage the board somehow!
Were you soldering to the SCL/SDA/3.3V/GND pins near the SparkX logo in the top left corner of the board? Just for reference, those are connected to I2C Port 1 (which is shared with the MS8607 and the ZOE GNSS). So you would have needed to adjust your code accordingly.
I’ll ask our Tech Support experts for further guidance on the repair/return situation.
We normally don’t offer a repair or return service for SparkX products, especially where the board has been modified and/or damaged, but we’d like to help you out if we can.
When we receive your board, we’ll take a look at it and decide what to do next.
I’m afraid you cannot bring the board in in person, we are not accepting visitors at the moment to keep our staff safe during the COVID pandemic ( https://www.sparkfun.com/covid19 ). Thank you for your understanding.
There’s one last thing I was wondering about. It looks like the Iridium module is connected through serial to the Artemis on the AGT. I’m assuming there are no breakouts to wire this serial connection with an external processor (say- Artemis Nano)?
You will be able to eavesdrop on both signals, but you won’t be able to feed your own data to the Iridium modem unless you sever the connections to the Artemis. Doing so will of course mean we cannot attempt to repair the board for you.