Hallo zusammen,
anbei meine Einstellungen:
Projekt Optionen habe ich mir einen Arduino UNO angelegt, mit folgenden Einstellungen:
Compiler Einstellungen:
$(appdir)compilers\avr\batchfiles\avra.bat
$(chip:l) "$(outdir)$(target).elf" "$(outdir)$(target).c" "$(outdir)$(target).lst"
Linker/Assembler:
$(appdir)compilers\avr\batchfiles\avrb.bat
"$(outdir)$(target).elf" "$(outdir)$(target).hex" "$(outdir)$(target).cof"
Programmierer:
$(appdir)compilers\avr\batchfiles\avrc_arduinoA.bat
$(chipalt) stk500 com1 115200 "$(target).hex"
und als Beweis auch noch die test.msg.txt Datei:
Target folder: D:\Flowcode
Source name: D:\Flowcode\test.fcfx
Title:
Description:
Device: AVR.ATMEGA.ATMEGA328P
Generated by: Flowcode v6.0.10.0
Date: Sunday, August 24, 2014 12:27:37
Users: 1
Registered to: Sfrancke_082014
Licence key:
http://www.matrixtsl.com
Start des Compilers...
C:\Flowcode6\compilers\avr\batchfiles\avra.bat atmega328p "D:\Flowcode\test.elf" "D:\Flowcode\test.c" "D:\Flowcode\test.lst"
Launching compiler...
D:\Flowcode>"C:\Flowcode6\compilers\avr\batchfiles\..\bin\avr-gcc.exe" -mmcu=atmega328p -Os -funsigned-char -o "D:\Flowcode\test.elf" "D:\Flowcode\test.c" -lm
D:\Flowcode>"C:\Flowcode6\compilers\avr\batchfiles\..\bin\avr-objdump.exe" -S "D:\Flowcode\test.elf" 1>"D:\Flowcode\test.lst"
D:\Flowcode>"C:\Flowcode6\compilers\avr\batchfiles\..\bin\avr-size.exe" -B -d "D:\Flowcode\test.elf"
text data bss dec hex filename
666 0 22 688 2b0 D:\Flowcode\test.elf
Compilation successful!
Completed compilation, return = 0
Start von Linker/Assembler...
C:\Flowcode6\compilers\avr\batchfiles\avrb.bat "D:\Flowcode\test.elf" "D:\Flowcode\test.hex" "D:\Flowcode\test.cof"
D:\Flowcode>"C:\Flowcode6\compilers\avr\batchfiles\..\bin\avr-objcopy" -O ihex -R .eeprom "D:\Flowcode\test.elf" "D:\Flowcode\test.hex"
HEX file creation successful!
D:\Flowcode>"C:\Flowcode6\compilers\avr\batchfiles\..\bin\avr-objcopy" -O coff-avr -R .eeprom "D:\Flowcode\test.elf" "D:\Flowcode\test.cof"
COFF file creation successful!
Start des Programmers...
C:\Flowcode6\compilers\avr\batchfiles\avrc_arduinoA.bat m328p stk500 com1 115200 "test.hex"
D:\Flowcode>"C:\Flowcode6\compilers\avr\batchfiles\..\bin\avrdude.exe" -p m328p -P com1 -b 115200 -c stk500 -U flash:w:"test.hex"
avrdude.exe: successfully opened stk500v1 device -- please use -c stk500v1
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 "test.hex"
avrdude.exe: input file test.hex auto detected as Intel Hex
avrdude.exe: writing flash (666 bytes):
Writing | ################################################## | 100% 0.12s
avrdude.exe: 666 bytes of flash written
avrdude.exe: verifying flash memory against test.hex:
avrdude.exe: load data flash data from input file test.hex:
avrdude.exe: input file test.hex auto detected as Intel Hex
avrdude.exe: input file test.hex contains 666 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 0.09s
avrdude.exe: verifying ...
avrdude.exe: 666 bytes of flash verified
avrdude.exe done. Thank you.
Programming successful!
BEENDET