diff --git a/avr/avrdude.conf b/avr/avrdude.conf index b41b2109a..ba7ef3fc3 100755 --- a/avr/avrdude.conf +++ b/avr/avrdude.conf @@ -33,7 +33,7 @@ # vfyled = ; # pin number # usbvid = ; # USB VID (Vendor ID) # usbpid = ; # USB PID (Product ID) -# usbdev = ; # USB interface or other device info +# usbdev = ; # USB interface or other device info # usbvendor = ; # USB Vendor Name # usbproduct = ; # USB Product Name # usbsn = ; # USB Serial Number @@ -141,9 +141,9 @@ # complain. # # Parts can also inherit parameters from previously defined parts -# using the following syntax. In this case specified integer and -# string values override parameter values from the parent part. New -# memory definitions are added to the definitions inherited from the +# using the following syntax. In this case specified integer and +# string values override parameter values from the parent part. New +# memory definitions are added to the definitions inherited from the # parent. # # part parent # quoted string @@ -152,7 +152,7 @@ # ; # # NOTES: -# * 'devicecode' is the device code used by the STK500 (see codes +# * 'devicecode' is the device code used by the STK500 (see codes # listed below) # * Not all memory types will implement all instructions. # * AVR Fuse bits and Lock bits are implemented as a type of memory. @@ -366,7 +366,7 @@ programmer # http://dangerousprototypes.com/docs/FT2232_breakout_board # http://www.ftdichip.com/Products/Modules/DLPModules.htm,DLP-2232*,DLP-USB1232H # http://flashrom.org/FT2232SPI_Programmer -# +# # The drivers will look for a specific device and use the first one found. # If you have mulitple devices, then look for unique information (like SN) # And fill that in here. @@ -408,7 +408,7 @@ programmer type = "avrftdi"; connection_type = usb; usbvid = 0x0403; -# Note: This PID is reserved for generic H devices and +# Note: This PID is reserved for generic H devices and # should be programmed into the EEPROM # usbpid = 0x8A48; usbpid = 0x6010; @@ -416,13 +416,13 @@ programmer usbvendor = ""; usbproduct = ""; usbsn = ""; -#ISP-signals +#ISP-signals reset = 3; sck = 0; mosi = 1; miso = 2; buff = ~4; -#LED SIGNALs +#LED SIGNALs errled = ~ 11; rdyled = ~ 14; pgmled = ~ 13; @@ -462,8 +462,8 @@ programmer ; # On the adapter you can read "O-Link". On the PCB is printed "OpenJTAG v3.1" -# You can find it as "OpenJTAG ARM JTAG USB" in the internet. -# (But there are also several projects called Open JTAG, eg. +# You can find it as "OpenJTAG ARM JTAG USB" in the internet. +# (But there are also several projects called Open JTAG, eg. # http://www.openjtag.org, which are completely different.) # http://www.100ask.net/shop/english.html (website seems to be outdated) # http://item.taobao.com/item.htm?id=1559277013 @@ -789,7 +789,7 @@ programmer type = "butterfly"; connection_type = serial; ; - + # suggested in http://forum.mikrokopter.de/topic-post48317.html programmer id = "mkbutterfly"; @@ -985,6 +985,22 @@ programmer usbpid = 0x2141; ; +programmer + id = "pickit4_isp"; + desc = "MPLAB(R) PICkit 4 in ISP mode"; + type = "jtagice3_isp"; + connection_type = usb; + usbpid = 0x2177; +; + +programmer + id = "snap_isp"; + desc = "MPLAB(R) SNAP in ISP mode"; + type = "jtagice3_isp"; + connection_type = usb; + usbpid = 0x217F, 0x2180, 0x2181; + ; + programmer id = "pavr"; desc = "Jason Kyle's pAVR Serial Programmer"; @@ -1279,10 +1295,10 @@ part write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", "x x x x x x x x i i i i i i i i"; ; - + memory "efuse" size = 0; - ; + ; memory "lock" size = 1; @@ -1384,7 +1400,7 @@ part write = " 1 1 0 0 0 0 0 0", " 0 0 x x x x a9 a8", - " a7 a6 a5 a4 a3 a2 a1 a0", + " a7 a6 a5 a4 a3 a2 a1 a0", " i i i i i i i i"; loadpage_lo = " 1 1 0 0 0 0 0 1", @@ -1452,7 +1468,7 @@ part "x x x x x x x x 1 1 i i i i i i"; min_write_delay = 9000; max_write_delay = 9000; - ; + ; memory "lfuse" size = 1; @@ -1475,11 +1491,11 @@ part min_write_delay = 9000; max_write_delay = 9000; ; - + memory "efuse" size = 0; ; - + memory "signature" size = 3; read = "0 0 1 1 0 0 0 0 x x x x x x x x", @@ -1647,10 +1663,10 @@ part write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", "x x x x x x x x i i i i i i i i"; ; - + memory "efuse" size = 0; - ; + ; memory "lock" size = 1; @@ -1753,7 +1769,7 @@ part write = " 1 1 0 0 0 0 0 0", " 0 0 x x x x a9 a8", - " a7 a6 a5 a4 a3 a2 a1 a0", + " a7 a6 a5 a4 a3 a2 a1 a0", " i i i i i i i i"; loadpage_lo = " 1 1 0 0 0 0 0 1", @@ -1961,7 +1977,7 @@ part write = " 1 1 0 0 0 0 0 0", " 0 0 x x x a10 a9 a8", - " a7 a6 a5 a4 a3 a2 a1 a0", + " a7 a6 a5 a4 a3 a2 a1 a0", " i i i i i i i i"; loadpage_lo = " 1 1 0 0 0 0 0 1", @@ -2101,7 +2117,7 @@ part parent "m324p" #------------------------------------------------------------ # similar to ATmega324P - + part parent "m324p" id = "m324pb"; desc = "ATmega324PB"; @@ -2213,7 +2229,7 @@ part write = " 1 1 0 0 0 0 0 0", " 0 0 x x a11 a10 a9 a8", - " a7 a6 a5 a4 a3 a2 a1 a0", + " a7 a6 a5 a4 a3 a2 a1 a0", " i i i i i i i i"; loadpage_lo = " 1 1 0 0 0 0 0 1", @@ -2439,7 +2455,7 @@ part write = " 1 1 0 0 0 0 0 0", " 0 0 x x a11 a10 a9 a8", - " a7 a6 a5 a4 a3 a2 a1 a0", + " a7 a6 a5 a4 a3 a2 a1 a0", " i i i i i i i i"; loadpage_lo = " 1 1 0 0 0 0 0 1", @@ -2570,4 +2586,4 @@ part parent "m1284p" signature = 0x1e 0x97 0x06; ocdrev = 3; - ; \ No newline at end of file + ; diff --git a/avr/programmers.txt b/avr/programmers.txt index 72827b012..68ff6afd3 100755 --- a/avr/programmers.txt +++ b/avr/programmers.txt @@ -88,3 +88,17 @@ jtag3.program.tool=avrdude # work regardless of the crystal used, since JTAG doesn't use the MCU # clock but dictates its own clock. jtag3.program.extra_params=-B0.1 + +pickit4_isp.name=PICkit4 (ISP mode) (MightyCore) +pickit4_isp.communication=usb +pickit4_isp.protocol=pickit4_isp +pickit4_isp.program.protocol=pickit4_isp +pickit4_isp.program.tool=avrdude +pickit4_isp.program.extra_params=-Pusb + +snap_isp.name=MPLAB SNAP (ISP mode) (MightyCore) +snap_isp.communication=usb +snap_isp.protocol=snap_isp +snap_isp.program.protocol=snap_isp +snap_isp.program.tool=avrdude +snap_isp.program.extra_params=-Pusb