10 years, 10 months ago.

How to connect a FRDM-KL25Z in mbed compiler

Hi I am new to embedded programming.I am trying to compile a sample program in mbed compiler but I am getting as No device attached message. When I tried to follow the procedure as mentioned in this link https://mbed.org/handbook/mbed-FRDM-KL25Z-Getting-Started, I am not getting the folder name BOOTLOADER ( my folder name is FRDM-KL25Z) as mentioned in this website. Also I have copied the mbed_if_v2.0_frdm_kl25z file to my folder but it is not changing into mbed.html ..I dont know where I am making mistakes. Can someone please help me with this issue that would be really great. Thank you.

2 Answers

10 years, 10 months ago.

If you're not using Windows, updating the firmware may not work well. I had to do this in a Windows VM on my Mac laptop.

Accepted Answer
B P
poster
10 years, 10 months ago.

Thanks a lot for your reply. I am using windows vista... I refered some mbed forums and able to figure out the answer. Now I am able to compile the FRDM -KL25Z for a simple program DigitalOut myled(LED1);

int main() { while(1) { myled = 1; wait(0.5); myled = 0; wait(0.5); } }

if i change the wait time i am not sure whether it is reflecting or not...i recompiled and saved the .bin file in my mbed folder .. should i have to press reset button to erase the previous .bin file it will not overwrite...

if possible can you please clear these doubts.. Thank you..