Hi Mehdi,
Did you mean to include the MQXLite component instead of MQX component?
If you use the MQXLite component, once you generate code you will have the RTOS files available in MQXLITE folder.
The help on the MQX Realtime OS component indicates it is meant to be used with an existing BSP.
Please note that all FSL MQX BSP's are PE capable.
Howto_SetupKinetisClock_UsingPE.pdf for additional information.
Regards,
David
n/a
Hi Mehdi,
The BSPCloning tool is perfect for this scenario.
Clone the superset BSP (in your case from the TWR-K60D100M), enable the PE component in the BSP using CW, add a CPU component for your specific Kinetis device, tweak and tune as needed.
Documents to look at:
~Freescale_MQX_4_0_2\doc\tools\MQX_BSP_Cloning_Wizard_Getting_Started.pdf
~Freescale_MQX_4_0_2\doc\tools\cw\Howto_SetupKinetisClock_UsingPE.pdf
So once the new CPU component is added and clocks setup accordingly, generate code, and now PE code over rides the default MQX clock init code.
Regards,
David
On my custom board I have an MK10 MCU. I cannot find any MK10 BSP?
I can find the BSPCloningWizard however.
Is it possible to use BSP "twrk60d100m" for my K10 MCU on the custom board? I cannot find any other bsp close to MK10? there is no BSP like "twrk10..."
Correct to start with twrk60d100m to clone but give new name of custom-k10.
Then use PE to add CPU component for your K10 into the BSP.
PE can be used to setup clocks and source and etc.
Generate code and now it is a PE header that it used fir your new device.
Regards,
David
Sent from my iPhone
n/a
Yes PE will generate linker file for your device.
We have a document that should be ready in January giving great details on this and a tool to choose correct starting BSP to clone.
Sent from my iPhone
Hi DavidS,
I get so many errors when I add MK10 CPU to my bsp. Why?
I did generate code then
I did clean and rebuild, and I see there are errors?
I see those errors in my IO_Map.h
Hi Mehdi,
Please send me the exact K10 part number you have.
It should look something like following but knowing the exact part number very important:
MK10DX64VLF5 |
MK10DX64VLH5 |
MK10DX64VMP5 |
MK10DX128VLH7 |
MK10DX128VLK7 |
MK10DX128VLL7 |
Regards,
David
Hi DavidS
The part number is MK10DN512Z VLL10
Hi DavidS,
Happy new year!
I had a correspondence with FSL tech support and they are claiming that for 100 pin mcu packages there is no mqx support. Is it true? We are going to use both MK10 and MK60 LQFP package in our custom boards.
MK10DN512Z VLL10
and
MK60DN512 VLL10
If this is true, does it mean that we should convert to 144 pin MCUs to use MQX or can we modify MQX for 100 pin controllers?
Thanks
Mehdi
n/a