Hello everyone. At the beggining: if this post is in bad category, i'm sorry, please move it.
I'm new user of Code::Blocks and I think it's really nice IDE but I have a big problem and I don't know how to solve it. I would like to start programming microcontrollers. I chosed Atmel AVR as are very popular in my country. Moreover I'm using Linux Ubuntu and Code::Blocks 12.11 . I've installed program with these commands :
sudo apt-get install avr-libc
sudo apt-get install binutils
sudo apt-get install uisp
sudo apt-get install avrdude
sudo apt-get install codeblocks
sudo apt-get install --reinstall libc6-dev
sudo ln -s /usr/include/i386-linux-gnu/* /usr/lib/avr/include/
then I come to Code::Blocks, click "New Project" and I try to compile simple program. The result is:
-------------- Build: Release in test3 (compiler: GNU AVR GCC Compiler)---------------
avr-gcc -Wall -mmcu=atmega32 -DF_CPU=16000000UL -Os -I/usr/include -c main.c -o obj/Release/main.o
avr-g++ -L/usr/lib -o bin/Release/test3.elf obj/Release/main.o -mmcu=atmega32 -Wl,-Map=bin/Release/test3.map,--cref
Output size is 3,73 KB
Running project post-build steps
avr-objdump -h -S bin/Release/test3.elf > bin/Release/test3.lss
avr-objcopy -R .eeprom -R .fuse -R .lock -R .signature -O ihex bin/Release/test3.elf bin/Release/test3.hex
avr-objcopy --no-change-warnings -j .eeprom --change-section-lma .eeprom=0 -O ihex bin/Release/test3.elf bin/Release/test3.eep
avr-objcopy --no-change-warnings -j .lock --change-section-lma .lock=0 -O ihex bin/Release/test3.elf bin/Release/test3.lock
avr-objcopy --no-change-warnings -j .signature --change-section-lma .signature=0 -O ihex bin/Release/test3.elf bin/Release/test3.sig
avr-objcopy --no-change-warnings -j .fuse --change-section-lma .fuse=0 -O ihex bin/Release/test3.elf bin/Release/test3.fuse
srec_cat bin/Release/test3.fuse -Intel -crop 0x00 0x01 -offset 0x00 -O bin/Release/test3.lfs -Intel
[b]srec_cat: bin/Release/test3.fuse: 1: file contains no data
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)[/b]
Earlier I had problem with
srec_cat but i found in the web solution. Now I can't find the solution of my problem...
I would be very grateful if anyone could help me.
Thanks in advance.
P.S. I hope my English is understandable for everyone