AnsweredAssumed Answered

How to open "ttyd:" in TWR-K60N512 and TWR_SER?

Question asked by steven zhao on Jun 25, 2012
Latest reply on Jul 14, 2012 by Lisa Fu

I want to print to hyperterminal instead of PEmicro. Unfortunately, I saw nothing on hyperterminal. What I have done was below:

1) enabled the "ttyd:" in \Freescale MQX 3.8\mqx\source\bsp\k60n512.h

2) recompiled the BSP

3) added the following codes in my program

        fh_ptr = (pointer)fopen("ttyd:", BSP_DEFAULT_IO_OPEN_MODE);    

        _io_set_handle(IO_STDOUT, fh_ptr);

4) compile my project

Then, when I ran the program, still nothing in hyperterminal.  I don't know how to figure out the problem.