0% found this document useful (0 votes)
123 views2 pages

Yuuuuuuuuuu

The document details the compilation process of an Arduino UART test program from a Flowcode source file. It runs the source code through an AVR compiler to generate an ELF file, then a linker to create a hex file and COFF file for the Arduino board, but returns an error when attempting to program the board over USB as the port cannot be found.

Uploaded by

njaramba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views2 pages

Yuuuuuuuuuu

The document details the compilation process of an Arduino UART test program from a Flowcode source file. It runs the source code through an AVR compiler to generate an ELF file, then a linker to create a hex file and COFF file for the Arduino board, but returns an error when attempting to program the board over USB as the port cannot be found.

Uploaded by

njaramba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Target folder: C:\Users\LIPTON~1\DOWNLO~1

Source name: C:\Users\LIPTONTECH LTD\Downloads\Ardunio UART Test 1.fcfx


Title:
Description:
Device: ARD.ATMEGA.ATMEGA328P
Generated by: Flowcode v8.0.0.6
Date: Monday, October 07, 2019 08:20:30
Users: 1
Registered to:
License key: at>
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avra.bat
atmega328p "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.elf"
"C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.c"
"C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.lst"

C:\Users\LIPTON~1\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bi
n\avr-gcc.exe" -mmcu=atmega328p -Os -ffunction-sections -fdata-sections -funsigned-
char -o "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.elf"
"C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.c" -lm -Wl,-gc-sections

C:\Users\LIPTON~1\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bi
n\avr-objdump.exe" -S "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.elf"
1>"C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.lst"

C:\Users\LIPTON~1\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bi
n\avr-size.exe" -B -d "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.elf"
text data bss dec hex filename
1868 40 30 1938 792
C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.elf

Compilation successful!

Launching the linker/assembler...


C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avrb.bat
"C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.elf"
"C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.hex"
"C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.cof"

C:\Users\LIPTON~1\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bi
n\avr-objcopy" -O ihex -R .eeprom "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test
1.elf" "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.hex"

HEX file creation successful!

C:\Users\LIPTON~1\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bi
n\avr-objcopy" -O coff-avr -R .eeprom "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART
Test 1.elf" "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.cof"

COFF file creation successful!

Launching the programmer...


C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avrc_arduinoA.bat
m328p arduino com7 115200 "C:\Users\LIPTON~1\DOWNLO~1\Ardunio UART Test 1.hex"

C:\Users\LIPTON~1\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bi
n\avrdude.exe" -p m328p -P com7 -b 115200 -c arduino -D -U flash:w:"Ardunio UART
Test 1.hex"
avrdude.exe: ser_open(): can't open device "\\.\com7": The system cannot find the
file specified.

avrdude.exe done. Thank you.

Error returned from [avrdude]

C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avrc_arduinoA.bat


reported error code 1

FINISHED

You might also like