Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

smd AT tiny microcontroller

Status
Not open for further replies.

Antenna (^.^)

Member level 3
Joined
Jul 6, 2015
Messages
54
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
499
Hi everybody,

Does anybody know how to program smd ATtiny microcontrollers?
At the moment I am using ATtiny20 and the main function of it will be for switching purposes.
I want to use my microcontroller on a pcb board but I don't know how to program it with if it is not
through hole..

Thanks!
 

FenTrac

Full Member level 4
Joined
Jul 6, 2014
Messages
204
Helped
37
Reputation
74
Reaction score
39
Trophy points
28
Location
West Coast
Activity points
1,756
Your circuit board will have to have a means of accessing the in circuit programming pins (Reset, TPCLK,TPDATA), through a TPI connector. Other components on the board have to be designed so as not to interfere with those signals while in programming mode. Another solution would be to mount the ATtiny on a surface mount adapter board that can be removed and programmmed, and then plugged back on the pcb board into a socket.
 
Last edited:

Antenna (^.^)

Member level 3
Joined
Jul 6, 2015
Messages
54
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
499
Thanks for your helpful suggestion!
Could you explain more what you mean by "Other components on the board have to be designed so as not to interfere with those signals while in programming mode" and also "TPI connector"?
Is a TPI connector a programmer like the AVRISPmkII?
 

FenTrac

Full Member level 4
Joined
Jul 6, 2014
Messages
204
Helped
37
Reputation
74
Reaction score
39
Trophy points
28
Location
West Coast
Activity points
1,756
The Data sheet just refers to a connector with the three programming signals as a TPI connector. It is just the way that those pins will be connected to an appropriate programmer.
Outputs from other components on the pcb can't be connected to the programming signals at the same time the programmer is connected to them. If this is the case, then the board needs switches or some other means to give the programmer control of those pins while in programming mode.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top