Page 1 of 1

Flowcode V7 and Arduino UNO R3 [solved]

Posted: Fri Oct 07, 2016 10:22 am
by Electro39
Hello. Sorry for my english ).
I use Flowcode V7.1.1.0 and i try upload code in Arduino UNO R3 (PDIP). I see error:

But with latest Arduino software, i can successful upload sketch in to UNO R3 board without any errors!

Code: Select all

Target folder: C:
Source name:   C:\Flowcode1.fcfx
Title:         
Description:   
Device:        AVR.ATMEGA.ATMEGA328P
Generated by:  Flowcode v7.1.1.0
Date:          Friday, October 07, 2016 11:03:02
Users:         1
Registered to: 
Licence key:   *****
   NOT FOR COMMERCIAL USE
http://www.flowcode.co.uk
Launching the compiler...
C:\Program Files\Flowcode 7\compilers\avr\batchfiles\avra.bat  atmega328p "C:\Flowcode1.elf" "C:\Flowcode1.c" "C:\Flowcode1.lst"
Launching compiler...

C:\Users\Stein\Desktop>"C:\PROGRA~1\FLOWCO~1\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega328p -Os -funsigned-char -o "C:\Flowcode1.elf" "C:\Flowcode1.c" -lm 

C:\Users\Stein\Desktop>"C:\PROGRA~1\FLOWCO~1\COMPIL~1\avr\BATCHF~1\..\bin\avr-objdump.exe" -S "C:\Flowcode1.elf"  1>"C:\Flowcode1.lst" 

C:\Users\Stein\Desktop>"C:\PROGRA~1\FLOWCO~1\COMPIL~1\avr\BATCHF~1\..\bin\avr-size.exe" -B -d "C:\Flowcode1.elf" 
   text	   data	    bss	    dec	    hex	filename
    704	      0	     22	    726	    2d6	C:\Flowcode1.elf

Compilation successful!
Completed compilation, return = 0

Launching the linker/assembler...
C:\Program Files\Flowcode 7\compilers\avr\batchfiles\avrb.bat  "C:\Flowcode1.elf" "C:\Flowcode1.hex" "C:\Flowcode1.cof"

C:\Users\Stein\Desktop>"C:\PROGRA~1\FLOWCO~1\COMPIL~1\avr\BATCHF~1\..\bin\avr-objcopy" -O ihex -R .eeprom  "C:\Flowcode1.elf" "C:\Flowcode1.hex" 

HEX file creation successful!

C:\Users\Stein\Desktop>"C:\PROGRA~1\FLOWCO~1\COMPIL~1\avr\BATCHF~1\..\bin\avr-objcopy" -O coff-avr -R .eeprom  "C:\Flowcode1.elf" "C:\Flowcode1.cof" 

COFF file creation successful!

Launching the programmer...
C:\Program Files\Flowcode 7\compilers\avr\batchfiles\avrc_arduinoA.bat  m328p arduino com7 115200 "Flowcode1.hex"

C:\Users\Stein\Desktop>"C:\PROGRA~1\FLOWCO~1\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m328p -P com7 -b 115200 -c arduino -U flash:w:"Flowcode1.hex"                      

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0x1e950f
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "Flowcode1.hex"
avrdude.exe: error opening Flowcode1.hex: No such file or directory
avrdude.exe: input file Flowcode1.hex auto detected as invalid format
avrdude.exe: can't open input file Flowcode1.hex: No such file or directory
avrdude.exe: read from file 'Flowcode1.hex' failed

avrdude.exe done.  Thank you.


Error returned from [avrdude]

C:\Program Files\Flowcode 7\compilers\avr\batchfiles\avrc_arduinoA.bat reported error code 1



FINISHED

Re: Flowcode V7 and Arduino UNO R3

Posted: Mon Oct 10, 2016 2:51 pm
by LeighM
Could you try moving your project to a sub-directory of drive C:
for example, not C:\Flowcode1.fcfx, but C:\projects\Flowcode1.fcfx

Re: Flowcode V7 and Arduino UNO R3

Posted: Wed Oct 12, 2016 9:02 am
by Electro39
LeighM wrote:Could you try moving your project to a sub-directory of drive C:
for example, not C:\Flowcode1.fcfx, but C:\projects\Flowcode1.fcfx
This is work!!! Thank you!