Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
et:projects:3pi:ide [2015/11/12 09:52] raivo.sellet:projects:3pi:ide [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Tarkvara seadistamine (IDE) ====== ====== Tarkvara seadistamine (IDE) ======
  
-====== Atmel Studio 6 põhine programmeerimiskeskkond ======+====== Atmel Studio 6 ======
  
 **Vajalik tarkvara** **Vajalik tarkvara**
Line 11: Line 11:
  
  
-~~PB~~+<pagebreak>
 ===== Tarkvara paigaldamine ja seadistamine ===== ===== Tarkvara paigaldamine ja seadistamine =====
  
Line 22: Line 22:
 Programmaator on pärast //Apply// nupu vajutamist seadistatud. Programmaator on pärast //Apply// nupu vajutamist seadistatud.
  
-====== Code:Blocks põhine programmeerimiskeskkond ======+====== Code::Blocks ======
  
 **Vajalik tarkvara** **Vajalik tarkvara**
Line 61: Line 61:
  
 Lisada programmaatori seaded nupuga //Add// Lisada programmaatori seaded nupuga //Add//
 +
 +Windows:
 +  Executable: C:\HomeBlocks\Programmer\AvrDude\avrdude.exe
 +  Parameters: -c avrispv2 -p m328p -e -P COMxx -U flash:w:${TARGET_OUTPUT_BASENAME}.hex
 +  Working directory: ${TARGET_OUTPUT_DIR}
 +
 +
 +Linux:
 +  Executable: /usr/bin/avrdude
 +  Parameters: -c avrispv2 -p m328p -P /dev/ttyACM0 -U flash:w:${TARGET_OUTPUT_BASENAME}.hex
 +  Working directory: ${TARGET_OUTPUT_DIR}
 +
  
 {{:et:projects:3pi:codeblocks_programmer_tool.png?400|}} {{:et:projects:3pi:codeblocks_programmer_tool.png?400|}}
Line 82: Line 94:
  
 {{:et:projects:3pi:codeblocks_elf_probleem.png?400|}} {{:et:projects:3pi:codeblocks_elf_probleem.png?400|}}
 +
 +
 +==== Üleslaadimisel tekib veateade calloc ====
 +
 +  In function `calloc':
 +  calloc.c:(.text.avr-libc+0x8): undefined reference to `__mulhi3'
 +  collect2.exe: error: ld returned 1 exit status
 +
 +Eemaldada konkureeriv linkeri viide (võib ka lihtsalt kaldkriipsu ette panna, et linker ei leiaks kataloogi)
 +
 +//Settings->Compiler and debugger ...//
 +
 +//Search directories// -> //Linker//
 +
 +{{:et:projects:3pi:codeblaocs_linker_probleem.png?400|}}
  
  
et/projects/3pi/ide.1447321944.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0