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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

559 Views
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 Kudos
1 Reply

288 Views
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 Kudos