Hello Arun,
I would highly recommend reading the following two tutorials by Erich Styger. He works for Freescale and is the author of the popular "MCU On Eclipse" blog. I was able to both understand and get the USB CDC (serial, virtual COM port) communications running for the KL46Z Freedom board through these tutorials.
Tutorial: USB CDC with the KL25Z Freedom Board | MCU on Eclipse
http://mcuoneclipse.com/2013/08/29/usb-for-the-freescale-arm-kinetis-kl46z-and-k21d50m/
Erich hasn't posted example code for the K60 regarding USB CDC communications. However, I would recommend you to do the following:
1) Download and install Erich's Processor Expert components. Erich usually has the most up to date Freescale components and he is constantly improving them. You can find these components by following this link:
mcuoneclipse/PEupd at master · ErichStyger/mcuoneclipse · GitHub
If you don't have a GitHub account then you can just download these components and all of his example code on a zip file by following this link and clicking on "Download ZIP":
ErichStyger/mcuoneclipse · GitHub
2) Download Erich's USB CDC example for the KL46. This is the most up to date example he has on using Freescales USB stack. You can find this example on GitHub by following this link:
mcuoneclipse/Examples/FRDM-KL46Z/FRDM-KL46Z48M_USB_CDC at master · ErichStyger/mcuoneclipse · GitHub
3) The easiest way for you to get your loop back functionality up and running will be to open up his KL46 example and edit the Processor Expert settings for the USB and CPU components. You will need to edit the clock settings and maybe the pins so they match the actual pins for the external oscillator on your K60 board. To help you understand which clock settings you need to edit and how to choose the right settings you should read Erich's tutorial for the KL25 microcontroller. The main detail is that the USB module on the Kinetis microcontrollers needs to run on a 48 MHz clock. Your K60 board might have an external 8 MHz oscillator. If this is the case, then you will have to configure the K60's Processor Expert component to generate the 48 MHz clock. For example, on the KL25 and KL46 chips this is done by selecting the options to multiply the external 8 MHz clock using the PLL module to obtain a 96 MHz clock and then passing this resulting clock through a clock divider to obtain the required 48 MHz clock.
4) After completing the clock and pin settings you just have to run the code on your K60 board. It should show up as a COM port on your computer. If you open a terminal app (I recommend RealTerm or PuTTY if you're using Windows) you will see that anything you type will be looped back to the terminal.
5) Look at the KL46 example code and learn the function calls that were used to send and receive data. In short, you just use the CDC1_SendString() function to send strings through the USB interface and CDC1_GetChar() to read one character at a time out of the receive buffer.
6) To test more advanced communications between the K60 and your computer I would recommend getting Visual Studio Express 2012 (it's free) and use C# to read and write to the COM port that belongs to the K60 chip. That's if you need to develop a project for Windows. Or if you're familiar with some other OS, language and IDE then just use whatever you're comfortable with.
It took me about a week to understand how the Freescale Processor Expert projects are setup on the CodeWarrior IDE and where all the code needs to go and why as well as why Processor Expert is so useful, etc.
Then, it took me about three days to understand the clock settings and I had to read Freescale's reference manual to check how the clocks worked on the KL46 and KL25 chips. You might have to do the same for the K60. But of course, having the KL46 example meant that I had a working setup from the start and I could comfortably mess around with the settings to actually understand why the clock needed to be setup that way. If you're in a hurry then you don't need to learn as much as I did, just enough to get you running. But learning that little bit extra will help you later on in other projects.
Lastly, it then took me about a day and a half to learn how to make a basic C# app to start designing all the other functionality that I needed between the KL46 and the computer.
I didn't have any previous experience on using the Kinetis or the Processor Expert platform or C# before I read those tutorials. However, I have used other basic microcontrollers and FPGAs in previous projects as well as Java for Android so that translated nicely for using C# to make a Windows GUI and for understanding all the clock settings. It goes without saying that it might take you much less time than me if you are already experienced in any of this topics.
I hope this post helps you. Have fun and be patient with yourself while you do dig through all this information.
Carlos