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
Arduino Micro 3.3v upload error.
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Arduino Micro 3.3v upload error.
Hi Martin,
I've created a new definition file for you named "Arduino Micro 8MHz". It should be available for you to download now via the update system.
Fingers crossed it helps
I've created a new definition file for you named "Arduino Micro 8MHz". It should be available for you to download now via the update system.
Fingers crossed it helps
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 1188
- Joined: Wed May 31, 2017 11:57 am
- Has thanked: 70 times
- Been thanked: 439 times
- Contact:
Re: Arduino Micro 3.3v upload error.
Thanks Ben,
No sign of it this evening in the updates (of all files) - though there was an update to the Lilypad USB file?
Martin
No sign of it this evening in the updates (of all files) - though there was an update to the Lilypad USB file?
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Arduino Micro 3.3v upload error.
Hi Martin,
It's showing up for me, maybe you've already downloaded the file?
You can tell if you already have the file by looking in the target device list.
It's showing up for me, maybe you've already downloaded the file?
You can tell if you already have the file by looking in the target device list.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 1188
- Joined: Wed May 31, 2017 11:57 am
- Has thanked: 70 times
- Been thanked: 439 times
- Contact:
Re: Arduino Micro 3.3v upload error.
Thanks,
Will have another look tonight. Had an epically busy day yesterday - so quite possibly that I just missed it!
Martin
Will have another look tonight. Had an epically busy day yesterday - so quite possibly that I just missed it!
Martin
-
- Valued Contributor
- Posts: 1188
- Joined: Wed May 31, 2017 11:57 am
- Has thanked: 70 times
- Been thanked: 439 times
- Contact:
Re: Arduino Micro 3.3v upload error.
Found it now - but can't get code to upload using it...
Looking at the fcdx file - should the comminfo section mirror the lilypad usb section??
Martin
Looking at the fcdx file - should the comminfo section mirror the lilypad usb section??
Martin