CH341A programmer claims it is flashing, while no flash command is given
Component
EC firmware
Device
NovaCustom V54 14th Gen, NovaCustom V56 14th Gen
Dasharo version
v1.0.0
Dasharo Tools Suite version
No response
Test case ID
No response
Brief summary
When attempting to flash with the CH341A programmer (the one with adjustable voltage), the LED that indicates communication with the chip is burning. However, no flash command is provided.
How reproducible
100% reproducible
How to reproduce
- Attach the CH341A programmer, while the laptop (V540TU/V560TU, also reproduced once on NVIDIA models) is booted to Ubuntu.
- Check the programming LED.
Expected behavior
LED remains off until a flash command has been provided.
Actual behavior
The programming LED is turned on.
Screenshots
No response
Additional context
Might be related to #1456
Solutions you've tried
Unplugging, other USB port, connecting through dock. Replacing the programmer several times. Nothing works.
https://github.com/user-attachments/assets/9aa13dda-ada8-4c51-8f70-4d793f37c6fa
The green LED is the flash indicator. Normally, this is only burning while executing flash commands.
I cannot reproduce this issue on my NV40MZ (Tiger Lake).
I cannot think of a way of what can be done here on the firmware side. We have just tried this CH341 on MTL and other laptops. Only red power LED is on.
Does the flashing work, or the LED is your main concern here?
This is the fault of the spi_ch341a driver, which is present in some distros, like Ubuntu. Blacklisting the driver results in the LED working as expected.