dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

CH341A programmer claims it is flashing, while no flash command is given

Open wessel-novacustom opened this issue 2 months ago • 3 comments

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

  1. Attach the CH341A programmer, while the laptop (V540TU/V560TU, also reproduced once on NVIDIA models) is booted to Ubuntu.
  2. 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.

wessel-novacustom avatar Oct 23 '25 09:10 wessel-novacustom

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).

wessel-novacustom avatar Oct 23 '25 09:10 wessel-novacustom

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?

macpijan avatar Oct 23 '25 12:10 macpijan

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.

mkopec avatar Oct 24 '25 12:10 mkopec