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

ISD51 problems

1.I can't access PORT1,PORT2 from the debugger;

2.Can I use the "printf" function to send something to the serial window of the debugger?

  • 1.I can't access PORT1,PORT2 from the debugger;

    If you're using ISD51, the program runs on the target hardware. In the debugger, PORT1, PORT2, ... are used to change the state of the port pins when simulating. You can't use software to change the state of the pins (the physical wires) on your target hardware.

    2.Can I use the "printf" function to send something to the serial window of the debugger?

    Yep. This should work OK.

    Jon

  • sorry,in problem one I mean:
    In ISD51's single-stepping mode, I can access PORT0 and PORT3 from the debugger,but"I can't access PORT1,PORT2 ";

    here is the ISD51 Features:
    Controlled program execution with single-stepping and multiple software breakpoints.
    Viewing and changing CPU registers and memory.
    Access to Special Function Registers (SFRs).

    In factory, I have studied the ISD51.a51--there are no programs about changing the SFR of P1,P2 at all! why?