-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when creating uf2 file from OpenBK firmware #7
Comments
You need to have LibreTiny installed for this so that it finds the board IDs. It usually comes with ltchiptool when you install from pip, but if you install from source instead you need LT as well. |
I am installing ltchiptool wiht pip:
However I always get that error. I have installed LibreTiny too and I think it works OK:
and
But this is where all stops. Running the python3 -m ltchiptool command only gets me the same error (regardless whats after -b (including bk7231n or bk7231t):
I don't know what I am doing wrong so your assistance is still required. |
Try |
Here it is `+------+------+-------------------+-------------+ | Name | Code | MCU / Flash / RAM | Family name | +------+------+-------------------+-------------+ +------+------+-------------------+-------------+ (END) |
Well, you're installing ltchiptool as sudo but running it without sudo. Uninstall all versions of ltchiptool ( It should look like this, if it finds the LibreTiny directory:
|
I don't believe it was that simple :) I will try and covert the firmware later. Will reply here with the result. |
This the command I used that worked for me (for the N version)
|
|
Yes correct - I was meant to type N version. Corrected now. |
Is there any easy way to help ltchiptool know where the libretiny package is? I did however manage to get it to find it by extracting libretiny into the same folder as ltchiptool on my Windows PC and running |
ltchiptool will look:
|
I'm having the issue described above - I just installed ltchiptool with " +------+------+-------------------+-------------+ But then after I hit Q to exit less, I get this message (username redacted): Which strongly implies that it found it. The board.py, enums.py, and family.py files are in the models/ directory under that path. Board.py, at least, has data in it; it doesn't appear to be corrupted. I tried giving it a -L parameter but no path I try results in success, either. (For what it's worth, I also tried it with sudo after uninstalling the normal user copy, and it didn't work then, either. I removed that and went back to the user installed version, no improvement.) Running kubuntu 22.04. Debian version is bookworm-sid. Thanks for any suggestions! |
For anyone who is stuck and needs the files another user posted in the OpenBeken forums a link to the UF2 files: https://github.com/BenJamesAndo/OpenBeken_uf2_firmware/releases/tag/1.17.230 |
Thanks. Turned out libretiny was better for my application after all! |
Hi,
I have a device that I will like to flash with OpenBK firmware.
On my Ubuntu I have downloaded ltchiptool and did:
python3 -m ltchiptool uf2 write -b cb2s -o openbkt.uf2 OpenBK7231N_1.17.205.rbl=device:download
and a few other variants of that command. I always get this error:
Error: Invalid value for '-b' / '--board': Board cb2s does not exist
I am not sure what I am doing wrong. Can you please help?
The text was updated successfully, but these errors were encountered: