Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 3 months ago.
I get an SWD error each time I try to load a program to the FRDM-K64F
I'm starting to work with this platform but I can't load a bin file. Each time I try it appears a fail.txt file in the root directory of the MBED drive saying only: SWD error.
I tried with both an already precomplied file from the FRDM package and from the mbed online compiler.
I have already installed the latest firmware versión (0203) but that goes in the same way, any clue?
Question relating to:

3 Answers
9 years, 2 months ago.
I have the same problem, but the fail.txt file says "NOT CONSECUTIVE SECTORS". I have upgraded the firmware to 0203 version and tried precompiled -HelloWorld_K64F.bin- and compiled by myself -blinky-, but something is wrong. In other MBED platforms, including freescale (not K64F model) and nucleo cards, this problem is not present, and everything is OK. Of course, I selected the apropiate platform in the compiler.
8 years, 10 months ago.
Please plugin a standard power supply on to mbed board and try to flash . Flash the mbed board with power supply on. then remove usb cable and hit the rest button while the power supply is till connected. your program is ready to go.
I just changed the card and it worked as it was supposed to be! Unfortunately it was a new one.
posted by Jorge Pardiñas 26 Jun 2014What card did you change?
posted by Martin Kojtal 26 Jun 2014I have the same problem, but the fail.txt file says "NOT CONSECUTIVE SECTORS". I have upgraded the firmware to 0203 version and tried precompiled -HelloWorld_K64F.bin- and compiled by myself -blinky-, but something is wrong. In other MBED platforms, including freescale (not K64F model) and nucleo cards, this problem is not present, and everything is OK. Of course, I selected the apropiate platform in the compiler.
posted by Paco Lopez 29 Jul 2014What OS and browser are you using to get the file on the board?
posted by Sam Grove 29 Jul 2014I am using Chrome on WIN8.1 and WIN7. The problem is present, also, when I download the file in a disk and the I copy to the board
posted by Paco Lopez 30 Jul 2014