[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] TPI Problem with Atmel-ICE on macOS
From: |
Wayne Holder |
Subject: |
Re: [avrdude-dev] TPI Problem with Atmel-ICE on macOS |
Date: |
Sat, 6 Apr 2019 15:12:28 -0700 |
BTW, the error shown in my first post was from trying to read the device
signature. Here's the error when I try to program the ATTiny10:
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is
"/var/folders/mt/7rrh06nw8xj05b0052g526300000gn/T/avr-toolchain/etc/avrdude.conf"
User configuration file is "/Users/wholder/.avrduderc"
User configuration file does not exist or is not a regular file,
skipping
Using Port : usb
Using Programmer : atmelice_isp
avrdude: stk500v2_jtag3_open()
avrdude: usbhid_open(): Probing for max. packet size
avrdude: usbhid_open(): Setting max_xfer from DAP_Info response to 512
avrdude: Found CMSIS-DAP compliant device, using EDBG protocol
avrdude: jtag3_getsync()
avrdude: jtag3_edbg_prepare()
avrdude: jtag3_edbg_prepare(): connection status 0x01
avrdude: Sending sign-on command:
avrdude: jtag3_edbg_send(): sending 3 bytes
avrdude: jtag3_recv(): Got message seqno 0 (command_sequence == 0)
[general] OK
AVR Part : ATtiny10
Chip Erase delay : 0 us
PAGEL : P00
BS2 : P00
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 0
StabDelay : 0
CmdexeDelay : 0
SyncLoops : 0
ByteDelay : 0
PollIndex : 0
PollValue : 0x00
Memory Detail :
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
signature 0 0 0 0 no 3 16 0
0 0 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
fuse 0 0 4 0 no 1 16 0
0 0 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
calibration 0 0 0 0 no 1 16 0
0 0 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
lockbits 0 0 0 0 no 1 16 0
0 0 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
flash 0 0 128 0 no 1024 16 0
0 0 0x00 0x00
Programmer Type : JTAG3_ISP
Description : Atmel-ICE (ARM/AVR) in ISP mode
avrdude: jtag3_getparm()
avrdude: Sending get parameter (scope 0x01, section 1, parm 0) command:
avrdude: jtag3_edbg_send(): sending 6 bytes
avrdude: jtag3_recv(): Got message seqno 1 (command_sequence == 1)
[general] Data returned:
0x01 0x91 0x13 0x00
Vtarget : 5.0 V
avrdude: jtag3_edbg_send(): sending 2 bytes
avrdude: jtag3_recv(): Got message seqno 2 (command_sequence == 2)
SCK period : 125.00 us
avrdude: jtag3_initialize(): part ATtiny10 has no ISP interface
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: jtag3_edbg_send(): sending 4 bytes
avrdude: jtag3_recv(): Got message seqno 3 (command_sequence == 3)
avrdude: stk500v2_jtag3_close()
avrdude: jtag3_close()
avrdude: Sending AVR sign-off command:
avrdude: jtag3_edbg_send(): sending 3 bytes
avrdude: jtag3_recv(): Got message seqno 4 (command_sequence == 4)
[AVR] FAILED, reason: 0x90
avrdude: bad response to AVR sign-off command: 0xa0
avrdude: Sending sign-off command:
avrdude: jtag3_edbg_send(): sending 4 bytes
avrdude: jtag3_recv(): Got message seqno 5 (command_sequence == 5)
[general] OK
avrdude: jtag3_edbg_signoff()
avrdude done. Thank you.
Wayne
On Sat, Apr 6, 2019 at 3:07 PM address@hidden <
address@hidden> wrote:
> I've been unable to program an ATTiny10 device using AVRDUDE Version
> 6.3-20171130 on macOS 10.14.2 (18C54). The ATTiny10 programs fine via
> AVRDUDE if I use my AVR ISP mkII, but when I try to use my Atmel-ICE
> programmer, I get the following response:
>
> avrdude: Version 6.3-20171130
> Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
> Copyright (c) 2007-2014 Joerg Wunsch
>
> System wide configuration file is
>
> "/var/folders/mt/7rrh06nw8xj05b0052g526300000gn/T/avr-toolchain/etc/avrdude.conf"
> User configuration file is "/Users/wholder/.avrduderc"
> User configuration file does not exist or is not a regular file,
> skipping
>
> Using Port : usb
> Using Programmer : atmelice_isp
> avrdude: stk500v2_jtag3_open()
> avrdude: usbhid_open(): Probing for max. packet size
> avrdude: usbhid_open(): Setting max_xfer from DAP_Info response to 512
> avrdude: Found CMSIS-DAP compliant device, using EDBG protocol
> avrdude: jtag3_getsync()
>
> avrdude: jtag3_edbg_prepare()
> avrdude: jtag3_edbg_prepare(): connection status 0x01
> avrdude: Sending sign-on command:
> avrdude: jtag3_edbg_send(): sending 3 bytes
> avrdude: jtag3_recv(): Got message seqno 0 (command_sequence == 0)
>
> [general] OK
> AVR Part : ATtiny10
> Chip Erase delay : 0 us
> PAGEL : P00
> BS2 : P00
> RESET disposition : dedicated
> RETRY pulse : SCK
> serial program mode : yes
> parallel program mode : yes
> Timeout : 0
> StabDelay : 0
> CmdexeDelay : 0
> SyncLoops : 0
> ByteDelay : 0
> PollIndex : 0
> PollValue : 0x00
> Memory Detail :
>
> Block Poll Page
>
> Polled
> Memory Type Mode Delay Size Indx Paged Size Size #Pages
> MinW
> MaxW ReadBack
> ----------- ---- ----- ----- ---- ------ ------ ---- ------
> -----
> ----- ---------
> signature 0 0 0 0 no 3 16 0
> 0
> 0 0x00 0x00
> Block Poll Page
>
> Polled
> Memory Type Mode Delay Size Indx Paged Size Size #Pages
> MinW
> MaxW ReadBack
> ----------- ---- ----- ----- ---- ------ ------ ---- ------
> -----
> ----- ---------
> fuse 0 0 4 0 no 1 16 0
> 0
> 0 0x00 0x00
> Block Poll Page
>
> Polled
> Memory Type Mode Delay Size Indx Paged Size Size #Pages
> MinW
> MaxW ReadBack
> ----------- ---- ----- ----- ---- ------ ------ ---- ------
> -----
> ----- ---------
> calibration 0 0 0 0 no 1 16 0
> 0
> 0 0x00 0x00
> Block Poll Page
>
> Polled
> Memory Type Mode Delay Size Indx Paged Size Size #Pages
> MinW
> MaxW ReadBack
> ----------- ---- ----- ----- ---- ------ ------ ---- ------
> -----
> ----- ---------
> lockbits 0 0 0 0 no 1 16 0
> 0
> 0 0x00 0x00
> Block Poll Page
>
> Polled
> Memory Type Mode Delay Size Indx Paged Size Size #Pages
> MinW
> MaxW ReadBack
> ----------- ---- ----- ----- ---- ------ ------ ---- ------
> -----
> ----- ---------
> flash 0 0 128 0 no 1024 16 0
> 0
> 0 0x00 0x00
>
> Programmer Type : JTAG3_ISP
> Description : Atmel-ICE (ARM/AVR) in ISP mode
> avrdude: jtag3_getparm()
> avrdude: Sending get parameter (scope 0x01, section 1, parm 0) command:
> avrdude: jtag3_edbg_send(): sending 6 bytes
> avrdude: jtag3_recv(): Got message seqno 1 (command_sequence == 1)
>
> [general] Data returned:
> 0x01 0x70 0x13 0x00
> Vtarget : 5.0 V
>
> avrdude: jtag3_edbg_send(): sending 2 bytes
> avrdude: jtag3_recv(): Got message seqno 2 (command_sequence == 2)
> SCK period : 125.00 us
>
> avrdude: jtag3_initialize(): part ATtiny10 has no ISP interface
> avrdude: initialization failed, rc=-1
> Double check connections and try again, or use -F to override
> this check.
>
>
> avrdude: jtag3_edbg_send(): sending 4 bytes
> avrdude: jtag3_recv(): Got message seqno 3 (command_sequence == 3)
> avrdude: stk500v2_jtag3_close()
> avrdude: jtag3_close()
> avrdude: Sending AVR sign-off command:
> avrdude: jtag3_edbg_send(): sending 3 bytes
> avrdude: jtag3_recv(): Got message seqno 4 (command_sequence == 4)
>
> [AVR] FAILED, reason: 0x90
> avrdude: bad response to AVR sign-off command: 0xa0
> avrdude: Sending sign-off command:
> avrdude: jtag3_edbg_send(): sending 4 bytes
> avrdude: jtag3_recv(): Got message seqno 5 (command_sequence == 5)
>
> [general] OK
>
> avrdude: jtag3_edbg_signoff()
>
> avrdude done. Thank you.
>
> Wayne
>
>
>
> --
> Sent from: http://avr.2057.n7.nabble.com/AVR-AVRdude-Dev-f3.html
>
> _______________________________________________
> avrdude-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/avrdude-dev
>