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
en:examples:setup:codeblocksmanual [2015/03/23 18:16] heikopikneren:examples:setup:codeblocksmanual [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 74: Line 74:
   sudo apt-get install codeblocks-contrib   sudo apt-get install codeblocks-contrib
  
-To run dfu-programmer with a normal user privileges, create udev rules file. +To run dfu-programmer with a normal user privileges, create under /etc/udev/ folder a ruled.d file with following content:
-Generate ruled.d folder a file with following content:+
 <code> <code>
 SUBSYSTEM=="usb",ACTION=="add",ATTRS{idVendor}=="03eb",ATTRS{idProduct}=="*",GROUP="plugdev" SUBSYSTEM=="usb",ACTION=="add",ATTRS{idVendor}=="03eb",ATTRS{idProduct}=="*",GROUP="plugdev"
Line 82: Line 81:
 Typically AVR libraries are located in the folder /usr/lib/avr Typically AVR libraries are located in the folder /usr/lib/avr
 It is necessary to own administrator rights to add a folder for the new library. It is necessary to own administrator rights to add a folder for the new library.
- 
-Juhul kui AVR Toolchain ei ole repositooriumites veel uuendatud, siis võib ADC funktsioon anda veateate. Selle ellimineerimiseks võib käsitsi asendada avr kaustas oleva iox128a1u.h faili (sisaldub teegis). 
  
 If the AVR Toolchain repositorys not yet been updated, you may receive an error message for ADC function. To correct this replace manually in the avr folder iox128a1u.h file (included in the library). If the AVR Toolchain repositorys not yet been updated, you may receive an error message for ADC function. To correct this replace manually in the avr folder iox128a1u.h file (included in the library).
Line 122: Line 119:
 Then choose a microcontroller and used frequency. Then choose a microcontroller and used frequency.
 {{ :et:examples:setup:codeblocks:12_cb_project3.png?400  |}} {{ :et:examples:setup:codeblocks:12_cb_project3.png?400  |}}
-Lastly, should be set //AVR Toolchain// installation folder.+Lastly, //AVR Toolchain// installation folder should be set.
 {{ :et:examples:setup:codeblocks:13_cb_project4.png?400  |}} {{ :et:examples:setup:codeblocks:13_cb_project4.png?400  |}}
  
 ===== Using the CodeBlocks ===== ===== Using the CodeBlocks =====
-Kui projekt on loodudilmub vasakule projektipuusse uus projekt koos näitekoodigaKompileerimine käib CodeBlocksis ülal real olevate hammasratta ikoonidegaKui kompilatsioon õnnestub kuvatakse all //Build Log// aknas kasutatud programmimälu maht ning ebaõnnestumise korral errorid.+Once the project is createdthen the new project appears in the left tree with example codeTo compile press the gear icon in the toolbarIf the compilation succeeds then in the bottom //Build Log// window the user program memory count are displayed or if not, then error messages in the event of failure. 
 {{ :et:examples:setup:codeblocks:14_cb_compile.png?400  |}} {{ :et:examples:setup:codeblocks:14_cb_compile.png?400  |}}
-Programmi peale laadimisekstuleb Kodulabor III kontrolleril käivitada buudilaadur hoides all S0 nuppu ja tehes kontrollerile reset. Varasemate Kodulaboritega seda teha vaja ei oleKui vajalikud draiverid on paigaldatud (Draiverid asuvad CodeBlocks/Programmer kaustas), siis saab kompileeritud hex faili peale laadidaSelleks tuleb käivitada programmaator menüüst //Tools//+When loading the program into the microcontrollerin case HomeLab III, first should be entered into the bootloader by holding down the button S0 on the Controller module and at the same time, press the reset button to restartIn previous HomeLabs a bootloader mode is not availableIf all the necessary drivers are installed (drivers are in CodeBlocks / Programmer folder), then can be download compiled hex fileTo start programmer, go to //Tools// menu.
  
 {{ :et:examples:setup:codeblocks:15_cb_programming.png?400  |}} {{ :et:examples:setup:codeblocks:15_cb_programming.png?400  |}}
en/examples/setup/codeblocksmanual.1427134611.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