If it didn't work, you may need to update BOOTLOADER
If you deploy a CDC app to the TARGET as well:
Hi, Balu
You can use FRDM-KL25Z as a serial port to USB. You can find such a sample project which is use USB to do a serial operation. The path is \KL25Z-SC\Kinetis L Sample Code\kl25_sc\klxx-sc-baremetal\build\iar. Project name is usb_device.
Hope my reply can help you.
Best Regards
Paul
There are many KL25Z projects available here:
mcuoneclipse/Examples/FRDM-KL25Z at master ·GitHub
Have a look into the readme file in the projects, or here:
MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software
You should look into Process Expert. It allows you to configure the TARGET with a drop-down-based GUI rather than hand-coding the bits.
To create the TARGET app:
I'm willing to bet that PEx comes with a ton of example code, as well.
The USB data can be shuffled to and from any of the UARTs within your user code.
For any of the UARTs to drive a "serial port" (DB-9/RS-232), you will need additional circuitry to provide the correct voltage and polarity.
If it didn't work, you may need to update BOOTLOADER
If you deploy a CDC app to the TARGET as well: