Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:atmelice [2022/11/10 20:44] – [Atmel ICE] darron | interfaces:atmelice [2023/09/25 15:50] (current) – [Atmel ICE] darron | ||
---|---|---|---|
Line 8: | Line 8: | ||
This device is used to program various Atmel designed processors. | This device is used to program various Atmel designed processors. | ||
- | It has one serious fault, in the that sockets are wired back | + | It has one serious fault, in that the sockets are wired back |
to front but otherwise it works well. The dumb wiring is the | to front but otherwise it works well. The dumb wiring is the | ||
main reason for this page. I got it working fine once and now | main reason for this page. I got it working fine once and now | ||
- | forget how it it's broken so need to rediscover the stupidity | + | forget how it's broken so need to rediscover the stupidity |
yet again. | yet again. | ||
Line 17: | Line 17: | ||
cost £90 in 2022. Microchip outpace inflation like nobody else. | cost £90 in 2022. Microchip outpace inflation like nobody else. | ||
- | ===ID=== | + | ===USB=== |
Bus 001 Device 027: ID 03eb:2141 Atmel Corp. ICE debugger | Bus 001 Device 027: ID 03eb:2141 Atmel Corp. ICE debugger | ||
Line 55: | Line 55: | ||
different pins. | different pins. | ||
- | SAM = JTAG standard and AVR = ATMEL non-standard. | + | SAM = ARM standard and AVR = ATMEL standard. |
- | PIN SAM AVR SWD(*) CORTEX(?) | + | PIN SAM AVR SWD(1) CORTEX(2) |
| | ||
| | ||
Line 69: | Line 69: | ||
10 SRST | 10 SRST | ||
- | (*) Adafruit SWD adapter | + | (1) Adafruit SWD adapter |
- | (?) Adafruit Cortex SWD adapter | + | (2) Adafruit Cortex SWD adapter |
JTAG ATMEGA2560 ATMEGA32 | JTAG ATMEGA2560 ATMEGA32 | ||
Line 76: | Line 76: | ||
GND GND GND | GND GND GND | ||
TCK PF4 PC2 | TCK PF4 PC2 | ||
- | TDO PF6 PC4 | ||
TMS PF5 PC3 | TMS PF5 PC3 | ||
+ | TDO PF6 PC4 | ||
TDI PF7 PC5 | TDI PF7 PC5 | ||
Line 89: | Line 89: | ||
</ | </ | ||
+ | |||
+ | ===Test=== | ||
+ | |||
+ | < | ||
+ | avrdude -v -B 5 -c atmelice -p ATMEGA32 | ||
+ | |||
+ | avrdude: Version 6.3-20171130 | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | User configuration file is "/ | ||
+ | User configuration file does not exist or is not a regular file, skipping | ||
+ | |||
+ | Using Port : usb | ||
+ | Using Programmer | ||
+ | | ||
+ | avrdude: Found CMSIS-DAP compliant device, using EDBG protocol | ||
+ | AVR Part : ATmega32 | ||
+ | Chip Erase delay : 9000 us | ||
+ | | ||
+ | | ||
+ | RESET disposition | ||
+ | RETRY pulse : SCK | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Block Poll | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | ICE hardware version: 0 | ||
+ | ICE firmware version: 1.42 (rel. 161) | ||
+ | | ||
+ | | ||
+ | JTAG clock megaAVR/ | ||
+ | JTAG clock megaAVR/ | ||
+ | JTAG clock Xmega: 1000 kHz | ||
+ | PDI clock Xmega : 1000 kHz | ||
+ | |||
+ | avrdude: JTAG ID returned: 0x3f 0x20 0x50 0x89 | ||
+ | avrdude: AVR device initialized and ready to accept instructions | ||
+ | |||
+ | Reading | ################################################## | ||
+ | |||
+ | avrdude: Device signature = 0x1e9502 (probably m32) | ||
+ | avrdude: safemode: lfuse reads as FF | ||
+ | avrdude: safemode: hfuse reads as 19 | ||
+ | |||
+ | avrdude: safemode: lfuse reads as FF | ||
+ | avrdude: safemode: hfuse reads as 19 | ||
+ | avrdude: safemode: Fuses OK (E:FF, H:19, L:FF) | ||
+ | |||
+ | avrdude done. Thank you. | ||
+ | </ | ||
===Resources=== | ===Resources=== | ||