AnsweredAssumed Answered

Newbie MK22FN512 Bootloader Question

Question asked by Gary Sinde on Jan 21, 2019
Latest reply on Mar 1, 2019 by Gary Sinde

First - Yes, I have read a lot of docs on this and I will be happy to read some more

 

Ok, I have a FRDM-K22F Dev board attached via OpenSDA and using MCUXpressoIDE_10.3.0_2200 tools. What is confusing me is what device am I talking to when I issue commands through the OpenSDA USB port via COM5?

 

C:\temp>blhost.exe -p COM5 -- get-property 1
Response word 1 = 1258424064 (0x4b020700)
Current Version = K2.7.0
C:\temp>blhost.exe -p COM5 -- get-property 4
Response word 1 = 524288 (0x80000)
Flash Size = 512 KB
It would appear to me that I am talking to the MK22FN512 part because of the Flash size but I did not put a bootloader in that I am aware off. I have tried (successfully) the blinky program and modified it to blink more colors. I then erased the entire flash with:
C:\temp>blhost.exe -p COM5 -- flash-erase-all
Successful generic response to command 'flash-erase-all'
Response status = 0 (0x0) Success.
However, I remove power and reapply power and I still get:
C:\temp>blhost.exe -p COM5 -- get-property 1
Response word 1 = 1258424064 (0x4b020700)
Current Version = K2.7.0 
What bootloader is this?

Outcomes