Hi,
I have MK10DX128VFT5 processor on my PCBA. The software is Kinetis Design Studio 3.0.0 and KSDK 1.3.
I cannot find the processor from component list of KSDK 1.3.0.
Please let me how to use KSDK tool for this processor ??
Thanks,
HJ
XiangJun,
I installed SDK1.3 for a while. I can find a linker file "ProcessorExpert.ld" which I believe is the file you mentioned.
K10 VFT5 package only has 16K ram. Comparing with MK10DX128VLQ10 package. The differences are:
1. RAM size
2. CPU clock
3. I/O configuration
Based your comments, it looks like I only need manually modify link file to make the RAM size and some method to modify CPU clock, right?
I use internal clock, please let me how to change MCG module? There is something else I need modify, please let me know. I'll give it a try.
thanks,
HJ
Hi Xiangjun,
Thank you for help and suggestion. The differences between the 2 packages are:
1. 100MHz vs 50MHz
2. RAM size 32KB vs 16KB.
3. I need peripherals includes GPIOs, ADC, UART
Given this requirements, can you please send me some detail instructions about which files I should modify? If I can use emulator through Kinetis design studio?
Thanks,
HJ
Hi, Xu,
If you use the driver of MK10DX128xxx10 for the VFT5 processor, of course, the VFT5 processor use 50mhz, RAM size is 32KB. so you only need to modify the linker file called *flash.ld, you just should the lines:
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000 //change the LENGTH value
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000 //change the LENGTH value
}
Because you use 50MHz, maybe you need change the MCG module, regarding the file, it is dependent on whether you use internal crystal or external crystal/clock source, the frequency you need reach. For example, if you use FEI mode, you do not need change anything.
After you install SDK1.3, you can refer to the example the SDK provides:
.............\driver_examples
Hope it can help you.
BR
XiangJun rong
Hi Xiangjun,
I checked SDK1.3 again, it only support MK10DX128xxx10 with 144 pin series. Not 48-pin VFT5 package. The build package from website based shows the same thing.
Please let me there is SDK package includes 48-pin QFN package. it will great helpful for code development.
Thanks,
HJ
Hi, Xu,
I have checked the KSDK website, there is not the SDK2.0 or SDk1.3 for the 48pins VFT5 as the following screenshot. But I think you can use the sdk1.3 driver for MK10DX128xxx10 with 144 pin serie for the K10DXxxxVFT5 , and you just need to change MCG module so that it can output 50MHz instead of 100MHz, for the peripheral, they have the same base address,pin assignment is the same. you can change the linker file based on the actual memory size. it is okay.
Hope it can help you.
BR
Xiangjun Rong
Hi, Xu,
I think the SDK1.3 supports the MK10DX128VFT5, pls download sdk1.3 from the website based on your own processor.
Hope it can help you.
BR
Xiangjun Rong