that's getting me insane
Here's my Story:
I had FC 8 and FC 9 working fine.
Some Mega 2560 projects compiled to chip without any problem.
Then i tried a small project for an Arduino Leonardo (only Blinking an LED)
Nothing worx.
Compiler shows errors.
I updated the arduino ide to latest version 1.8.15
Tried to compile a small test programm to chip.
This worx without any problem.
Tried to use FC 8 instead of FC 9 hoping to find where the error is.
Does not work.
Compiler error:
Uninstalled:
Arduino IDE completly
All compilers connected to my licence
FC 8
FC9
All FC 9 compilers connected to my licence
Deleted all directories and the "programData" directories
Reinstalled:
Arduino IDE 1.8.15
FC 8
All compilers
Started FC 8 and tried to compile to chip te small test programm.
Same error:
Reinstalled FC 9
Reinstalled all compilers some of them in repair mode
Tried the small test program.
Compiler error like hours before
the only idea i have is that further times the arduino connects to COM Port 3 or 5 i don't remember.
And after i used the Leonardo all Arduinos connecting at COM Port 8 with the following adjustments.
Please give me a hint...
Andreas the broken man
Arduino MEGA 2560 Cannot Compile to Chip
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Arduino MEGA 2560 Cannot Compile to Chip
- Determine the correct programmer COM port for your Leonardo.
Run Windows Device Manager.
Press reset on the Leonardo and watch out for the Port (COM & LPT) that appears for a few seconds. Make a note of the COMxx port.
- Settings for Flowcode project "Project Options" screen.
Ensure you have the correct “Leonardo” as the target device.
Enter the COMxx port number into the "Programmer Port" drop list.
The COM port will need to be active at this point, so press the Leonardo reset button such that Flowcode can see it.
Press the Modify button to save this setting.
- Compile to Target.
Press the reset button on the Leonardo when Flowcode requests this with the "Please press the reset button on your hardware" dialogue.
Your post title is "Arduino MEGA 2560 Cannot Compile to Chip"
But your text says Mega is OK, but Leonardo does not work.