[SOLVED] problom in loading program on 89c52.

Status
Not open for further replies.

tapu

Full Member level 5
Joined
Sep 15, 2014
Messages
244
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Location
india
Activity points
3,145
Dear all,
I program 89c51 on top853 programmer then it successfully programmed. But when I place new purchased 89c52 on programmer & write then it shows
Type error!
''write...error at:0000:FF''.
Then I placed 89c55 still shows same error. As I selected 89c52 Or 89c55 in software. please give reply.
 

just my assumption that you might be loading the hex which is build for 89c51 not for 89c52 or 89c55 try to re build your hex.
 

Thank you for reply.actually my code size is 6kb & it can reach to 8kb. theirfore I want to use 89c55.but loading fails & shows error.Then I try to load another sample program with 89c52 for testing then shows same error.
 

Try to load the code with same configuration suggested in user manual of programmer.check out your configuration and if possible then add delay if you can in your configuration.Try out any other used 89c52 which you are sure is working and programmed before.
 

I selected 89LS52 Then program loaded successfully in 89c52.As I select 89ls53 code loaded in 89c55.In this case I think error is in programmer software.
 

Are some steps remain in my programming?First I insert new chip in socket & select chip from select chip menu.Then I open hex file & write from write menu.is it ok?As I am reading manual.
 
Last edited:

Thank you for your help ud. problom have solved.I want to know the steps in topwin to load program. Or above procedure is enough?I did not understand manual completely.
 

it is described in the page number 33,34 with 8051 example i think thing is you must erase the MCU before loading program hex.
steps simple put your IC select your hex file.select erase,read,write,verify and lock options if you want to use security bit.But erasing the MCU is must before write or load new hex.
 

Thank you for clearing my confusion.
 

Dear sir,
I want to know about gerber file of pcb.I can design schemmatc & pcb in express-pcb software. can gerber be easily made by software or i have to order it?
 

Dear sir,
I want to know about gerber file of pcb.I can design schemmatc & pcb in express-pcb software. can gerber be easily made by software or i have to order it?

I don't know much about software you are using but you can make gerber file. if you make layout then there is setting to make gerber files to send them for pcb manufacturing.

just advice to put your question in pcb design section so more expert can help you.and many post about gerber file making in this forum use search option you will find.
 

OK, Thanks for replies.
 

As the programmer shows loading in 89c52 when I select 89LS52 in programmer.But code does not excuted in actual board.& the same program running successfully in 89c51.
 

But code does not excuted in actual board.& the same program running successfully in 89c51.

I think your having 89ls52 on board and it is not working with actual board? and when you replace with 89c51 its working ? with same hex file?
 

That means I have to use 89ls52?
 

no I am asking what is your question or problem actually.
 

I have three chips.89c51,89c52 & 89c55.The program loading on 89c51 by topwin programmer & executed.but as I put 89c52 then shows error like.
Type error!
''write...error at:0000:FF''
Then I select 89ls52 in programmer then shows write complete. but does not execute in actual board.
 

are you trying to load same hex file in all three chips?
 

Yes hex file is same.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…