Why do you need to install drivers each time Pro Micro is connected?

"Why do you need to install drivers each time Pro Micro is connected?"

I have a couple pro micros I am trying to work with.

This is my fist time playing with these boards, I am usually only messing with 328P based boards..

In both my +5 & +3.3v versions of the board is connected..

I get a device driver prompt....why? (I could understand the initial time, but every time?)

The board seems to work/run the sketch when plugged in fine enough (simple default blink sketch or pro micro)

But for the IDE (1.6.4) to find/have a port to address the board.. I need to install drivers each and every time??

I'm hoping this is wrong? And I am doing something in-correctly?

I understand that everytime I plug in the Pro Micro.. it will enumerate the com port (ie: com 17, com 18..etc)

but having to install drivers every time?

Windows is somewhat picky with USB drivers, when you e.g. only connect the same device to an different port, or the programmed controller reports a changed device ID (or similar info).

Dunno about Micro, perhaps it helps to use a programmer module, which doesn't change its device ID with every download?

I thought that issue had been solved, but I guess not. Does the COM port number go up every time?

HI guys..

thanks for the replies..

1.) Yes.. from what I noticed.. the port # do enumerate (Com 17, Com 18..etc)

Using a USB > FTDI type programmer -is- doable I guess.. (not sure how it work for/on a Pro Micro however)... since the pins are different.. (at least # wise... not sure if anything else needs to be done)

I seem to get mixed results.....Here are my steps/results as I walk through them right now.

Taking a Pro Micro (that has already been plugged in before.. and even had sketches uploaded to it), plugged it in: (freshly rebooted computer, which currently is an XP machine)

1.) Currently.. I am NOT getting any type of device driver prompt.. (although usually I get some sort of notice.. either Pro Micro was plugged in or a driver prompts,... so I'm not sure what to think here?)

2.) I open the Arduino IDE (v1.6.4) (which seems to take a LONG time to load? maybe because of all the board and library manager stuff I added?)

3.) I open a previously saved default Pro Micro Blink Sketch, I select my board type: Sparkfun Pro Micro +3.3v/8MHz, the PORT option is grey'd out.. (ie: I cant select anything)

4.) I try to click upload ANYWAYS... and I get some odd output on the screen (but the code does in fact seem to upload?) WTH!??

Sketch uses 6,072 bytes (21%) of program storage space. Maximum is 28,672 bytes.
Global variables use 346 bytes of dynamic memory.
Forcing reset using 1200bps open/close on port COM18
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM18, } => {}
PORTS {COM18, } / {COM17, } => {COM17, }
Found upload port: COM17
C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM17 -b57600 -D -Uflash:w:C:\DOCUME~1\Jaime\LOCALS~1\Temp\build6845534872930565510.tmp/Pro_Micro_Blink.cpp.hex:i 

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM17
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega32U4
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : butterfly
         Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587
avrdude: reading input file "C:\DOCUME~1\Jaime\LOCALS~1\Temp\build6845534872930565510.tmp/Pro_Micro_Blink.cpp.hex"
avrdude: writing flash (6072 bytes):

Writing | ################################################## | 100% 0.59s

avrdude: 6072 bytes of flash written
avrdude: verifying flash memory against C:\DOCUME~1\Jaime\LOCALS~1\Temp\build6845534872930565510.tmp/Pro_Micro_Blink.cpp.hex:
avrdude: load data flash data from input file C:\DOCUME~1\Jaime\LOCALS~1\Temp\build6845534872930565510.tmp/Pro_Micro_Blink.cpp.hex:
avrdude: input file C:\DOCUME~1\Jaime\LOCALS~1\Temp\build6845534872930565510.tmp/Pro_Micro_Blink.cpp.hex contains 6072 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.14s

avrdude: verifying ...
avrdude: 6072 bytes of flash verified

avrdude done.  Thank you.

I'm not clear WHY:

1.) The port stuff is commented out. 2.) Why it worked anyways. 3.) What the output is trying to tell me?

-update: I remember I turned on verbose haha.. :(

I opened a NEW IDE window...

opened default blink sketch for Pro Micro.. uploaded..

again it worked.. and this time the port menu was NOT grey'd out?

(upload and sketch ran fine again)

This time.. while I am documentating as I walk through each step..

the COM Port is not incrementing. I am NOT getting any driver prompts.. (or even any notification that the board has been plugged in?)

But powers and runs the sketch so far...

If things stay like this.. I guess I'd be happy/ok with it...

I'm a bit curious how it will work in the end once its plugged into the target machine though..

thoughts? feedback?

thanks! :)

Well, if it is working and the COM port number isn't going up, consider the problem solved!

Isaac96: Well, if it is working and the COM port number isn't going up, consider the problem solved!

Windows hidden devices

You can delete those ports assigned previously/

Ray