Help! my arduino!

I can upload to my arduino pro micro just fine but everytime I need to reburn. I am using Uuntu Linux. Is there a script or soemthing that can help me so i dont need to reburn everyime.

Sounds like your auto-reset circuit isn't working.

When you burn a fresh bootloader it has nothing better to do than wait for an upload. Once it has uploaded a sketch it only spends a short time after Reset looking for a new upload before it passes control to the last sketch that was uploaded.

If your USB-to-Serial adapter has an RX light, just hold down the Reset button and start the upload. When the RX light blinks, release the Reset button. That will turn control over to the bootloader which will then catch the second or third try.

If you don't have a light to tell you when the PC is sending, try holding down Reset until you see the message:

Sketch uses ____________
Global variables use _________

1 Like

so i just make a makeshift one (ground and reset)? Yeah that's right I know big boy words like makeshift because I'm a big boy now

Can you elaborate?

A ProMicro gets into boot loader mode when you reset the board or when you open and close the serial port with a baudrate of 1200. It will skip the boot loader mode when power cycling.

If you have a line like while(!Serial); in setup() and you do not have a connection open with the board, it will hang there forever (e.g. stand alone mode, no PC connected).

Note:
A ProMicro does not have a separate USB-to-TTL adapter; the USB functionality is part of the 32U4.

1 Like

It does not recognize it after and it calls it ABA1306 instead of pro micro now.

You liar it doesnt work!!!

"it doesn't work" does not mean anything, you will have to give far better descriptions. But I indeed was a liar. For the Sparkfun ProMicro and the Arduino Micro, you have to double tap the reset, not a single press and release. For the Arduino Leonardo, a single press and release is sufficient to get it in boot loader mode.

I think that how it identifies itself after loading code might depend on the code that you loaded. Have you tried a simple blink sketch?

I'm sure you meant, "I say, old chap, can't seem to make it work. Would you mind...?"

:wink:

John is the liar hes mean to me >:(

It does not do anything mr. Lion!

Dusted of my Antix (Linux) system to check if I can reproduce the behaviour that you see.

lsusb when your sketch is running

Bus 002 Device 002: ID 1b4f:9204

lsusb upload

Bus 002 Device 003: ID 1b4f:9203

1b4f indicates SparkFun, 9204 ('run' mode) and 9203 (upload mode after double tap of reset) identify the board.

dmesg when double tapping the reset button

[ 4639.383209] usb 2-1: USB disconnect, device number 18
[ 4640.079131] usb 2-1: new full-speed USB device number 19 using uhci_hcd
[ 4640.255170] usb 2-1: New USB device found, idVendor=1b4f, idProduct=9203
[ 4640.255177] usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 4640.255181] usb 2-1: Product: Pro Micro 3.3V
[ 4640.255185] usb 2-1: Manufacturer: SparkFun Electronics
[ 4640.257281] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
[ 4647.959061] usb 2-1: reset full-speed USB device number 19 using uhci_hcd
[ 4648.089081] usb 2-1: device firmware changed
[ 4648.089121] usb 2-1: USB disconnect, device number 19
[ 4648.303044] usb 2-1: new full-speed USB device number 20 using uhci_hcd
[ 4648.476065] usb 2-1: New USB device found, idVendor=1b4f, idProduct=9204
[ 4648.476071] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4648.476075] usb 2-1: Product: SparkFun Pro Micro
[ 4648.476079] usb 2-1: Manufacturer: SparkFun
[ 4648.479200] cdc_acm 2-1:1.0: ttyACM0: USB ACM device

The first part (up to 4640) is where the reset button was double tapped. 7 seconds later the boot loader returns control to the sketch.

Please check against the outcome of your board. While your sketch is running, it can influence how the board identifies itself; if not mistaken, this is set in boards.txt.

Note:
For a 5V/16 MHz board, the pids should be 9205 and 9206. The pids in above are for a 3.3V/8MHz version.

1 Like

Ok thank you mr.lion but i not try it right now later ok? I have school.