TPI Problem with Atmel-ICE on macOS

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

TPI Problem with Atmel-ICE on macOS

wayne.holder@gmail.com
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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

Re: TPI Problem with Atmel-ICE on macOS

wayne.holder@gmail.com
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 [hidden email] <
[hidden email]> 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
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/avrdude-dev
>
_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

Re: TPI Problem with Atmel-ICE on macOS

Joerg Wunsch


Am 7. April 2019 00:12:28 MESZ schrieb Wayne Holder <[hidden email]>:

>avrdude: jtag3_initialize(): part ATtiny10 has no ISP interface

 
Try -c atmelice_tpi
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

Re: TPI Problem with Atmel-ICE on macOS

wayne.holder@gmail.com
In reply to this post by wayne.holder@gmail.com
I've been looking through the code for AVRDUDE 6.3 and I haven't found any
hard evidence that the TPI protocol is supported on the Atmel ICE.  I know
the Atmel ICE supports TPI (at least the documentation states that it
does), but perhaps this was never implemented for AVRDUDE.  Has anyone
successfully used TPI from AVRDUDE with the Atmel ICE?

Wayne

On Sat, Apr 6, 2019 at 3:12 PM Wayne Holder <[hidden email]> wrote:

> 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 [hidden email] <
> [hidden email]> 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
>> [hidden email]
>> https://lists.nongnu.org/mailman/listinfo/avrdude-dev
>>
>
_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

Re: TPI Problem with Atmel-ICE on macOS

Joerg Wunsch
As Wayne Holder wrote:

> I've been looking through the code for AVRDUDE 6.3 and I haven't
> found any hard evidence that the TPI protocol is supported on the
> Atmel ICE.

I'll look into it again, but won't have the time to do it today.

--
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

Re: TPI Problem with Atmel-ICE on macOS

Joerg Wunsch
In reply to this post by wayne.holder@gmail.com


Am 7. April 2019 21:00:19 MESZ schrieb Wayne Holder <[hidden email]>:
>I've been looking through the code for AVRDUDE 6.3 and I haven't found
>any
>hard evidence that the TPI protocol is supported on the Atmel ICE.

It really seems to be missing.

Note that all this is being handled in stk500v2.c.

If you look at stk500v2_initialize(), there is a case distinction for diverting to XPROG protocol for TPI and PDI devices. I think something similar might be needed early in stk500c2_jtag3_initialize().

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev