Hello everyone
Greetings of the Day
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
解決済! 解決策の投稿を見る。
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
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