AnsweredAssumed Answered

TWR-K64F120M + MQX + IAR (Output on Mini USB)

Question asked by Fabrice TOCCI on Aug 26, 2014
Latest reply on Sep 2, 2014 by Fabrice TOCCI

Hi,

I have a Kinetis TWR-K64F120M , my application runs on MQX MQX RTOS and I use IAR embedded workbench IDE v 7.20.

 

I would like to use a USB as default IO channel.

Looking to TWR-K64 schematic I thought that mini USB was assigned to UART1 ttyb.

 

I added following define in user_config.h

#define BSP_DEFAULT_IO_CHANNEL "ttyb:"

#define BSP_DEFAULT_IO_CHANNEL_DEFINED

 

and I enabled

#define BSPCFG_ENABLE_TTYB  1

#define BSPCFG_ENABLE_ITTYB 1

 

When I run TWR-K64F120M\mqx\examples\hello2 from iar IDE, nothing is shown on the PuTTy console opened on the USB COM port assigned to OPEN SDA.

 

What is the mistake with my setting?

Is it possible to use OPENSDA Mini USB port to as default IO Channel?

 

Best regards.

Fabrice.

Outcomes