MKV31F not able to write/erase to flash using baremetal PE (KDS 3.0)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MKV31F not able to write/erase to flash using baremetal PE (KDS 3.0)

757 次查看
stevenneves
Contributor I

I've been trying to create a bootloader with KSDK as well as baremetal to see what would be the best approach in terms of code size (seems obvious BM would be the wisest choice) however while I'm able to read/write using the C90F flash drivers in KSDK, the PE generated Flash routines do not appear to work when I write to the lower bounds (anything sub 0x40000).  This is similiar to:

MKV31F Not able to write/erase to flash address less than 0x40000 (KSDK 1.3 w/PE)

just now I'm using BM PE drivers.

 

Attached is my project.  Please disable PE code generation so main.c does not get altered.  Any help would be greatly appreciated.

Original Attachment has been moved to: TestBL.zip

0 项奖励
回复
1 回复

486 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Steven,

The reason of both of the thread is that the code size is large .

If you want create a bootloader ,

I also recommend you use the bare board project , when you create project , do not select Processor Expert

option.

Hope it helps

Alice

0 项奖励
回复