This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Simulates and emulates bug free

I got my program to a point where I needed to test so I ran it in the uVision simulator. It was flawless. I fired up my Nohau emulator and ran it on our new PC board. Perfect.

I burned a chip (89C51RD2) and popped it in the board...nothing.

Since I am now the only embedded guy in the shop I work alone I have no one to bounce ideas off. So I've come here.

The oscilloscope shows that timer_0 is running, and my ISR is OK because the watchdog strobe is happening and the timer values are being reloaded.

Has anyone seen this before? Do you have a suggestion of of path to find the differences between the simulated and emulated situation and running on the board?

Parents
  • If everything works in the emulator on your hardware, that's a good sign.

    If you can figure out exactly what's different between the emulator and your target hardware, that's where to look. Differences might include:

    • RAM: Works on emulator but maybe not on target.
    • RAM: More on emulator than on target.
    • Oscillator.
    • Bus speed/configuration.

    Hopefully, this list will help get you looking in the right place.

    Jon

Reply
  • If everything works in the emulator on your hardware, that's a good sign.

    If you can figure out exactly what's different between the emulator and your target hardware, that's where to look. Differences might include:

    • RAM: Works on emulator but maybe not on target.
    • RAM: More on emulator than on target.
    • Oscillator.
    • Bus speed/configuration.

    Hopefully, this list will help get you looking in the right place.

    Jon

Children
No data