Porting AN2295 serial Bootloader for MK20D256

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

Porting AN2295 serial Bootloader for MK20D256

ソリューションへジャンプ
1,162件の閲覧回数
harshpatel
Contributor IV

Hello everyone

Greetings of the Day

  • I Required to prepare AN2295 serial Bootloader code for freescale MK20D256 controller
  • I have successfully builed AN2295 serial bootloader for freescale MK60D256 (TWR-k60 board). It's working fine.
  • I have reviewed board files of both the controllers. I found most of things will Same.
  • An2295sw Serial bootloader link:

         Search Results: an2295sw

MY QUESTIONS ARE:

1] is there same code will work for Mk20D256?

2] If changes required than which files need to modify to port AN2295 serial bootloader code of MK60D256 to MK20D256?

Waiting for your valuable inputs...

Thanks

Regards

Harsh

1 解決策
923件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Harsh,

It mainly need change the user setting file , for example , under the AN2295, there is a file "AN2295_TWR_K20D50_cfg.h",

(AN2295SW\an2295sw\src\Kinetis\CommonSource\AN2295_TWR_K20D50_cfg.h)

you can refer to your board and chip to change it to you , for example , the UART port  , the size of port ...

this file is refer to the chip of 128K size flash , you can change it to

#define KINETIS_FLASH  FLASH_256K

and so on .

I recommend you first check whether the UART can work well ,:

UART_PutChar(0xd1);

then debug step by step , when encounter problem check the Reference manual fund the difference between the two chip , then change it .

And in the procedure , if you have any question , you can ask here without any hesitate.

Hope it helps!

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

Have a great day,

Alice

元の投稿で解決策を見る

1 返信
924件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Harsh,

It mainly need change the user setting file , for example , under the AN2295, there is a file "AN2295_TWR_K20D50_cfg.h",

(AN2295SW\an2295sw\src\Kinetis\CommonSource\AN2295_TWR_K20D50_cfg.h)

you can refer to your board and chip to change it to you , for example , the UART port  , the size of port ...

this file is refer to the chip of 128K size flash , you can change it to

#define KINETIS_FLASH  FLASH_256K

and so on .

I recommend you first check whether the UART can work well ,:

UART_PutChar(0xd1);

then debug step by step , when encounter problem check the Reference manual fund the difference between the two chip , then change it .

And in the procedure , if you have any question , you can ask here without any hesitate.

Hope it helps!

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

Have a great day,

Alice