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

how to debug the application program

hai,
I want relevant ideas to debug the application program developed for bootloader
which uses 8051 microcontroller ,supports f020 devices.
Front end is developed using VC++ 6.0.
Back end is using C compiled using Keil software.
Please help.
Thanks
Sadhana

Parents
  • is there any other way to debug the application program

    There are hundreds perhaps thousands of ways to debug. Here are just a few.

    • Toggle a port pin a watch it with a logic probe or scope.
    • Use printf to output info to the serial port.
    • Use an emulator.
    • Use a logic analyzer to "see" where your program is executing. Then, use the map file to figure out where that is in your code.
    • Create an interrupt that writes the interrupted PC to a 16-bit output port.
    • Put LEDs on your hardware and light an LED whenever you enter/exit different routines.
    • Hire a consultant to help you.

    Jon

Reply
  • is there any other way to debug the application program

    There are hundreds perhaps thousands of ways to debug. Here are just a few.

    • Toggle a port pin a watch it with a logic probe or scope.
    • Use printf to output info to the serial port.
    • Use an emulator.
    • Use a logic analyzer to "see" where your program is executing. Then, use the map file to figure out where that is in your code.
    • Create an interrupt that writes the interrupted PC to a 16-bit output port.
    • Put LEDs on your hardware and light an LED whenever you enter/exit different routines.
    • Hire a consultant to help you.

    Jon

Children
No data