Arduino Micro 3.3v upload error.
Posted: Sun Dec 16, 2018 8:41 pm
Trying to upload a sketch to an Arduino pro-micro (3.3v 8MHz) which is reported as a LilypadUSB. (I needed something with 3.3v pins and didn't want to bother with the extra hassle of a level shifter)
After some experimenting I managed to get a sketch to upload from within FC8 (pull reset to ground twice quickly to enter bootloader) - however after uploading the sketch the board no longer shows up as a USB device.
A couple of thoughts/ideas:
The Arduino IDE resets the board by opening and closing the com port at 1200baud.
The programming port is (at least on my system) different (+1) from the actual com port (COM25 rather than COM24)
avrc_arduinoA.bat has a couple of lines (mode comport... remmed out) that look to be designed to 'try' and reset the Arduino.
FC
After programming from FC the Arduino IDE can no longer perform it's 'reset' trick - but I can get things back to normal by resetting the board twice in quick succession. After loading a sketch from the Arduino IDE things are restored to normal.
I would like to use the board more as a 'micro' equivalent (USB HID etc)
Using the Lilypad USB - I can't change the clock speed from 16MHz to 8MHz (so timings are out)...
So what I really need is a new pro-micro definition file (I might take a peek in the 'micro' and 'lilypad' files and see if I can mash something up!)
And - not sure there really is a bug - just needs a new definition file?
Martin
After some experimenting I managed to get a sketch to upload from within FC8 (pull reset to ground twice quickly to enter bootloader) - however after uploading the sketch the board no longer shows up as a USB device.
A couple of thoughts/ideas:
The Arduino IDE resets the board by opening and closing the com port at 1200baud.
The programming port is (at least on my system) different (+1) from the actual com port (COM25 rather than COM24)
avrc_arduinoA.bat has a couple of lines (mode comport... remmed out) that look to be designed to 'try' and reset the Arduino.
FC
After programming from FC the Arduino IDE can no longer perform it's 'reset' trick - but I can get things back to normal by resetting the board twice in quick succession. After loading a sketch from the Arduino IDE things are restored to normal.
I would like to use the board more as a 'micro' equivalent (USB HID etc)
Using the Lilypad USB - I can't change the clock speed from 16MHz to 8MHz (so timings are out)...
So what I really need is a new pro-micro definition file (I might take a peek in the 'micro' and 'lilypad' files and see if I can mash something up!)
And - not sure there really is a bug - just needs a new definition file?
Martin