AnsweredAssumed Answered

change tty in MQX ethernet to serial example (FRDMK64F)

Question asked by TurboMan on Sep 25, 2015
Latest reply on Sep 28, 2015 by TurboMan

So I eventually got the MQX serial to ethernet example working. (FRDMK64F) Sort of. The default configuration is polled serial (ttya). When I telnetted into it it errored in the serial terminal saying it wasn't interrupt driven. So I tried to change it. This has failed however I try to implement it.


There are settings in user_config.h (BSP) and config.h (eth to serial demo) to change, and the error message seemed pretty clear:



Waiting for incoming connection...OK


Fatal Error: Device " N" is not interrupt driven serial line.

This demo application requires enabled interrupt driven serial line (i.e "ittyf:").


Please define proper device using macro SERIAL_DEVICE and recompile this demo ap



Please add proper configuration to user_config.h






#define BSP_DEFAULT_IO_CHANNEL "ittyf:"


Followed those instructions, but I just get a blank terminal. I defined this: BSPCFG_ENABLE_ITTYA as 1 *instead* of the ..._TTYA version. I put the error message modifications in config.h as they wouldn't compile in user_config.h. Is this the real problem?


Anyone fancy a guess?...