In System Programming (ISP) for ATMEL chips
In System Programming (ISP) for ATMEL chips
In System Programming (ISP) for ATMEL chips
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>In</strong> <strong>System</strong> Programmer (<strong>ISP</strong>) <strong>for</strong> <strong>ATMEL</strong> micro controllers<br />
http://www.ikalogic.com/isp.php<br />
Page 12 of 29<br />
26-02-2008<br />
Posted by:<br />
kalpesh patel<br />
on: 14 May 2007<br />
Posted by:<br />
Ibrahim Kamal<br />
on: 14 May 2007<br />
Posted by:<br />
danny<br />
on: 22 May 2007<br />
Posted by:<br />
Ibrahim Kamal<br />
on: 23 May 2007<br />
Posted by:<br />
mvs sarma<br />
on: 24 May 2007<br />
Posted by:<br />
mvs sarma<br />
on: 24 May 2007<br />
[Quoting: Ibrahim Kamal]<br />
[Quoting: kalpesh patel]<br />
[Quoting: Ibrahim Kamal]<br />
[Quoting: kalpesh patel] I am able to read hex file from 89s52 chip but can't erase or<br />
write the chip, even though i have tried it on three device but still i can't gate<br />
success. so, please help me.<br />
Try the following: 1-Put a 10uF capacitor between pin 9 of the uController and the 5V<br />
rail.2-Slow down the speed3-make sure PIN 31 (ea) of the uController is connected to<br />
5VThis is mostly the type of problems I found with friends that couldn't get their <strong>ISP</strong><br />
programmer working... hope this helps..<br />
Actually pin 31(ea) is generally used to select the rom and ram. i think which may came<br />
into picture after programming of the device. so, why sould we connect pin31 to Vcc at<br />
the time of programming using isp.<br />
Let me correct this, Pin 31 (EA) Let the internal processor access external or internal<br />
memory. to use <strong>ISP</strong>, internal memory access must be enabled, in order to let the processor<br />
store the received serial data into the internal flash memory.<br />
I have done all the things that you have suggested but still i can't get any positive result.<br />
[Quoting: kalpesh patel]<br />
[Quoting: Ibrahim Kamal]<br />
[Quoting: kalpesh patel]<br />
[Quoting: Ibrahim Kamal]<br />
Reply With Quote<br />
[Quoting: kalpesh patel] I am able to read hex file from 89s52 chip but can't erase<br />
or write the chip, even though i have tried it on three device but still i can't gate<br />
success. so, please help me.<br />
Try the following: 1-Put a 10uF capacitor between pin 9 of the uController and the 5V<br />
rail.2-Slow down the speed3-make sure PIN 31 (ea) of the uController is connected<br />
to 5VThis is mostly the type of problems I found with friends that couldn't get their<br />
<strong>ISP</strong> programmer working... hope this helps..<br />
Actually pin 31(ea) is generally used to select the rom and ram. i think which may<br />
came into picture after programming of the device. so, why sould we connect pin31 to<br />
Vcc at the time of programming using isp.<br />
Let me correct this, Pin 31 (EA) Let the internal processor access external or internal<br />
memory. to use <strong>ISP</strong>, internal memory access must be enabled, in order to let the<br />
processor store the received serial data into the internal flash memory.<br />
I have done all the things that you have suggested but still i can't get any positive result.<br />
The only couple of things that come through my head would be either a damaged or<br />
misconfigured parallel port.. did you try it on another pc?<br />
Reply With Quote<br />
erase..okproblem:write error at adress 00000000 byte written:02 byte read: 00help me<br />
please<br />
Reply With Quote<br />
[Quoting: danny] erase..okproblem:write error at adress 00000000 byte written:02 byte<br />
read: 00help me please<br />
Did you try all the tips i've posted in this <strong>for</strong>um?Did you try another chip?Is pin 31 of your<br />
atmel chip connected to Vcc?try all the tips in this <strong>for</strong>um, step by step, you should find what's<br />
wrong with your connections, and it should work.<br />
Reply With Quote<br />
Rge kapilesh patels comments- i would like him to check whether he modified programming<br />
frequency at left of SETUP button, to a value less than 1/16th of the crystal frequency used by<br />
him.i assemble apiece oncemore y-day and it is working fine- taking a calculated risk i didn't<br />
even use the AND gates suugested by IKA-- i use 15MHz crystal and i set the prog frequency<br />
to 455 Hz or even 200Hz.i hope kapilesh will come<strong>for</strong>ward with his commentsSarma<br />
Reply With Quote<br />
Sorry I spelled worngly It is Kalpesh PatelAlso,i suggest Kalpesh to check the PSU <strong>for</strong> clean<br />
and correct 5V supply. Sarma<br />
Reply With Quote