Re: MSP430 mcu: Display characters on terminal I/O __ IAR simulator



Hans-Bernhard Bröker wrote:
JS wrote:

I am trying to debug my code via the built-in IAR simulator. Is there any way to using the printf statement in the source code to send characters to terminal I/O during simulation?


What on earth would you want to go and do that for? You have a simulator/debugger, so why resort all the way back to printf debugging?

One reason could be that the code has realtime dependecies to the environment. That would be typical for a realtime system :-)
.



Relevant Pages

  • Re: It seems that port mapping causes no skew
    ... variable assignment as a method to save a result to be used by ... source code literally describes the precise implementation. ... So one must accept the paradox that the hardware that is being ... Both synthesis and simulation are acting on the same source code ...
    (comp.lang.vhdl)
  • Re: XPC-target, s function problem
    ... You need the source code to that so you can insert some printf statements ... When your code is on the target, ... Whenever I run the simulation in real time with that block, instantaneously I get a TCP/IP connect error; All connections to the target computer are lost. ...
    (comp.soft-sys.matlab)
  • Re: XPC-target, s function problem
    ... You need the source code to that so you can insert some printf statements ... When your code is on the target, ... Whenever I run the simulation in real time with that block, instantaneously I get a TCP/IP connect error; All connections to the target computer are lost. ...
    (comp.soft-sys.matlab)
  • Re: Can returning a value change the value itself (in the Halting Problem)
    ... On Tue, 24 Aug 2004 04:26:01 GMT, Marc Goodman ... Change the source code, and the value returned ... >suitable code is supplied for the NO-OP block. ... That includes adding the printf statement ...
    (comp.theory)
  • Re: Can returning a value change the value itself (in the Halting Problem)
    ... On Tue, 24 Aug 2004 04:26:01 GMT, Marc Goodman ... Change the source code, and the value returned ... >suitable code is supplied for the NO-OP block. ... That includes adding the printf statement ...
    (sci.logic)