avr:linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
avr:linux [2013/09/10 12:30] – sdolt | avr:linux [2013/09/10 12:44] – sdolt | ||
---|---|---|---|
Line 138: | Line 138: | ||
^JTAG 10pin^ISP 6pin^STK500^ | ^JTAG 10pin^ISP 6pin^STK500^ | ||
- | |1-TCK | + | |1-TCK|3|PB2 (SCK)| |
- | |2-GND | + | |2-GND|6|GND| |
- | |3-TDO | + | |3-TDO|1|PB1 (MISO)| |
- | |4-VTref | + | |4-VTref|2|Vcc| |
- | |5-TMS | + | |5-TMS|x|x| |
- | |6-nSRST | + | |6-nSRST|5|PB5 (RST)| |
- | |7-Vsupply | + | |7-Vsupply|x|x| |
- | |8-nTRST | + | |8-nTRST|x|x| |
- | |9-TDI | + | |9-TDI|4|PB0 (MOSI )| |
- | |10-GND | + | |10-GND|x| x| |
+ | Mainteant, si on essaie de programmer de désactiver debugWire : | ||
+ | < | ||
+ | avrdude -c jtag2isp | ||
+ | </ | ||
+ | |||
+ | On obtient le message suivant : | ||
+ | < | ||
+ | avrdude: jtagmkII_setparm(): | ||
+ | avrdude: jtagmkII_getsync(): | ||
+ | avrdude: Target prepared for ISP, signed off. | ||
+ | avrdude: Please restart avrdude without power-cycling the target. | ||
+ | |||
+ | avrdude done. Thank you. | ||
+ | </ | ||
+ | |||
+ | <note important> | ||
+ | On peut donc relancer la commande pour programmer le fusible hfuse. | ||
< | < | ||
- | avrdude | + | avrdude -c jtag2isp |
</ | </ | ||
avr/linux.txt · Last modified: 2013/09/18 12:53 by sdolt