AnsweredAssumed Answered

Bootloader k60 compilation

Question asked by Xavier BUHOT on Feb 4, 2015
Latest reply on Feb 6, 2015 by Jorge_Gonzalez

Hello,

 

I would like to use a bootloader on mu twrkit k60.

 

So I found the AN2295 to develop the bootloader.

 

I configure the project for the k60 controler but I get error . The kinetis model is basicly design for the K60_100Mhz:

#define KINETIS_MODEL K60_100MHz

 

But on the main functions identifier are undefined:

 

bootloader.c 

Warning[Pe223]: function "SIM_SOPT2_TPMSRC" declared implicitly C:\Users\Xavier\Desktop\Developpement\kinetis\Bootloader\AN2295_Kinetis_rev5_works\CommonSource\Bootloader\bootloader.c 357

Warning[Pe223]: function "SIM_SOPT2_UART0SRC" declared implicitly C:\Users\Xavier\Desktop\Developpement\kinetis\Bootloader\AN2295_Kinetis_rev5_works\CommonSource\Bootloader\bootloader.c 357

Error[Pe020]: identifier "SIM_SCGC6_FTF_MASK" is undefined C:\Users\Xavier\Desktop\Developpement\kinetis\Bootloader\AN2295_Kinetis_rev5_works\CommonSource\Bootloader\bootloader.c 360

Error[Pe020]: identifier "SIM_SCGC6_TPM0_MASK" is undefined C:\Users\Xavier\Desktop\Developpement\kinetis\Bootloader\AN2295_Kinetis_rev5_works\CommonSource\Bootloader\bootloader.c 360

Error[Pe020]: identifier "SIM_SCGC6_TPM1_MASK" is undefined C:\Users\Xavier\Desktop\Developpement\kinetis\Bootloader\AN2295_Kinetis_rev5_works\CommonSource\Bootloader\bootloader.c 360

 

 

When we use K60_100Mhz the MK60DZ10.h is use . But there is no definition of the previous identifier in this file. It is only define in MK60DZ12.h.

Why this append?

 

Can someone give me a hand?

Best regard

Outcomes