AnsweredAssumed Answered

FRDMK64 MQX FREEMASTER AND SDK

Question asked by Jose Manuel Alvarado Farias on Oct 24, 2015
Latest reply on Oct 29, 2015 by isaacavila

Hi, I'm working with FRDMK64, MQX, KSDK 1.2 and FREEMASTER. I read the documentation of FREEMASTER, the USER GUIDE in the section 4.10 says that you can use MQX with FREEMASTER. I have read and followed the instructions of the user guide and application note AN4752 to configure freemaster in MQX. My project have successfully compiled, but the FRDMK64 is not recognized by FREEMASTER. Below is the code of the main task:

 

void main_task(uint32_t initial_data)

{

       FMSTR_Init();

     while(TRUE)

    {

         counter++;

         FMSTR_Poll();

    }

    _task_block();

}

 

In the file freemaster_cfgen.h i have configured the MQX interface as follows:

 

#define FMSTR_DISABLE          0    /* To disable all FreeMASTER functionalities */

#define FMSTR_USE_MQX_IO       1    /* To select MQX IO communication interface */

#define FMSTR_USE_PDBDM        0    /* To select Packet Driven BDM communication interface */

 

 

// Please make sure that FreeMASTER is not using same interface like

// MQX IO CHANNEL defined by BSP_DEFAULT_IO_CHANNEL

 

#define FMSTR_MQX_IO_CHANNEL   "ttya:"

#define FMSTR_MQX_IO_BLOCKING  1

 

I ask your help I ask your help to know that I'm doing wrong. Is there any example of FREEMASTER and MQX for KSDK?

 

Thanks in advance.

Outcomes