Good days! Sorry. I work with Keil .Vision3 V3.30a. Have some C8051F060 devices. When processing my programms under Debuger control don't have any problems. But after device FLASH programming and abort Debug Session I get some problem. When read microprocessor input ports I get not correct information about input signals. What is it?
Thank You! Sasha, Ukraine.
When using the debugger, are you single-stepping or running at full speed.
If you're single-stepping, it could be a timing issue.
Do you leave the debugger cable attached even when the code is running in non-debug mode? Maybe there is some interaction with the "idle" signals on the debug cable? Or a grounding issue?
Are you sure that the code in the Flash is exactly the same as the code that was running under debug? I'm sure we've all made the embarassing mistake of failing to download after making changes...!
Thank You.
I running program at full speed when using the debugger. But I use interrupts. I am sure (I think so) that the code in the Flash is exactly the same as the code that was running under debug.
You says: "...Do you leave the debugger cable attached even when the code is running in non-debug mode? Maybe there is some interaction with the "idle" signals on the debug cable? Or a grounding issue?..."
It's most unknown moments for me, because I am't hardware specialist. it's seems to me that in non-debug mode programm don't work correct any with the debugger cable or without.