I used it with the mmjoy software the next day the pc did not recognize the arduino pro micro, I reinstalled the drivers but it did not work, then when I turn the computer off and on
Pro micro recognized I saw that the values in the analog inputs could be read via mmjoy, then I turned on the arduino ide, but the port information did not appear there, then it switched to bootloader mode. tried to burn bootloader but take avr get sync error
I was able to save the settings to pro micro without any problems in the Mmjoy program.
i have a nodemcu and ch 341a programmer
Due to the USB stack running on the same chip as your sketch with this board, it is possible for code in your sketch to break the USB functionality.
Fortunately, the upload code (bootloader) is stored in a separate section of memory and can not be broken by the sketch code.
The only tricky thing is that the bootloader has to be activated at just the right time during the upload. Normally this is done by some special code that runs in the background of your sketch code recognizing a 1200 baud connection as the signal to reset the microcontroller and start the bootloader. However, in your current situation, that system won't work so you'll need to manually reset the board to activate the bootloader.
You need to get the timing right. If you press the reset button too early, the bootloader will have already timed out by the time the upload starts. The tricky thing is that when you press the "Upload" button in the Arduino IDE, it first compiles your sketch before starting the actual upload. So you need to wait until after the compilation finishes before pressing the reset button (or momentarily connecting the RST pin to the GND pin in the case of the boards like Pro Micro that don't have a reset button).
Try this:
- Select Sketch > Upload from the Arduino IDE's menus.
- Watch the black console window at the bottom of the Arduino IDE window until you see something like this:
Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes. Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
- Immediately press and release the reset button on the Arduino board.
After that, the sketch should upload successfully. If the problem persists after a successful upload, you know there is something in your sketch that is breaking the USB functionality. You can verify this by uploading the File > New sketch, after which the board should be recognized by your computer and you should be able to upload normally. If the problem is in your sketch, you will need to find out what it is in your sketch breaking the USB code. Now that you know how to recover your board, that should be manageable.
I restarted my computer 4 5 times, but now the card does not appear at all, I connected it to my phone with otg, the card did not appear there
Try the instructions I provided in my last reply.
When I switched the arduino to bootloader mode, it did not show up in the device manager and the arduino ide did not see the port. Is there a way to burn the bootloader with nodemcu
You probably don't need a COM port in the IDE. As long as one is selected.
Do a compile/upload. When the IDE reports the memory usage, double tap the reset button; you will have to wire one if you have not done so.
Sketch uses 3954 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes (5%) of dynamic memory, leaving 2411 bytes for local variables. Maximum is 2560 bytes.
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
I tried flashing bootloader to pro micro with arduino uno and it failed
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Error while burning bootloader.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.