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

Debug with Logic Analyzer to show GPIOB bit signal

hi, I am trying to use the logic analyzer to capture the output pin on my MCBSTM32 board. I have try to add "GPIOB" into Current Logic Analyzer Signals under Setup Logic Analyzer Menu, but couldn't seems to do that successfully. May i know whats the right way to add and monitor the signal? This pin is connected to an IR Emitter and the 38Khz carrier frequency toggle by a Timer ISR.

regards
Thanks for any input.
clgo

Parents
  • I could find no documentation on the ARM version of the Logic Analyzer but in the C51, an output pin cannot be displayed directly because the simulator does not connect to the output pins. Instead you can display the virtual register or a variable.
    So a quick way would be to assign the value of the output pin to a variable and display the variable or display the corresponding VTR (virtual register). Look up the VTR in the Debugger Manuals. You may need to review the C51 manuals as the ARM manuals appear useless. However, I'm running an older version of the ARM tools so they may have been updated.
    If you need to see the actual hardware pin value then you need an oscilloscope.
    Bradford

Reply
  • I could find no documentation on the ARM version of the Logic Analyzer but in the C51, an output pin cannot be displayed directly because the simulator does not connect to the output pins. Instead you can display the virtual register or a variable.
    So a quick way would be to assign the value of the output pin to a variable and display the variable or display the corresponding VTR (virtual register). Look up the VTR in the Debugger Manuals. You may need to review the C51 manuals as the ARM manuals appear useless. However, I'm running an older version of the ARM tools so they may have been updated.
    If you need to see the actual hardware pin value then you need an oscilloscope.
    Bradford

Children