2020-02-26 03:05 AM
My USB HOST (Mass Storage Device) Code is running fine in STM32CUBEMX System work Bench but When this code is implementing in Kiel Software when i am connected the pendrive to my USB HOST Port then my processor get stop and remove the pendrive and i got the watchdog reset and run code as Host idle mode.
2020-02-27 09:25 AM
Hardfault happens?
If yes, instrument hardfault and debug as usually, i.e. from stack find out the offending code etc. This has been discussed here several times.
You may want to disable watchdog during debugging, so it does not interfere.
JW