How can I reinstall the native redboard artemis_svl bootloader?

When I originally got my redboard artemis I could use the “Upload” function within the Arduino IDE to upload programs, with the “SparkFun Variable Loader” selected for bootloader . Recently I compiled and installed (using “make”) the “tensorflow_micro_speech” example within the “redboard_artemis\examples” folder. While this did load that example onto the board, I can no longer upload programs using the Arduino IDE “Upload” function and the SVL bootloader option. I got the message “COM7 is currently open. Please close any other terminal programs that may be using COM7 and try again.” even though no other programs were running. When I selected the “Ambiq Secure Bootloader” option, programs would load. However, upon switching back to the SVL option I now get these error msgs:

Artemis SVL Bootloader

error receiving packet

unknown error

Upload failed

I’m guessing that the example “makefile” replaced the native bootloader, which I think is “artemis_svl”, with “bootloader_asb” or else damaged it," . I have no idea as to where to find the native bootloader or how to reinstall it.

I found the answer. From the Arduino IDE Tools menu, click the “Programmer:” button and select “Ambiq Secure Bootloader” and then click the “Burn Bootloader” button. After a couple of upload complete messages the SVL bootloader is back in action. Apparently the SVL bootloader gets overwritten anytime the ASB bootloader is used to load a program. This applies to programs loaded using the Ambiq SDK and will occur for many of the examples that are provided within the SDK.

Hello, I tried replicating the same but it says upload failed