Continue to Site

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] Erasing of data from from 89C52 Atmel Microcontroller

Status
Not open for further replies.

imranahmed

Advanced Member level 3
Joined
Dec 4, 2011
Messages
817
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
Karachi,Pakistan
Activity points
6,492
I want to erase the program was i feed in the 89c52 .How do this?
Can anyone interested for reply?
And i want feed another program in 89c52 uC
 

I want to erase the program was i feed in the 89c52.

If you have programmed the device before, what is the issue? The device supports a chip/bulk erase feature, simply instruct your programmer device to chip/bulk erase, program the new code and verify.

How do this?
Can anyone interested for reply?
And i want feed another program in 89c52 uC

What programming device do you have or is it a development board with a built-in programmer?

What code development platform are you using, KEIL, etc?

BigDog
 

I have Keil uVision software for coding and making HEX file.
Actually i am beginner for uController and i programmed successfully but I want to erase previous program and feed new program in same uC, problem is that how erase previous program which has been feed in uC.
I have Atmel 8052(89c52) uC.
I programmed a simple program for 1Hz frequency generator at P3^3 and switched by P1^3.
And programmed with C language.
If you have Sample program to erase preprogram in C language please send to me
Thanks.
 

I have Keil uVision software for coding and making HEX file.
If you have Sample program to erase preprogram in C language please send to me
Thanks.

Erasing the hex file programmed in the chip is done by programmer hardware and not by c language.

what programmer (hardware) do you use?
 

look for "ERASE" button in programmer`s software and click it.
IMHO, there is no need to erase the chip, if new program is feeding to the chip, as soon as you click "PROGRAM", the programmer`s software automatically erase previous program in chip en feed the new program with all the fuse bits..

according to datasheet if you want to erase the chip :

1. put RST and P2.6 high and EA/Vpp at 12V*
2. put PSEN, P2.7 , P3.6 . P3.7 low*
3. give ALE/PROG a 10ms pulse*

*89C52 datasheet page 14 section Flash Programming Mode
 
Last edited:

I understand that Programmer itself erase previous program and burn new one ,problem solved
Do you have any idea for interfacing LCD with 89c52 ? and its software or C code.

---------- Post added at 22:40 ---------- Previous post was at 22:38 ----------

Erasing problem solved and i understand that programmer itself erase previous program and burn new one.
Do you have any idea for interfacing LCD with 89c52.And its software oe C coding.

---------- Post added at 22:42 ---------- Previous post was at 22:40 ----------

Do you have LCD interfacing software or C coding for 89c52?
 

For interfacing lcd start a new topic. Before starting search eba board.

Thread closed
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top