Arduino 2560 error compiler......... Help me!!!!!

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
solozerouno
Posts: 119
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 4:36 am
Has thanked: 2 times
Been thanked: 2 times

Arduino 2560 error compiler......... Help me!!!!!

Post by solozerouno »

I can not compile in the component Arduino 2560.... I tried to re-download the toolchain avr it doesn't change anything, I tried to do the repair it doesn't change anything if I look at the compiler options it doesn't let me compile except with E-Bloks , it doesn't accept other compile parameters like USB Tiny and AVRISPmk2; if I compile it tells me that STK 500 doesn't compile or even " error returned from ( avr dude) o
FCD\batchfiles\avrc_arduinoA.bat reported the error code 0x1.
I don't understand how to correct the error.....
Please help me.
thanks solozerouno.

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 701 times

Re: Arduino 2560 error compiler......... Help me!!!!!

Post by medelec35 »

Hi solozerouno
solozerouno wrote:
Sat Jul 24, 2021 12:33 am
it doesn't accept other compile parameters like USB Tiny and AVRISPmk2;
That's not how it works with the Arduino range.
As the Ardunio hardware uses an onboard USB to UART converter, programming is done via a virtual com port.
Therefore all the programming parameters are fixed depending on what Arduino board you have.
The programming data is sent via USB, converted to serial RS232 and the bootloader within the microcontroller programmes the microcontroller with the code.
It's only if you purchase the microcontroller itself from new and select that e.g ATmega2560 you can program via Tiny and AVRISPmk2

It is best to have the Arduino board connected before running your Flowcode project.
When you connect any Arduino board the PC will detect the onboard USB to serial converter.
A new COM port will show up within the device manager.
Check within the PC device manager to what the comport number is.
With my Arduino UNO plugged in, the COM port is showing as COM8:
Uno COM8.png
Uno COM8.png (3.06 KiB) Viewed 2117 times
Note: Depending on what drivers used, the Ardunio may show up as Serial device rather than Ardunio.
Within Flowcode, select Build ribbon, Project options.
Make sure you have the correct COM port selected instead of n/A:
Correct port.png
Correct port.png (7.05 KiB) Viewed 2116 times
After selecting the correct COM port, then ModifyYou should be good to go.
Martin

Post Reply