Newbie no contact with E-block
Posted: Wed Mar 23, 2011 6:33 pm
Hi everybody
I have just get my E-block and Flowcode 4 for AVR installed.
This is my first experience with this and I have trouble to get the code into my e-block
I wounder how should I setup the compiler so the code is will be tranferd to the processor.
This is what information I get when I compile to Chip.
File name: C:\Users\Kent Andersson\Documents\Flowcode\Examples\TUT_01.c
Generated by: Flowcode v4.3.6.61
Date: Wednesday, March 23, 2011 18:13:56
Licence: Professional
Registered to: Kent Andersson
http://www.matrixmultimedia.com
Launching the compiler...
C:\fcw4\Tools\MX_bats\avra.bat atmega324p "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.c" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.lst"
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-gcc.exe" -mmcu=atmega324p -Os -funsigned-char -o "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.c" -lm
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-objdump.exe" -S "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" 1>"C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.lst"
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-size.exe" -B -d "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf"
text data bss dec hex filename
358 0 22 380 17c C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf
Compilation successful!
Return code = 0
Launching the linker/assembler...
C:\fcw4\Tools\MX_bats\avrb.bat "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.hex" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.cof"
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-objcopy" -O ihex -R .eeprom "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.hex"
HEX file creation successful!
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-objcopy" -O coff-avr -R .eeprom "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.cof"
COFF file creation successful!
Return code = 0
Launching the programmer...
C:\fcw4\Tools\AVRDUDEusb\avrdude.exe AVRDUDE m324p atmega324p "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.hex" "TUT_01.hex" 0 3 223 -1 -1
C:\fcw4\Tools\AVRDUD~1\avrdude.exe: unknown option -- 1
Usage: avrdude.exe [options]
Options:
-p <partno> Required. Specify AVR device.
-b <baudrate> Override RS-232 baud rate.
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-i <delay> ISP Clock Delay [in microseconds]
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-O Perform RC oscillator calibration (see AVR053).
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each request
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-u Disable safemode, default when running from a script.
-s Silent safemode operation, will not ask you if
fuses should be changed back.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-x <extended_param> Pass <extended_param> to programmer.
-y Count # erase cycles in EEPROM.
-Y <number> Initialize erase cycle # in EEPROM.
-v Verbose output. -v -v for more.
-q Quell progress output. -q -q for less.
-? Display this usage.
avrdude project: <URL:http://savannah.nongnu.org/projects/avrdude>
Return code = 0
FINISHED
I hope anybody can put me in right direction.
Regards
Kent
I have just get my E-block and Flowcode 4 for AVR installed.
This is my first experience with this and I have trouble to get the code into my e-block
I wounder how should I setup the compiler so the code is will be tranferd to the processor.
This is what information I get when I compile to Chip.
File name: C:\Users\Kent Andersson\Documents\Flowcode\Examples\TUT_01.c
Generated by: Flowcode v4.3.6.61
Date: Wednesday, March 23, 2011 18:13:56
Licence: Professional
Registered to: Kent Andersson
http://www.matrixmultimedia.com
Launching the compiler...
C:\fcw4\Tools\MX_bats\avra.bat atmega324p "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.c" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.lst"
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-gcc.exe" -mmcu=atmega324p -Os -funsigned-char -o "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.c" -lm
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-objdump.exe" -S "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" 1>"C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.lst"
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-size.exe" -B -d "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf"
text data bss dec hex filename
358 0 22 380 17c C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf
Compilation successful!
Return code = 0
Launching the linker/assembler...
C:\fcw4\Tools\MX_bats\avrb.bat "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.hex" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.cof"
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-objcopy" -O ihex -R .eeprom "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.hex"
HEX file creation successful!
C:\Users\Kent Andersson\Documents\Flowcode\Examples>"C:\fcw4\Tools\MX_bats\..\bin\avr-objcopy" -O coff-avr -R .eeprom "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.elf" "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.cof"
COFF file creation successful!
Return code = 0
Launching the programmer...
C:\fcw4\Tools\AVRDUDEusb\avrdude.exe AVRDUDE m324p atmega324p "C:\Users\KENTAN~1\DOCUME~1\Flowcode\Examples\TUT_01.hex" "TUT_01.hex" 0 3 223 -1 -1
C:\fcw4\Tools\AVRDUD~1\avrdude.exe: unknown option -- 1
Usage: avrdude.exe [options]
Options:
-p <partno> Required. Specify AVR device.
-b <baudrate> Override RS-232 baud rate.
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-i <delay> ISP Clock Delay [in microseconds]
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-O Perform RC oscillator calibration (see AVR053).
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each request
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-u Disable safemode, default when running from a script.
-s Silent safemode operation, will not ask you if
fuses should be changed back.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-x <extended_param> Pass <extended_param> to programmer.
-y Count # erase cycles in EEPROM.
-Y <number> Initialize erase cycle # in EEPROM.
-v Verbose output. -v -v for more.
-q Quell progress output. -q -q for less.
-? Display this usage.
avrdude project: <URL:http://savannah.nongnu.org/projects/avrdude>
Return code = 0
FINISHED
I hope anybody can put me in right direction.
Regards
Kent