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?