Hi I've been going through a sparkfun edge person-detection programming tutorial in here. (The code given in the github link was deprecated so I used the codes inside the tensorflow_lite library. They had example codes in there already)
The tutorial seemed to be quite clear and easy, however I'm always getting this error when I try to upload the sketch.
Artemis SVL Bootloader
Script version 1.7
Phase: Setup
Cleared startup blip
Failed to enter bootload phase
Phase: Setup
Cleared startup blip
Failed to enter bootload phase
Phase: Setup
Cleared startup blip
Failed to enter bootload phase
Target failed to enter bootload mode. Verify the right COM port is selected and that your board has the SVL bootloader.
Then I've realized that even a plain(the initial sketch you get when you make a new sketch) sketch wouldn't get uploaded spitting out exactly the same error message.
My setup:
- new Macbook Pro (and also Gentoo linux on my desktop and windows10 in virtualBox)
- Sparkfun serial basic breakout (default jumped to 3v3)
- FTDI 3v3 serial cable
The setups that I have Tried: \
Linux x86_64 (Gentoo Linux) -> also reinstalled the CH341SER driver.
Mac os Catalina(10.15.6) -> again also reinstalled the CH340 driver according to this stackoverflow answer
Windows10 (in a virtualBox on the Gentoo Linux Destktop)
I've tried using not only the latest libraries and apollo3 board manager(1.1.2), but also earlier ones(1.0.30 and below).
Tried changing the baud rate to every possible rate given as an option.
I tried using the
Ambiq Secure Bootloader
instead ofSVL
and when I do it spits out this message.(Bellow error message was in Linux, but got same error in Mac OS as well)
Connecting over serial port /dev/ttyUSB0...
Sending Hello.
No response for command 0x00000000
Failed to respond
Fail
Sending Hello.
No response for command 0x00000000
Failed to respond
Fail
Sending Hello.
No response for command 0x00000000
Failed to respond
Fail
Tries = 3
Upload failed
- also tried resetting the board(so that led light wouldn't blink anymore) before uploading the sketch file.
Could the board may have been faulty from the beginning? The default micro speech inference seems to work as it reacts to "yes" and "no". Googling couldn't help me with this problem... I've been trying to make this work for days now... Do you think there is any other possibilities to fix the problem?