leoren_tm said:as i thot.... im dont have expereince yet on EEPROM, what if i use (24c64)64k? what shall i change?
Added after 4 minutes:
and also..i would like to suggest...if use 2051MCU., change the pinouts..cause you need pull-up on 1.0 and 1.1
RST equ p1.0 ;
SCK equ p1.1 ;
RST equ p3.4 ;
SCK equ p3.5 ;
Config_Data equ 2000h ; ext eeprom config byte
LastAddr equ 2001h ; last address Programmed
0000 80 00 75 90
000 80 00 3A 90
org 0
sjmp main
mov p1,#0ff( mov 90, #0ff)
3A means ADDC A, R1 (i think)
org 10
addr
0000 02 01 1F
madicalphy said:hi,
i have used your designed ISP serial programmer, but one thing i notice is, it has some problem with RST PIN of target, after programming it does not goes back to logic 0, so that target device may get reset and start program.
or it has to be disconnected after programming?
please explain it.
EndProg:
clr SCK
clr RST ; remove reset from target
.......
ljmp Main ;
5. At the end of a programming session, RST can be set low to commence normal device operation.
Power-off sequence (if needed):
1. Set XTAL1 to “L” (if a crystal is not used).
2. Set RST to “L”.
3. Turn VCC power off.
leoren_tm said:i have pull-up on the EEPROM, it wont work with out that...
as i said, the error is on the first 3 byte...and all are ok...i think i can conclude that the
circuit it working because of that...its just that, i dont know where that extra 3 byte came from..
pranam77 said:Also can you sugesst a way for programming 89CXX with a dedicated socket on the same pcb witha separate ciruit for that.
pranam77 said:I am now going to fabricate PCB and assemble it in the right way. Also can you sugesst a way for programming 89CXX with a dedicated socket (As it doent support ISP)on the same pcb with a separate ciruit for that. Then it would be a complete programmer for Atmel 89 sieres with ISP for 89S.
May be i am a bit lazyvsmGuy said:Nice work pranam77!Do share the schematics and PCB with us!
I really like your idea of supporting parallel programming for C series as well - however his firmware uses the ISP method.I suggested that he port the code to USBAsp so things become easier... let's see :-D
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?