Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change board type and com port while compiling - did i bricked my devie? #7472

Closed
bithost opened this issue Apr 15, 2018 · 1 comment
Closed
Labels
Type: Duplicate Another item already exists for this topic

Comments

@bithost
Copy link

bithost commented Apr 15, 2018

Hello,
I just got my first Arduino Pro micro. Downloaded Arduino IDE. Opened it and forgot to change board type and com port to match my device.
I pressed upload to test default code, when it started compiling, i noticed what board type and com port is wrong, so i changed to match my board. Finished compiling and uploaded code. And now only green light is on.
So the first question:

  1. Is my Arduino pro micro bricked?:)
  2. Why Arduino IDE allowed me to change board type and com port when it was compiling?

Thanks,
Tadas

@per1234
Copy link
Collaborator

per1234 commented Apr 15, 2018

Is my Arduino pro micro bricked?:)

Only temporarily. Do this:

  1. Connect a jumper wire to the "RST" pin on your Pro Micro.
  2. File > Preferences > Show verbose output during: > upload (check) > OK
  3. Sketch > Upload
  4. Watch the black console window at the bottom of the Arduino IDE window. As soon as you start seeing something like: PORTS {COM1, COM3, COM4, } / {COM1, COM3, COM4, } => {} momentarily connect the "RST" pin to the "GND" pin.

The upload should finish successfully and you should be able to upload normally from then on.

Why Arduino IDE allowed me to change board type and com port when it was compiling?

Regarding board type, it's a very good question and I'd like to see this fixed. In fact a proposal for a fix has already been made but not merged: #6106. However, there is already an issue report for this (#6035) so I'm closing this issue as duplicate.

Regarding port change, I find that to be very useful since I often forget to update the Port menu selection but am able to get it set correctly before the compilation finishes and I don't see any possible problems that could be caused by this.

@per1234 per1234 closed this as completed Apr 15, 2018
@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

2 participants