KinetisFlashTool throws error kStatusMemoryRangeInvalid while using frdmk82f SDK examples

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

KinetisFlashTool throws error kStatusMemoryRangeInvalid while using frdmk82f SDK examples

1,430 Views
Fonso
Contributor I

I am trying to flash the SDK sample application The led_demo_freedom_a000 on a frdmk82f board. 

For that I did the following steps:

  1. Import in MCU expresso the freedom_bootloader from the SDK examples
  2. Build the example and program the board with it
  3. Import in MCU expresso the freedom_bootloader led_demo_freedom_a000 from the SDK examples
  4. Build the application
  5. Get the generated binary from the debug folder
  6. Open KinetisFlashTool
  7. Connect to the board and collect its information

Until step 7 everything worked smooth. The bootloader seems running and answering to KinetisFlashTool. Nevertheless, when I try to flash the app, I will get the error kStatusMemoryRangeInvalid.

I assume that the error is caused by trying to flash a reserved area, since the status box indicates that the area from 0x0 to 0xAFFF is reserved. But this is strange to me since I am using the SDK example code for both, bootloader and App.

Could you tell me what I might be doing wrong and how can I achieve to flash the example App with KinetisFlashTool?

Thanks a lot in advance!

0 Kudos
Reply
1 Reply

869 Views
JustSomeGuy
Contributor II
I realize post is 2 years old, but I'm having the exact same issue. Was this ever resolved?
0 Kudos
Reply