2018-05-18 05:17 AM
Hello Everyone,
I am have a problem using Dfuse (v3.0.5) with my STM32L432KC.
I have a USB CDC class, not using a composite CDC-DFU.
Performing the DFU mode through the boot pin/bit.
During upgrade I got the following error:
After several times (may differ), I can do the upgrade.
Has someone already solved this problem or have any advise?
#dfu #bad-state-machine2018-05-18 05:29 AM
Does STM32L432KC have external clock source?
Check internal frequency via MCO pin PA8
2018-05-18 07:37 AM
I am not using an externel clock.
HSI48 for USB
HSI:16 -> PLL to get 80MHz for the rest
2018-05-22 03:02 AM
on the MCO pin (PA8) I have a 80Mhz clock corresponding to my SysClk.
2018-05-22 03:32 AM
The previous answer was when the application was running.
in DFU mode I dont have any clock signal on the PA8 pin.
2018-05-28 01:17 AM
Turvey.Clive.002
, did you get any trouble with DFU and clock?I have read that they're might be DFU limitations.
I have a version information ID = 0x So no known limitations.
but still wondering if they is any.
2018-06-22 12:17 AM
I add a sleep time of 50ms 'sleep(50)' in case STATE_DFU_DOWNLOAD_BUSY in RunThread() function inside the downloadthread.cpp file
I have compiled the DFUSE v3.0.5 using the source giving by ST with visual Studio 2017.
Now it's working.