[riot-notifications] [RIOT-OS/RIOT] doc/mega-xplained: add JTAG/Atmel-ICE instructions (#11209)

Gaƫtan Harter notifications at github.com
Tue Mar 26 21:19:02 CET 2019


cladmi commented on this pull request.



> +     avrdude -p m1284p -c atmelice -U hfuse:w:0x99:m
+     avrdude -p m1284p -c atmelice -U lfuse:w:0xE2:m
+```
+
+2. After the fuses are set, flash the application.
+   
+   If using the Buspirate:
+
+```
+     make BOARD=mega-xplained -C examples/hello-world flash
+```
+
+   If using the Atmel-ICE:
+
+```
+     make BOARD=mega-xplained PROGRAMMER=atmelice -C examples/hello-world flash

The other solution is to make the PROGRAMMER_FLAGS conditional to PROGRAMMER being `buspirate`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11209#discussion_r269297000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190326/e973b6dc/attachment-0001.html>


More information about the notifications mailing list