SparkFun Forums 

Where electronics enthusiasts find answers.

Everything with the AmbiqSuite SDK tools and software are welcome here.
User avatar
By majd.shahin
#214041
Hallo everybody ,
i am new here and i have a problem
i want to program (Apollo3 Blue ama3b1kk-kbr / sparkfun redboard artemis) with IAR or SEGGER because i need to use AmbiqSuite-R2.4.2 SDK for low-power multitasking application
but i have only usb cable

my qustion is :
how can i program the microcontroller with only usb cable in (IAR or SEGGER) ?

if i cannot , dose the Arduino IDE supports low-power multitasking applications in sparkfun redboard artemis ?
User avatar
By liquid.soulder
#214061
Hi. The Apollo3 does not support USB natively and therefore/also does not have a USB bootloader. There are at least three ways to re-flash the Apollo3

- Use the UART bootloader that exists permanently on the chip. (Uses USB->UART bridge chip onboard most Artemis boards, or external FTDI USB->UART on the Edge board). A python script to perform this is available in the AmbiqSuite SDK. Another version (slightly modified for simplicity) is available in the Arduino Apollo3 repository on GitHub.

- Use a SEGGER J-Link (or other SWD capable debug probe) to directly flash the memory. Use J-Flash Lite or similar SW along with debug probe HW.

- Use the Ambiq Over-The-Air examples for wireless (Bluetooth) re-programming. Documentation for this exists within the AmbiqSuite SDK


P.s. the Arduino IDE supports all functionality that the HAL does - all HAL functions are available in Apollo3 Arduino sketches. Be aware, however, that the Arduino environment may enable peripherals behind the scenes. These should be disabled for extremely low power examples.

Some helpful links, perhaps?
viewtopic.php?f=169&t=50904&hilit=low+power
viewtopic.php?f=170&t=51090&p=208415&hi ... er#p208415
User avatar
By ZeusX
#217899
Can you please send me the link to example for the third option?

- Use the Ambiq Over-The-Air examples for wireless (Bluetooth) re-programming. Documentation for this exists within the AmbiqSuite SDK

I want to flash my Apollo3 Artemis (Artemis Global Tracking board) over the air.... possible ?
User avatar
By ZeusX
#218277
Thanks for your reply!

What I'm trying to do is:

I want to connect the serial console over BT instead of connect serial cable TX-RX, Programming and console....
I will try to debug the Artemis over BT because I cant connect any serial cable (It's close box and I can't connect any wire inside).

What do you think?

Thanks in advanced.
User avatar
By liquid.soulder
#218308
That sounds more difficult. You could easily get BLE "printf" debugging working, but any sort of single-step debug would require a true SWD/JTAG interface. I don't think you could do that wirelessly w/o purchasing a special debug probe that would live within the box and has a wireless operating mode.
User avatar
By ZeusX
#218443
Thanks for your responded.

How to get printf over BLE ?

Can you send me link to any examples please ?

thanks
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]