Author Topic: How do you program an ATtiny10 with PICkit 4?  (Read 541 times)

0 Members and 1 Guest are viewing this topic.

Offline DigitalDeath

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
How do you program an ATtiny10 with PICkit 4?
« on: June 11, 2021, 03:03:03 am »
How do you program an ATtiny10 with PICkit 4?
Since they use a different protocol called TPI (Tiny Programming Interface)  that uses a single wire for both input and output?
I know about the USBasp programming but they tend to fail when the MIOSI pin is connected to other devices.



Is there some settings os something I need to do to make it work?
I'm new to this series and I mostly do STM32 so I'm not familiar with where the resources are.

Thanks

John.

 

Online ComradeXavier

  • Contributor
  • Posts: 8
  • Country: us
Re: How do you program an ATtiny10 with PICkit 4?
« Reply #1 on: June 11, 2021, 01:13:05 pm »
Start with Microchip's PICkit 4 product page. There you will find links to documentation, including a user's guide and a quick start guide.
 

Offline DigitalDeath

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
Re: How do you program an ATtiny10 with PICkit 4?
« Reply #2 on: June 11, 2021, 01:28:16 pm »
Start with Microchip's PICkit 4 product page. There you will find links to documentation, including a user's guide and a quick start guide.

This is not a regular AVR processor. It uses a different protocol for programming because it has a bidirectional pin instead of miso and mosi
 

Online ComradeXavier

  • Contributor
  • Posts: 8
  • Country: us
Re: How do you program an ATtiny10 with PICkit 4?
« Reply #3 on: June 11, 2021, 01:49:59 pm »
Start with Microchip's PICkit 4 product page. There you will find links to documentation, including a user's guide and a quick start guide.
This is not a regular AVR processor. It uses a different protocol for programming because it has a bidirectional pin instead of miso and mosi

You wrote:

How do you program an ATtiny10 with PICkit 4?
...
I'm new to this series and I mostly do STM32 so I'm not familiar with where the resources are.

The resources you need are on Microchip's website. The quick start guide I linked has only two pages. On page 2 is a table of how to connect a PICkit 4 to devices with a variety of programming interfaces, including TPI (as used on the ATtiny10).

You may also need to refer to the ATtiny10 product page and datasheet. Section 1 (Pin Configuration) and Section 15 (Programming Interface) will contain any details specific to the TPI interface on the ATtiny10.
 
The following users thanked this post: DigitalDeath

Offline DigitalDeath

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
Re: How do you program an ATtiny10 with PICkit 4?
« Reply #4 on: June 11, 2021, 11:10:55 pm »
On page 2 is a table of how to connect a PICkit 4 to devices with a variety of programming interfaces, including TPI (as used on the ATtiny10).

This is an answer thank you :-+.
The first one sounded like "read the manual"  :-DD

 

Offline MarkR42

  • Regular Contributor
  • *
  • Posts: 122
  • Country: gb
Re: How do you program an ATtiny10 with PICkit 4?
« Reply #5 on: June 15, 2021, 11:06:01 am »
I am just pleased that someone else is using the Attiny10. I use the usbasp arduino-based programmer and it works well. There is a lot you can do with 32 bytes of ram and 1/2k flash :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf