OH NO!
It has come to my attention that a batch of FRDM-KV31F MCU boards, were shipped to people, programmed with MBED OpenSDA firmware.
The Kinetis Motor Suite GUI scripts load the reference project image into the KV31F MCU flash using the MSD programming built into the P&E Micro firmware. It specifically looks for the FRDM-KV31F MSD drive. NXP moved away from the MBED firmware to eliminate the mass erase possibilities that could occur.
The FRDM-KV31F does not appear on these MBED boards. In fact, unless you have run the mbedWinSerial.exe installer found here, or get the latest driver here the mbed serial port will not enumerate. Plug in your FRDM-KV31F board and run the installer. But let's not stop there. We want to make sure you don't mass erase your MCU and blow away the KMS execute only library stored in the MCU's flash.
Let me give you a work around for now. Any MBED enabled FRDM board will still work with KMS, but you should use the Segger JLINK debug interface. It will not mass erase your KMS firmware like the MBED debug interface can.
WORKAROUND:
The workaround uses the Segger Jlink OPENSDA 2.1 firmware.
The MBED OPENSDA driver can be replaced with the SEGGER jlink version of the debug tool. https://www.segger.com/opensda.html. It does not have a drag and drop feature which is used by KMS, but that is not a bad thing. The segger debug has a good serial interface and is supported by KDS and IAR.
Steps for the workaround
I hope this is a help.
I’ll be working on a way to get the PEMICRO OPENSDA binary onto the board for MSD drag and drop functionality.
Happy Motoring
Philip Drake
Systems Engineer
NXP
Hi Philip.
I was lucky enough to buy 5 of these boards.
In fact I previously bought the FRDM-KV31F + FRDM-MC-LVPMSM & motor kit and was very happy.
Consequently we built custom hardware and decided to use FRDM-KV31F as the CPU until we design our own CPU hardware.
We now have five prototypes assembled for customer evaluation but cannot get the FRDM-KV31F boards running.
I've tried many steps before stumbling across this post.
Applying the steps you outlined simply generate a FAIL.TXT -> "The interface firmware ABORTED programming. Image is trying to set security bits".
I am on a Win 10 PC, could this be the problem? Unfortunately we don't have any more post Win 8.1 PCs..
Is it possible to track serial numbers of the affected boards? I'll simply replace them if I wont get the same problem.
It is possible to use the boards you have if you follow the guidelines in the Workaround. So I take it all 5 of the new boards show up with MBED mass storage device when you plug them into your computer. If they don't then yes, your windows 10 driver is the culprit.
The testing I did on my own windows 10 machine but that was months ago. I just spoke with another of our apps engineers and he indicated that there was a version of the MBED debugger that did not play well with Windows 10. See this community post.
Once you have the Segger jlink 2.1 on the freedom board then you can use the IDE to program and debug the reference design on the KV31 MCU.
Hi,
How to apply this Demo board from Sales office or FAE?
Thanks!
The boards are available from most distributors.
https://www.digikey.com/products/en?keywords=FRDM-KV31F or
https://www.digikey.com/products/en?keywords=FRDM-MC-LVPMSM or
Happy Motoring.
Philip Drake