Arduino MEGA 2560 Cannot Compile to Chip

Moderator: Benj

Post Reply
User avatar
AndreasR
Posts: 44
Joined: Tue Aug 02, 2011 9:27 am
Location: Germany
Has thanked: 5 times
Been thanked: 3 times
Contact:

Arduino MEGA 2560 Cannot Compile to Chip

Post by AndreasR »

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:
Compiler error FC 8.png
Compiler error FC 8.png (109.42 KiB) Viewed 3671 times
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:
Compiler error FC 8.png
Compiler error FC 8.png (109.42 KiB) Viewed 3671 times
Reinstalled FC 9
Reinstalled all compilers some of them in repair mode
Tried the small test program.
Compiler error like hours before :-(
Compiler error FC9.png
Compiler error FC9.png (121.65 KiB) Viewed 3671 times

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.

Arduino Mega COM Port.png
Arduino Mega COM Port.png (10.91 KiB) Viewed 3671 times
Please give me a hint...
Andreas the broken man
often i ask myself:
why i´m not a gardener ?
=:-)

User avatar
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

Post by LeighM »

  • 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.
Note:
Your post title is "Arduino MEGA 2560 Cannot Compile to Chip"
But your text says Mega is OK, but Leonardo does not work.

Post Reply