Page 1 of 1

Current Approach for Switching from Ambiq Bootloader to Sparkfun Variable Loader

Posted: Wed Oct 09, 2019 7:43 am
by jareality
On the Sparkfun page on designing with Artemis, the recommended method to switch from Ambiq Bootloader to SVL is to use an example project: Artemis_Bootloader. However, this example is no longer available in the current version of the Artemis Boards. Also, the Tools -> Burn Bootloader function keeps failing. Is there a current method to re-burn the SVL?

I'm on a macOS 10.15, with a BlackBoard Artemis Nano.

Re: Current Approach for Switching from Ambiq Bootloader to Sparkfun Variable Loader

Posted: Tue Oct 15, 2019 12:26 pm
by KHE
I used the AmbiqSDK to make bootload to an Edge2 example tensor_flow_micro_speech. After completion, I was unable to upload any other example as my COM port was busy. I fixed by uploading using the Ambiq Bootloader with make bootload_asb for the hello_world_uart which was successful and did free up the COM port. BUT...now the make bootload_svl would not work. I also tried Arduino blink example with current (16) revision. Failed. I found a readme under the Arduino path to the version 1.0.16/bootloaders/artemis/!artemis_svl


Usage:
=====
This source code is provided mostly for reference. The easiest way to upload the SVL is by using the Arduino "burn bootloader" tool and selecting "Ambiq Secure Bootloader" as the "Programmer" option.

If you want to make changes you can compile and upload the artemis_svl using the AmbiqSuite SDK.

It WORKED to restore the artemis_svl programmer for both Ambiq SDK making and Arduino loading.

Hope that helps someone...or me when I forget how I did it.

Re: Current Approach for Switching from Ambiq Bootloader to Sparkfun Variable Loader

Posted: Mon Dec 16, 2019 2:22 pm
by jareality
This is overdue but wanted to confirm that using Arduino "Burn Bootloader", as @kerry.even described, works to switch back from Ambiq Secure Bootloader to the Sparkfun Variable Loader. Thanks Kerry!