Connect your arduino error message

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
flowcode-developer
Posts: 37
http://meble-kuchenne.info.pl
Joined: Thu Feb 02, 2023 9:32 pm
Has thanked: 19 times
Been thanked: 3 times

Flowcode v10 Connect your arduino error message

Post by flowcode-developer »

Hello,
I am using the Arduino chipset. I am trying to program my ARDUINO ATMEGA2560 using the "compile to target." When I attempt to I see that that the code compiles but a message pops up saying "connect your Arduino." I do have it connected via USB. When I connect it to Arduino studio I have no issues. I make sure to close Arduino studio before attempting to compile to target. I did select the right COM for my programmer port. Is there some configuration I am missing? I attached the error message I get and the configuration I set up.

Thank you,
Joel
Attachments
CONFIG ERRORS.pdf
snips
(52.86 KiB) Downloaded 37 times

mnfisher
Valued Contributor
Posts: 972
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 515 times

Re: Connect your arduino error message

Post by mnfisher »

If you click 'do not show this again' and 'okay' does it work ok or fail to upload?

Martin

flowcode-developer
Posts: 37
Joined: Thu Feb 02, 2023 9:32 pm
Has thanked: 19 times
Been thanked: 3 times

Re: Connect your arduino error message

Post by flowcode-developer »

it shows that it failed.



Target folder: C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST
Source name: C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.fcfx
Title:
Description:
Device: ARD.ATMEGA.ATMEGA2560
Generated by: Flowcode v10.0.1.18
Date: Friday, February 24, 2023 12:31:01
Users: 1
Registered to: jborja21 (86516721)
Licence key: EFEUGB
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\batchfiles\avra.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\" atmega2560 "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.elf" "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.c" "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.lst"

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM CRC: EA277D0C7EF9B4E537B79187D0BE7A25FA6080B4B01BE48BAF713429E4B690411241251B4A05C2B5828F4452C9F7348705C640EF477B79E0C7881D2E5EEC9BD69A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF5A24465F11D9C3B2DBA3F4E37F13004EE3637760F1F0B7DA0CC623CD30E3C7D6BAB4C3FE6151D92B8EC0ADD55E96639DAC02472BDE3806EF43AE3A028BD32A5DAE68BB191DA97CB6883A66D3C41849952BB2DD264AF32733E2C3050DA273BE4EE1FA30153290F2FAFBD2259D77AD477809E9C4D76400384BA5D2E1919BC6D834D57C406BC4A49D3F1

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM REVISION: 1.0

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM GUID: EA0828B2-5C70-41A5-8C54-F359DD5CC88B

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM DATE: 08\08\2022

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM DIR: FCD\AVR\batchfiles\avra.bat

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\bin\avr-gcc.exe" -mmcu=atmega2560 -Os -ffunction-sections -fdata-sections -funsigned-char -o "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.elf" "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.c" -lm -Wl,-gc-sections

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\bin\avr-objdump.exe" -S "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.elf" 1>"C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.lst"

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\bin\avr-size.exe" -B -d "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.elf"
text data bss dec hex filename
414 0 0 414 19e C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.elf

Compilation successful!

Using FCD settings for linker
Launching the linker/assembler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\batchfiles\avrb.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\" "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.elf" "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.hex" "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.cof"

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM CRC: EA277D0C7EF9B4E537B79187D0BE7A25FA6080B4B01BE48BAF713429E4B69041F19754DEA3580B6825E5D6A5C09874F305C640EF477B79E0C7881D2E5EEC9BD69A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF5202CD64388F0AF24F175A82BBF7DF194C31451F662291FA2302B8E00B0793B98DE54674FED6890F09D29E6D6AF5F4CDA2A0B069D1A731E4BF7CAEBD6A00B6313A3554E78FBF27EB2E2AB377A2B2C9B1D3B75C13EB27ADD422C3050DA273BE4EEA03AAF1B2D5E9A8C92AFCC9691A050BCD9E1A3B49732FB7C850400E5B608E745107C571680B732A8

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM REVISION: 1.0

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM GUID: C4F77EBB-EDB0-4261-B01E-F0B1AB94E03A

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM DATE: 08\08\2022

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM DIR: FCD\AVR\batchfiles\avrb.bat

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\bin\avr-objcopy" -O ihex -R .eeprom "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.elf" "C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST\LED_ATMEGA2560.hex"

HEX file creation successful!

Using FCD settings for programmer
Launching the programmer...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\batchfiles\avrc_arduinoB.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\" m2560 stk500v2 COM10 115200 "LED_ATMEGA2560.hex"

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM CRC: EA277D0C7EF9B4E537B79187D0BE7A25FA6080B4B01BE48BAF713429E4B69041072C26934F62BA2AD18E3139D88C14D79B7332D7455FC12D75A8268EAA28F070F6A4CCB7873802B223E4F4A1008A35919A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF51EB2672309F38B5BC562FCC8E801D34E93AC09C2DF3FF9CFA1C49DFB795D4181815DC88F96A50A238E0C4F48DEC430F3F09E4231F1B2C67DEC5EE0FB715C5DEC1E3E13575D5C99951E93D9EE0D2D0D01E24CC4F36E72E45E2C3050DA273BE4EE525EEC0800A860A656116A2EFD2D48328B23C29D3751446561112B2378F6127E5D3A7ED706D09BBA

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM REVISION: 1.0

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM GUID: 67C6936B-1A8D-4957-91C9-AE352304F2B6

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM DATE: 08\08\2022

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>REM DIR: FCD\AVR\batchfiles\avrc_arduinoB.bat

C:\Users\jborja\OneDrive - ecotecco.com\Documents\FlowCode Files\LED_TEST>"C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\batchfiles\..\bin\oldavrdude\avrdude.exe" -p "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\\" -P stk500v2 -b COM10 -c m2560 -U flash:w:115200
The system cannot find the path specified.

Error returned from [avrdude]

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\AVR\batchfiles\avrc_arduinoB.bat reported error code 0x3

Autoclose turned off


FINISHED

medelec35
Matrix Staff
Posts: 1457
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 513 times
Been thanked: 473 times

Re: Connect your arduino error message

Post by medelec35 »

Hello.
Can you move your project to your local drive e.g C:\Projects and try again?
One possible issue is the path length is too long.
Martin

Post Reply