Open
Description
When I attempt to upload the TinyFPGA/Blink example using apio upload
, I receive the error
(DEBUG) Profile path: <REDACTED>/.apio/profile.json
(DEBUG) Home_dir: <REDACTED>/.apio
(DEBUG) Profile path: <REDACTED>/.apio/profile.json
(DEBUG) Home_dir: <REDACTED>/.apio
(DEBUG) Run Command: lsusb
(DEBUG) System_base_dir: <REDACTED>/.apio/packages/tools-oss-cad-suite
(DEBUG) System bin dir: <REDACTED>/.apio/packages/tools-oss-cad-suite/bin
(DEBUG) Executable file: <REDACTED>/.apio/packages/tools-oss-cad-suite/bin/lsusb
Expecting value: line 1 column 1 (char 0)
Error: board TinyFPGA-BX not connected
After doing some digging it appears the tinyprog
script is failing in the _read_metadata
call in some way.
When I perform a tinyprog -m
I get the following output (I added some debug information)
DEBUG: __init__.py:_read_metadata():171:meta_roots [None, None, None, None, None, None, None, None, None, None, None]
DEBUG __main__.py:main():255:p <tinyprog.TinyProg object at 0x7fc35bc1e850>
DEBUG __main__.py:main():255:p.meta <tinyprog.TinyMeta object at 0x7fc35c19cdd0>
DEBUG __main__.py:main():255:p.meta.root None
Traceback (most recent call last):
File "<REDACTED>/tmp/bin/tinyprog", line 8, in <module>
sys.exit(main())
^^^^^^
File "<REDACTED>/tmp/lib/python3.11/site-packages/tinyprog/__main__.py", line 260, in main
m["port"] = str(port)
~^^^^^^^^
TypeError: 'NoneType' object does not support item assignment
tinyprog -l
can locate my tinyfpga-bx board, however is does indicate there is no metadata.
TinyProg CLI
------------
Using device id 1d50:6130
Only one board with active bootloader, using it.
Boards with active bootloaders:
/dev/ttyACM0: No metadata
I have also attempted this as the root
user and received the same behavior.
Metadata
Metadata
Assignees
Labels
No labels