Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
Not able to access MBED MK20DX128VFMS from our custom board
We need to access MBED , We tried to reset the MBED to go to boot loader mode. But it is not going to BOOT LOADER MODE.
First time we are flashing the chip , I think there is no firmware now.
So how can we flash the firmware first time ?
We try to follow below , but the MBED is not going to boot loader mode
https://developer.mbed.org/platforms/FRDM-K20D50M/#overview
thanks Nimesh Kanoth
1 Answer
9 years, 9 months ago.
If you are using the FRDM-K20D50M board to program your customer board, the interface MCU is looking for a MK20DX128VLH5 target. The flash programming algorithm will only work for this MCU.
To program a MK20DX128VFM5 you will need an external flash programmer, something like the Segger Flasher. This works, I use one.
It is possible the internal architecture is the same as the MK20DX128VLH5, I have not checked, but the Flash/RAM are the same so that's a good start. However the clock frequency is specified 50MHz rather than 48MHz for MK20DX128VLH5, there may be an issue there but can be overcome or simply clock it at the Mbed default 48MHz providing the prescallers are the same.
If you compare the two manuals and find the register layout and clock source set up are the same then compiling for the FRDM-K20D50 (MK20DX128VLH5) should work on the MK20DX128VFM5 target. But as I mention you will need an external programmer to load your BIN file.