Hey Ma Hui,
It's nothing complex of a code, I was just following a tutorial to test out the ADC:
http://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/
Update: The error that I receive when I try to Flash the board is now the following:
Error executing task KL25Z128M4.
"Error: Program failed. Flash driver reports the following error(s): Secure operation with disabled mass erase detected. Aborting programming to prevent locking the device permanently
<s>thread exit: Stopped, 0x0, 0x0, cpuARMLittle, Unknown (state, tid, pid, cpu, target)</s>
Error: Program failed. Flash driver reports the following error(s): Secure operation with disabled mass erase detected. Aborting
programming to prevent locking the device permanently"
Which is weird because I am successful in flashing the sample program from CW, the Tri-LED program. So I assume that the board is not bricked which makes sense because I wasn't fooling around with in the first place.
Cheers.