SparkFun Edge - Troubleshooting

Hi everyone, this will be a general topic for troubleshooting the Edge board and the Ambiq SDK. If you’re having trouble follow these steps:

  1. Search this thread to see if you can find a similar/related problem. Check out the linked topic to see the details.

  2. If there’s no related topic listed in this thread then post a new thread under Home / SparkFun Products / Microcontroller & Single Board Computer Boards / Other Microcontrollers.

  3. If the problem is general enough to apply to several users then we will link to it in this thread for future troubleshooters to find. When a solution is found we will summarize it in this thread along with the link.

The goal of this process is to maintain an organized and on-topic thread that is easy to search for problems, while still allowing topics to go into detail about the problem.

Thanks and happy Edging!

Your web pages describing the setup and first test of the edge are excellent. You people did a great job. Kudos. So I have not yet run into any problems or issues.

Just in case anyone else was in as big a hurry to power up the chip as I was, there was a little confusion in that there is a Makefile in the example_1edge_test folder that I first thought was the test file. It had next to nothing in it.

Your instructions do say to use the one in the next “gcc” folder. That Makefile made a lot more sense :slight_smile:

Again, thanks for all your work. It’s an amazing project and product. I’m a big fan.

This is a really interesting board - lots of possibilities.

I want to use it as a trigger word recognizer for my bot., much like the tensor flow example(hopefully can generate models for different words than yes or no)

I got to the compiler download, but your link gives a 404 not found error. What is the correct link to a compiler for the PI Model 3? Any special install instructions? Is it easier to go the Widows route if pi stuff is buggy?

Thanks - this should be a great product

Hey there, sadly ARM seems to have restructured their site and (maybe) hidden the tools… Anyhow for the time being here’s a link to a release that I think should work. I haven’t been able to try it yet, so please let us know how it goes.

https://github.com/gnu-mcu-eclipse/arm- … v8.2.1-1.4

Also… I can’t speak to working with this on the RPi, you’ll be in totally uncharted territory. But hey if it’s possible I’m sure there are others who’d like to know that.

As for your desire to change the word… we are currently working with the Google guys to get an example. The gist of it is that you need to use TensorFlow to generate a new model, then compress it into the format that the micro understands, and replace the old model in the firmware, along with a few other modifications. We’ll be sure to make a big announcement when/if we get it to work.

Edit: I found a good ARM link: https://developer.arm.com/tools-and-sof … /downloads

On the tutorial (https://learn.sparkfun.com/tutorials/us … hain-setup), in the section “Installing the Compiler” the first of the two links to the ARM downloads page is still broken. It points to https://developer.arm.com/tools-and-sof … /downloads whereas it should be, like the “button” link (just a bit further down), https://developer.arm.com/tools-and-sof … /downloads

Good catch. We’re having some trouble with the system that hosts our content so it is hard to make any reliable changes right now, but I’ll go ahead and update it when the system is back to 100%.

If you’ve arrived here through the (very specific) link on the SparkFun Apollo3 SDK page, know that there are actual issues listed at the root topic here: https://forum.sparkfun.com/viewforum.php?f=153

Indeed, there is the capacity to add independent threads about the Edge board - thanks for the link. This thread was intended to serve as an index of resolved questions, however that attempt at organization quickly failed. I’ll go ahead and change the link in the tutorial

When building the code in ubutu (18.x) as per below link

https://codelabs.developers.google.com/ … sorflow/#3

you get error that fixedpoint.h file is missing. To overcome this error make sure to download gemmlowp package. Looks like the make file is missing this step.

path for installing gemmlowp package

/tesnorflow/tensforflow/lite/experimental/micro/tools/make/downloads/gemmlowp

Hi There

I’ve recently ordered a SparkFun Edge, and I’m now trying to flash the Example. However, using the latest Ambiq Suite (2.20), executing “make bootload” ends in an exception “make: *** No rule to make target ‘bootload’. Stop.”. Executing “uart_wired_update_sparkfun.py” with serial port “/dev/ttyUSB0” gives a timeout response:

Connecting with Corvette over serial port /dev/ttyUSB0...
Sending Hello.
No response for command 0x00000000
Traceback (most recent call last):
  File "./uart_wired_update_sparkfun.py", line 343, in <module>
    main()
  File "./uart_wired_update_sparkfun.py", line 44, in main
    connect_device(ser)
  File "./uart_wired_update_sparkfun.py", line 63, in connect_device
    response = send_command(hello, 88, ser)
  File "./uart_wired_update_sparkfun.py", line 240, in send_command
    raise NoResponseError
__main__.NoResponseError

Using “/dev/cuse” leads to:

Connecting with Corvette over serial port /dev/cuse...
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/serial/serialposix.py", line 323, in _reconfigure_port
    orig_attr = termios.tcgetattr(self.fd)
termios.error: (25, 'Inappropriate ioctl for device')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./uart_wired_update_sparkfun.py", line 343, in <module>
    main()
  File "./uart_wired_update_sparkfun.py", line 40, in main
    with serial.Serial(args.port, args.baud, timeout=12) as ser:
  File "/usr/lib/python3.7/site-packages/serial/serialutil.py", line 240, in __init__
    self.open()
  File "/usr/lib/python3.7/site-packages/serial/serialposix.py", line 272, in open
    self._reconfigure_port(force_update=True)
  File "/usr/lib/python3.7/site-packages/serial/serialposix.py", line 326, in _reconfigure_port
    raise SerialException("Could not configure port: {}".format(msg))
serial.serialutil.SerialException: Could not configure port: (25, 'Inappropriate ioctl for device')

Both ttyUSB0 and cuse can be seen through ls. I’m using Arch Linux.

How should I proceed?

I bought 20 pieces (order number: 6162451), but almost all of them have the same problem

it seems that it didn’t pre-load the firmware on SparkFun Edge Board, because i cannot see the blue LED blinking.

How could I deal with this problem ?

note that : I also bought 30 pieces (order number: 6252527), and each piece is good because i can see the blue LED blinking

Can someone help me ? thank you very much :smiley: