Hello People, this is my first thread here. I just want to ask here, what does a programmer do to program a controller, actually i want to make a programmer my self, dont want to copy it from any site. please help me to understand this phenomenon.
Thanks.
Regards, Asad Raza
You can't.
You either have to copy one or buy one.
Why? Because the only way you normally have all the required information on how it works is if you look at an existing programmer.
A more important thing is that most processors have their own ways how they need to be programmed. And lots of programmers you can find on the net does work very poorly.
So just buy a programmer for your specific chip - or even better: Find a processor that does not require any special programmer.
i want to make a programmer my self give it up, because ... a) there are ISP chips galore available - you do not need a programmer. b) no modern chip has parallel programming info available to the general public - you can't c) if you choose an ancient chip to get around b) you will fail (in the olden days many threads went "what's wrong with the programmer I made" "try this" "did not work" "try this" "did not work" "try this" "did not work" "try this" "did not work, I give up") d) more and more chips are not available in DIL and socketing other packages ain't swift e) more reasons exist, the above should suffice
Erik
How a ISP Programmer Works: you stick some software in your PC and connect to your board, not "a programmer", and click "load" (or whatever the button may be named).
What i mean to ask is, how a controller is programmed? what conditions required for the controller pins , or what voltage to what pins we povide so that it is programmed. If i give it up to in making a programmer, but can any body tell me what is the process??????
Is there some specific pins which support for program, i want to know the whole process. i am eager to find that... :)
yeah, isp's help us alot to not to buy a prgrammer, agree.
Regards. Asad Raza
Yes. And that is explicitly what we are talking about too.
The chip manufacturers don't officially release that information because they are not interested in the huge support costs they would get. They are fine with only the big companies involved in chip programmers getting a direct lead to receive the required information.
Next thing is that newer chips removes the need to have a programmer because the chips integrates the requirements. In short - most newer chips have an internal programmer.
So for older chips, you can't find the information.
And for newer chips, you don't need any programmer.
Next thing - old or new doesn't matter. Each chip is different. So we can't even have a thread about this since you haven't mentioned a specific chip in the first place. There are no general solutions.
About ISP (in-system-programming) (using that internal programmer inside newer chips), you have to look at the datasheet or user manual or application note that the chip manufacturer have released. They then tell you if the ISP uses the UART and what commands to send and what pins to hold active when powering up the chip. Or if you program using the SPI pins (potentially holding the reset line active while programming). Of if there are other pins that are used.
But in the end, it still falls back to this: It's irrelevant until you are talking about a specific chip since there are many different alternatives.
... for purely historical interest only, try searching for information on old UV EPROMs; eg,
en.wikipedia.org/.../EPROM
en.wikipedia.org/.../Programmable_read-only_memory
www.google.com
What i mean to ask is, how a controller is programmed? what conditions required for the controller pins , or what voltage to what pins we povide so that it is programmed. NOBODY can answer you in a general way. for chip a it is ... for chip b it is ... for chip c it is ... not even two different chips from the same manufacturer may program the same way
If i give it up to in making a programmer, but can any body tell me what is the process?????? drop the if
I mainly work on AT89c51, i am intrested in this controller.. Now If someone has an idea, then direct me to that one.
if you insist on supporting Bayer (the manufcturer of Aspirin) go to 8052.com and do a search on 'kitchen table programmer'.
You will find some OLD threads that discuss kitchen table programmers and (although I doubt it) you may find a thread that ends with 'success'. I know there are references to some web published programmer(s?) with "why can I not get it to work".
Again, be nice to yourself, DO NOT GET INTO THIS QUAGMIRE, switch to modern chips where a 'programmer' cost you nothing (UART types) or $25 (SPI types) or $30 (JTAG types)
Since this topic has nothing whatsoever to do with Keil, that would be a more appropriate place anyhow!