Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
notes:avr.programming [04/06/2016 12:29] alez [AVR Programming quick guide] |
notes:avr.programming [04/06/2016 12:31] (versione attuale) alez [AVR Programming quick guide] |
||
---|---|---|---|
Linea 5: | Linea 5: | ||
**The matter: upload a compiled code file (.hex) into the avr's flash memory.** | **The matter: upload a compiled code file (.hex) into the avr's flash memory.** | ||
- | Use a Makefile to do all the work. Download it [[talks:avr-microcontrollers|here]]. | + | Use a Makefile to do all the work. Download it [[talks:avr-microcontrollers#makefile|here]]. |
In the makefile: | In the makefile: | ||
Linea 13: | Linea 13: | ||
* change programmer type and port. | * change programmer type and port. | ||
- | Use 'make' to compile, 'make hex' to generate firmware in the format read by the programmer, 'make writeflash' to program the AVR. | + | Use ''make'' to compile, ''make hex'' to generate firmware in the format read by the programmer, ''make writeflash'' to program the AVR. |
- | I have also added 'make fuse' that should be adjusted in the Makefile, to write the fuse byte(s). | + | I have also added ''make fuse'' that should be adjusted in the Makefile, to write the fuse byte(s). |
===== Notes ===== | ===== Notes ===== | ||