2019-03-02 02:54 AM
stm32l432kc shows bad state machine in firmware when tries to upgrade code in dfu mode using the same code with the same file.
2019-03-02 06:30 AM
Not an error state that I'm familiar with, would look at .HEX and .DFU involved.
2019-03-02 06:32 AM
Try STM32 Cube Programmer it also supports USB/DFU connectivity.
2019-03-03 09:07 PM
Thanks for reply
I am facing same problem even if I generated file using the upload button in the software and try to upgrade this file in stm32l432kc again, Any suggestion to solve this issue
2019-03-04 12:51 AM
@Community member Thanks for replay, In stm32 cube program my device not detected in dfu mode
2019-03-04 02:21 AM
Try upgrading the ST-Link firmware first.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2019-03-04 03:16 AM
Thanks for your reply @Amel NASRI ,
I upgraded ST-Link's firmware, but it still shows the same error as before.
Your reply will worthier to me.
Thanks and Regards,
Swapnil
2019-03-04 05:07 AM
My proposal is for the case when STM32CubeProgrammer is used. Is your device detected after updating the ST-Link firmware?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2019-03-04 05:49 AM
OP Attempting to connect in USB/DFU mode, NOT as ST-LINK
2019-03-04 05:50 AM
Please show screen-shot with Device Manager indicating "STM32 in DFU Mode" device and Cube STM32 Programmer, with USB source selected, and not showing device.