libretiny-eu / ltchiptool

Universal, easy-to-use GUI flashing/dumping tool for BK7231, RTL8710B and RTL8720C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v4.0.0a2 'NoneType' object has no attribute 'get-uf2_ctx' (Windows 10)

bmarr opened this issue · comments

I am working with RTL8710BN (AmebaZ) and get this error when using the ltchiptool in Windows 10 with FTDI serial cable connected.
Unable to get this working, so I'll move back to my Linux machine and update the tools there.

I [      0.150] (+0.135s) Loaded settings from C:\Users\brade\AppData\Roaming\ltchiptool\config.json
D [      0.152] (+0.002s) Started PortWatcher
I [      0.360] (+0.208s) Found new device: COM9 - USB Serial Port (COM9) - VID=0403 (FTDI), PID=6001 
I [      0.365] (+0.005s) Found new device: COM3 - Intel(R) Active Management Technology - SOL (COM3) - HWID=PCI\VEN_8086&DEV_8C3D&SUBSYS_221117AA&REV_04\3&33FD14CA&0&B3
E [     33.374] (+33.009s) AttributeError: 'NoneType' object has no attribute 'get_uf2_ctx'
E [    285.473] (+252.100s) |-- File "ltchiptool\gui\utils.py", line 23, in <lambda>
E [    285.474] (+0.001s) |-- File "ltchiptool\gui\panels\flash.py", line 485, in on_start_click

image

This is a bug, which I fixed some time ago but probably forgot to push the changes. If you go to "write flash" and select a file there, the error will be gone and reading should work again.

Fixed in v4.0.0a3.