KDS 1.1.1 and MQX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KDS 1.1.1 and MQX

Jump to solution
2,066 Views
piotrek
Contributor III

I would like to use MQX with my FRDM-K64F board projects.

I do have KDS 1.1.1 with KSDK 1.0.0 installed.

From the existing documents it it not clear to me if I need the Freescale_MQX_KSDK_1.0.0-Beta to be installed too?

 

Regards,

Piotr

Labels (1)
0 Kudos
1 Solution
1,545 Views
anthony_huereca
NXP Employee
NXP Employee

You need to install KDS 1.1.1: http://freescale.com/kds

Then install MQX for KSDK 1.0.0: http://freescale.com/mqx/ksdk

Then follow the K64 user guide at C:\Freescale\MQX_KSDK_1.0.0\doc\Kinetis SDK K64 User's Guide.pdf, specifically section 4.4.

Then you'll have everything you need for FRDM-K64F development with KDS+KSDK+MQX.

-Anthony

View solution in original post

0 Kudos
10 Replies
1,545 Views
piotrek
Contributor III

It seems that every time there is an answer I find another question to ask.

So, maybe this will help to get the final answer:

When installing for the first time what steps/order should I follow to have KDS, KSDK, and MQX (with RTCS and MFS) ready for my FRDM-K64F development?

Piotr

0 Kudos
1,546 Views
anthony_huereca
NXP Employee
NXP Employee

You need to install KDS 1.1.1: http://freescale.com/kds

Then install MQX for KSDK 1.0.0: http://freescale.com/mqx/ksdk

Then follow the K64 user guide at C:\Freescale\MQX_KSDK_1.0.0\doc\Kinetis SDK K64 User's Guide.pdf, specifically section 4.4.

Then you'll have everything you need for FRDM-K64F development with KDS+KSDK+MQX.

-Anthony

0 Kudos
1,545 Views
anthony_huereca
NXP Employee
NXP Employee

Hi Piotr,

  As you've seen, there are two ways to get MQX with KSDK right now with the 1.0.0 version.

1) KSDK Installation Package (MQX, FreeRTOS, uCOSII, uCOSIII)

Default Install Path: C:\Freescale\KSDK_1.0.0

Download from: http://freescale.com/ksdk

Includes KSDK+RTOSes Kernel

2) MQX for KSDK Installation Package (MQX only)

Default Install Path: C:\Freescale\MQX_KSDK_1.0.0

Download From: http://freescale.com/mqx/ksdk

Superset MQX package: Includes KSDK+MQX Kernel+RTCS+MFS

Both methods will get you all the features and files of KSDK. The only difference is the MQX for KSDK installation also includes the MQX MFS (Filesystem) and RTCS (Ethernet) stacks and does not include the FreeRTOS or uCOS kernels. MQX for KSDK is currently provided as a separate installer since it was released as Beta.

Also note that to get MQX when installing the normal "KSDK Installation Package", you must select the "Custom" installation and then on the next screen select MQX. After installation you'll see the MQX source at C:\Freescale\KSDK_1.0.0\rtos\mqx. If you do not see that folder, you'll need to re-install the KSDK package and make sure to select the "Custom" install.

When KSDK 1.1 is released in about a month, there will only be one installation package ("KSDK") and that should make it less confusing.

-Anthony

0 Kudos
1,545 Views
piotrek
Contributor III

Hello Anthony,

I followed the way 1, KSDK installation, so I do have MQX but not RTCS and MFS installed.

What would be the proper way to add RTCS and MFS to my installation?

In describing way 2 you are saying:

"MQX for KSDK Installation Package (MQX only)"

and

"Superset MQX package: Includes KSDK+MQX Kernel+RTCS+MFS"

So, if it is MQX only why does it include KSDK?

Piotr

0 Kudos
1,545 Views
anthony_huereca
NXP Employee
NXP Employee

Hi Piotrek,

At the moment the only way to get RTCS and MFS is to use the MQX for KSDK installer (the second method). This will change in the KSDK 1.1 release when everything will be in one installer package.

  For the second question, I say it's "MQX Only" because it does not include the other RTOS kernels. This MQX for KSDK relies heavily on the KSDK drivers and startup code, so they're very integrated together.

-Anthony

0 Kudos
1,545 Views
tim
Contributor I

Did you install the released KSDK with the custom selection?  The MQX is one of the install options so I would think you wouldn't want the beta installed.  If you don't see MQX installed maybe you can run through the KSDK installer and reinstall it with the "custom" option making sure MQX is selected.

Good luck!

Tim

0 Kudos
1,545 Views
piotrek
Contributor III

Hello Tim,

Freescale makes the two installers available: Freescale_KSDK_1.0.0 and Freescale_MQX_KSDK_1.0.0-Beta. I think it would be very beneficial to clarify:

1 - Why do we have two of them?

2 - Which one to use and when?

Regards,

Piotr

0 Kudos
1,545 Views
tim
Contributor I

I see what you are asking now.  I think this quote from the MQX page answers your question:

"NOTE: Freescale MQX RTOS for Kinetis SDK is currently released as beta software at this time, and includes Kinetis SDK v1.0. The final release is scheduled for Q4 2014. MQX RTOS for Kinetis SDK is a separate software package and does not require prior installation of the Kinetis SDK."

Tim

0 Kudos
1,545 Views
piotrek
Contributor III

Hi Tim,

So, what will we have in Q4 2014:

1. Two overlapping installers like today (with possible explanation when to use which)?

2. Separate installer for MQX and KSDK?

Piotr

0 Kudos
1,545 Views
tim
Contributor I

Well, the readme for MQX RTOS for KSDK say:

Freescale MQX™ RTOS for Kinetis SDK. The product is based on the MQX kernel, MFS
and RTCS stack version 4.1.0. The product is provided in two packages:

• MQX Kernel only – should be extracted to previously downloaded SDK 

• MQX pre-integrated package – already contains SDK,TCPIP stack, File system

Good luck!

Tim

0 Kudos