Issues with Arduino and Artemis Nano. Not communicating via Arduino Serial.

Have several Artemis Nano. Tried lots of options and all the suggestion on the forum. to no avail.

Working with Arduino 1.8.9.

Mac OSX Mojave. 10.14.5.

Load the Apollo Module to version 1.0.6

When using the burn boot loader via Ambiq Secure Bootload

Getting the same message as the other forum posts


Sending Hello.

Received response for Hello

Received Unknown Message

msgType = 0x0

Length = 0x0

['0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0']

Fail

Sending Hello.

Received response for Hello

Received Unknown Message

msgType = 0x0

Length = 0x0

['0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0']

Fail

Sending Hello.

Received response for Hello

Received Unknown Message

msgType = 0x0

Length = 0x0

['0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0']

Fail

Tries = 3

I feel this is a communication error

However via python or python3. defaults gets a response from the nano at 9600 baud

python3 -m serial.tools.miniterm /dev/cu.usbserial-1450

— Miniterm on /dev/cu.usbserial-1450 9600,8,N,1 —

— Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H —

␡Test Artemis Nano

Failed pin 15

Failed pin 13

Failed pin 11

Failed pin 9

Failed pin 7

Failed pin 5

Failed pin 3

Failed pin 1

I get the same from the Arduino Serial Monitor at 9600. but can not have both boot loader and serial monitor of the Arduino up at the same time.

Feel it would be solved i.e. slowly by loading the bootloader code to fix the version miss match by doing it at 9600 baud.

but it seems the display values for the Arduino is coded into defines in this file

./packages/SparkFun/hardware/apollo3/1.0.6/cores/arduino/am_sdk_ap3/mcu/apollo3/hal/am_hal_tpiu.h:

and then used in this c file

./packages/SparkFun/hardware/apollo3/1.0.6/cores/arduino/am_sdk_ap3/mcu/apollo3/hal/am_hal_tpiu.c

I think if we created a 9600 emergency setting We might get the correct boot loader in.

Otherwise these devices are useless.

You are pretty well on-point here. The “Del” character that you see at 9600 was part of the old SVL bootloader implementation. You should be able to upgrade to the latest using the fallback Ambiq Secure Bootloader (ASB). Check out this post:

viewtopic.php?f=163&t=50480&p=206258&hi … 2A#p206258