Hello Harsh Patel
I keep trying to port the bootloader following step by step the instructions of reference manual:
The context is:
- Bootloader porting MCU= MK20DX256VHL7
- Reference MCU= MK22F12810 (is that correct?, closest match?)
- CMSIS files, located C:\Freescale\KDS_v3\eclipse\ProcessorExpert\Config\PE\CPE\wizard_data\wizards\kds\MK20D7
(device header files)
- Downloaded NXP_Kinetis_Bootloader_2_0_0
- Copy C:\Freescale\KDS_v3\eclipse\ProcessorExpert\Config\PE\CPE\wizard_data\wizards\kds\MK20D7 which contains "Include" and "Source" sub-folders to /src/platform/devices (unziped NXP_Kinetis_Bootloader_2_0_0 folder)
- Copy NXP_Kinetis_Bootloader_2_0_0\src\platform\devices\MK22F12810 to NXP_Kinetis_Bootloader_2_0_0\targets and rename NXP_Kinetis_Bootloader_2_0_0\src\platform\devices\MK22F12810 to NXP_Kinetis_Bootloader_2_0_0\src\platform\devices\MK20D7
- Browse the new renamed folder and rename the following files like this:
In NXP_Kinetis_Bootloader_2_0_0\targets\MK20D7\src
clock_config_K22F128R ------> clock_config_MK20D7
hardware_init_K22F128R -----> hardware_init_MK20D7
memory_map_K22F128R ----->memory_map_MK20D7
peripherals_K22F128R---------> peripherals_MK20D7
From now I've followed this steps can somebody see an error, if so, let me know it.
Thank very much,
Eduard