AN2295SW MKL04Z32VFM4 Question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

AN2295SW MKL04Z32VFM4 Question

887件の閲覧回数
dennisnguyen
Contributor II

Hi,

I downloaded AN2295SW and attempted to port the bootloader for MKL04Z32VFM4. I ran into a few problems. I used MKL05Z32LF4.h header file for MKL04Z32VFM4. There are macros that used in AN2295SW  bootloader.c that is defined in MK60DZ10.h are not available in MKL05Z32LF4.h.

. No SCB_AIRCR

. No PORT_PCR_REG

As the matter of facts, MKL05Z32LF4.h is totally different than MK60DZ10.h.

Do you have a working AN2295SW for MKL04Z32VFM4 that I can reference to?

Thanks,

Dennis Nguyen

ラベル(1)
タグ(2)
4 返答(返信)

676件の閲覧回数
mjbcswitzerland
Specialist V

Hi Dennis

I think that AN2295SW is limited to a few devices and development environments and I believe that it is intended for only KL25 types in its present form. AN projects don't tend to be maintained or further developed and I wouldn't expect this one to be due to the fact that Freescale is introducing a new loader KBOOT: Kinetis Bootloader

You can however take a look at the folllowing loader which is supported and works on a large number of parts and can be build with most standard tool chains: Re: Kinetis Boot Loader for SREC UART, SD Card and USB-MSD loading

Regards

Mark

676件の閲覧回数
dennisnguyen
Contributor II

Hi,

Do you have an example of memory allocation and IAR linker ICF FOR KL04Z similar to AN2295.pdf section 7?
Thanks,

Dennis

0 件の賞賛
返信

676件の閲覧回数
mjbcswitzerland
Specialist V

Dennis

Attached is an IAR .icf for KL parts with 32k Flash and 4k SRAM.

It is quite simple to modify them - the only thing to remember with the KL parts is that their SRAM is not symmetrical around 0x20000000 but 1/4 of the SRAM is anchored to end at 0x20000000 and 3/4 of it anchored to start at 0x20000000.

Regards

Mark

0 件の賞賛
返信

676件の閲覧回数
dennisnguyen
Contributor II

Hi Mark,

I just took a look at KBOOT: Kinetis Bootloader. My KL04Z is not the support list either. I know that we can get it working but might take longer time and we are kind in a time crunch for this. I will give a shot a post a question when I running into any issue.

Thanks for the quick response,

Dennis

0 件の賞賛
返信