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)

691件の閲覧回数
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 返信

420件の閲覧回数
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 件の賞賛
返信