Hi,
How can i upload the binaries compiled from ambiq sdk to the redboard using the default bootloader by using makefile ?
Can we use the artemis_svl.py from the arduino tools to upload it? if yes what are the procedures to follow?
Hi,
How can i upload the binaries compiled from ambiq sdk to the redboard using the default bootloader by using makefile ?
Can we use the artemis_svl.py from the arduino tools to upload it? if yes what are the procedures to follow?
Yes, you should be able to use ‘artemis_svl.py’ and call it from within your makefile. There are some examples of this here:
https://github.com/sparkfun/SparkFun_Ap … c/Makefile
Also here is the usage of the ‘artemis_svl’ tool
$ python3 artemis_svl.py -h
usage: artemis_svl.py [-h] [-b BAUD] [-f BINFILE] [-v] [-t TIMEOUT] port
SparkFun Serial Bootloader for Artemis
positional arguments:
port Serial COMx Port
optional arguments:
-h, --help show this help message and exit
-b BAUD Baud Rate (default is 115200)
-f BINFILE Binary file to program into the target device
-v, --verbose Enable verbose output
-t TIMEOUT, --timeout TIMEOUT
Communication timeout in seconds (default 0.5)
I should clarify one thing: when you are planning to upload with the SVL loader you need to modify your linker script. That is taken care of in the example makefile that I linked to.
ASB start address: 0xC000
SLV start address: 0x10000
Thanks for the update
Got it fixed using the ambiq bootloder with the ambiq_bin2board.py script.
unfortunately i didn’t saw your reply
Hallo , i can not find the link , it is an empty page , can you please update it ?
Yes, you should be able to use ‘artemis_svl.py’ and call it from within your makefile. There are some examples of this here:
https://github.com/sparkfun/SparkFun_Ap … c/Makefile