??? 01/01/05 17:46 Read: times |
#84197 - debugging? Responding to: ???'s previous message |
Shahzad said:
I am trying to run this code for 2 days... What have you done in that time to debug this problem? This function is working absolutely fine in Deskop Turbo C++. but its not working when i burn it on 52. As Jez has already said, running on a PC desktop doesn't tell you a lot: you are using a different compiler, and running on a comletely different processor in a completely different environment: there's no end of reasons why it could run on a PC but not an 8052! If you have it running on a PC, you must have a version of your code that's independent of any 8052 hardware; therefore, it should be simple to just run it in the Keil Simulator. Have you done that? In the Simulator you can easily single-step, set breakpoints, etc to see what's going on in your 8052 code - no need to burn it into anything! Note that Keil even have an LCD simulation for uVision: http://www.keil.com/appnotes/docs/apnt_161.asp |
Topic | Author | Date |
Keil C Code not working | 01/01/70 00:00 | |
Desktop turbo c++ ? | 01/01/70 00:00 | |
Slightly??!! | 01/01/70 00:00 | |
agreed | 01/01/70 00:00 | |
i got the math to do div / multiply | 01/01/70 00:00 | |
Debugger? Simulator? Maths? | 01/01/70 00:00 | |
Question... | 01/01/70 00:00 | |
Please use Correct Terms | 01/01/70 00:00 | |
Re Andy Debugger, Simulator? Math | 01/01/70 00:00 | |
*unnecessarily* complex! | 01/01/70 00:00 | |
Re andy | 01/01/70 00:00 | |
Divide and Conquer! | 01/01/70 00:00 | |
Bad Burner? | 01/01/70 00:00 | |
Re Andy Bad Burner | 01/01/70 00:00 | |
Project Configuration? | 01/01/70 00:00 | |
debugging? | 01/01/70 00:00 | |
thanks for the link | 01/01/70 00:00 | |
Data Sizes - Lesson not yet learned? | 01/01/70 00:00 | |
Re Andy | 01/01/70 00:00 | |
brackets ? | 01/01/70 00:00 | |
(no) brackets | 01/01/70 00:00 | |
WriteCommandLCD ? | 01/01/70 00:00 | |
Re Andy | 01/01/70 00:00 | |
Problem not fixed yet? | 01/01/70 00:00 | |
Problem not fixed yet?![]() | 01/01/70 00:00 |