Hi,
I am working on a small project, for which i have created chip code, which i have tested and it works fine in Keil IDE. But the same when uploaded to chip behaves partly expected or totally unexpected. Some times the chip doesn't reset even done hardware reset.
I have checked it with 3 chips, but no success. My programmer seems fine as it is detecting attached chip and programming chip correctly.
In my project I need serial communication, which is also not working fine. Sometime the MCU skips sending or receiving characters, or doesn't respond to command event after hardware resets.
Could you please suggest me how to resolve this?
Let me know if any further information is required.
Details AT89S52, USB Programmer, C Programming language,
Regards,
Bhagirath
Please take care not to put any punctuation at the end of a URL - the forum will think it's part of the link so, therefore, the link will not work.
Neither of the links you have posted so far worked - because of this!
www.botskool.com/.../ioi85.jpg, broken by trailing comma; commtest.com/.../11642.jpg. - broken by trailing full stop.
Always test the links from the preview before posting!
Note that this commtest.com/.../11642.jpg converts USB to RS232 - you must not connect RS232 direct to microcontroller pins!
RS232 uses (relatively) high voltage signals - nominally swinging between +12V and -12V
For connecting direct to a microcontroller, it would be far better to use one of these: www.ftdichip.com/.../USBTTLSerial.htm - taking care to select a 5V or 3V version, as appropriate.
"Could you please suggest me how to resolve this?"
it probably makes sense, given the language barrier, for you to post your code and schematic in its entirety so people can better help you.
I for one have used far simpler reset circuitry than yours and zero problems whatsoever (in a lab environment).
But it helps to understand exactly what YOU are dealing with before anyone can give you more specific suggestions.
Indeed.
It's not that a simple RC can never work - but it does have rather a lot of potential for things to go wrong...
Can you provide me link where i can find the schematics with parts list for 8052 with reset circuit that you are suggesting, I am making a new board.
Google found quite a number of such links. If you hurry, I think there will be a number of links remaining for you too.