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.

[SOLVED] Programmer prior to ISP?

Status
Not open for further replies.

swathibalan

Newbie level 6
Joined
Apr 19, 2015
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
89
Hello! Pretty basic question. Was wondering how microcontrollers were programmed if not through ISP. What actually happens when the microcontroller is taken out from the circuit and programmed by putting it in a socket? Can you point out the details like the protocol used in that method of programming and hardware details?
 

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
523
Trophy points
1,393
Activity points
0
Both are same. In adapter and also in your circuit the programming lines of the MCU will be connected to ICSP header to which the programmer connects. An adapter can be used to program different MCU like say different PICs but in your dedicated circuit only the MCU of that circuit will be programmed. In your circuit also the programming lines will be connected to ICSP header.
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,237
Helped
1,151
Reputation
2,321
Reaction score
1,127
Trophy points
1,403
Location
Brazil
Activity points
53,771
For the device´s point of view, there is no difference between program into the socket or in circuit. The only remark is if circuit must support programing at runtime, I/O uC pins must have at bus pull-up / pull-down components in order to force allowed logic state for these signals during programing.
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,871
Helped
4,860
Reputation
9,738
Reaction score
4,643
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
126,579
I would add that ICSP by definition uses a serial method to 'clock' the data into the device. Before this became normal practice, devices were parallel programmed by applying byte sized data across several pins and pulsing a programming voltage of 12.5V, 21V or 25V. The internal program counter would then be advanced to the next address and the procedure repeated with the next data presented in parallel. Most of the devices of that era were OTP (One Time Programmable) in standard packages or they had quartz windows so they could be erased under a UV light source.

Brian.
 

swathibalan

Newbie level 6
Joined
Apr 19, 2015
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
89
That gave much clarity! Thanks! :thumbsup:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top