Hi Hariharasuthan,
If you are using MQX 4.x you can fin in twrk65f180m.h the definitions shown in code below. You may change the default io channel to iodebug and rebuild MQX libraries. This file is located in the following path:
C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\twrk65f180m
/*
* Other Serial console options:(do not forget to enable BSPCFG_ENABLE_TTY define if changed)
* "ttyc:" OSJTAG-COM, TWR_SER polled mode
* "ittyc:" TWR-SER interrupt mode
* "iodebug:" IDE debug console
** MGCT: <option type="string" maxsize="256" quoted="false" allowempty="false"/>
*/
#ifndef BSP_DEFAULT_IO_CHANNEL
#if BSPCFG_ENABLE_TTYC
#define BSP_DEFAULT_IO_CHANNEL "ttyc:" /* OpenSDA-COM polled mode */
#define BSP_DEFAULT_IO_CHANNEL_DEFINED
#else
#define BSP_DEFAULT_IO_CHANNEL NULL
#endif
#else
/* undef is for backward compatibility with user_configh.h files which have already had it defined */
#undef BSP_DEFAULT_IO_CHANNEL_DEFINED
#define BSP_DEFAULT_IO_CHANNEL_DEFINED
#endif
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------