RogerClark wrote:Umm
Sounds like the bootloader does its normal thing of waiting for DFU for a short time (about a second) then tries to run the sketch code (at 0x8005000 or 0x8002000 depending on the bootloader version).
gwiheo wrote:
Hi Roger,
Disregard the previous my message. I found that I made a mistake in wrong port number in blink. It solved.
/*———————————————————————————————————-
I have an error message in uploading at Arduino sketch file as below.
“error resetting after download: usb_reset: could not reset device, win error”
I tried to blink test using sample file at A_STM32 Examples, but LED did not blink.
—————————————————————————————————————-*/
——————————————————————————————————————-
Starting download: [##################################################] finished!
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
error resetting after download: usb_reset: could not reset device, win error: Could not find the designataed files.
Done!Resetting USB to switch back to runtime mode
RogerClark wrote:Umm
Sounds like the bootloader does its normal thing of waiting for DFU for a short time (about a second) then tries to run the sketch code (at 0x8005000 or 0x8002000 depending on the bootloader version).
The Serial USB device is provided by the sketch not the bootloader, so if the sketch crashes you will not get any Serial device (or if you selected a menu option that doesnt include serial in the sketch (I think this is only the Serial Upload option now that does not compile in the USB serial device))
If you have a Maple Mini, then you need to force it into Perpetual bootloader mode (There are various vidoes on youtube which show how to do this by pressing and holding the Button, just after you have pressed and released reset)
This will lock it in DFU upload mode, and you can try uploading a simple sketch e.g. Blink, which should include the Serial USB device, if you select Maple bootloader.
If Blink runs but you don’t have a serial device, and you have definitely selected the correct menu options, I’m not sure what else could cause problems (perhaps your board is faulty)