9 years, 9 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:

The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64, K63, and K24 MCUs.

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 2014

What card did you change?

posted by Martin Kojtal 26 Jun 2014

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.

posted by Paco Lopez 29 Jul 2014

What OS and browser are you using to get the file on the board?

posted by Sam Grove 29 Jul 2014

I 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

3 Answers

9 years, 8 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.

Sorry, it is not an answer, please delete it. I reposted as a comment.

posted by Paco Lopez 29 Jul 2014
9 years, 8 months ago.

http://mbed.org/forum/bugs-suggestions/topic/5062/

Sorrry, it doesn't work in my FRDM K64F.

The same error file (fail.txt) with the same error: NOT CONSECUTIVE SECTORS

posted by Paco Lopez 19 Aug 2014
9 years, 5 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.

@adithya .. It does not work..

posted by Ram Prasadh 21 Nov 2014