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.