10 years, 5 months ago.

Using mbed.h with K22F

I am using a Freescale FRDM-K22F board for an embedded systems course. We were told that the MBED firmware would not work with our board because of something to do with its revision number design. We are using the Segger J-Link OpenSDAv2.1 Firmware instead with KDS SDK v1.1.0.

Does this mean I can not use the mbed.h library? I am a bit new to microcontrollers so I am not sure how everything works together yet. I need to implement I2C and I would rather not do it from scratch. The Mbed library looks attractive to me.

1 Answer

10 years, 5 months ago.

Thats a new one for me, but maybe your boards are old. If you are a student in that course I don't know if it is intended for you to use the mbed lib, however there is no reason why you cannot use it.

If you can program bin files from the KDS environment you could use the online compiler directly. Or open the online compiler, make a new basic program for the K22F (just blinky led will do), make sure the mbed library is updated (right mouse button, update), and export the project to KDS. Then you should be able to import it in KDS and work with the mbed library.