9 years, 10 months ago.

FAIL.TXT ...LPC1114FN28

/media/uploads/profra/fail.txt_.png

FAIL.TXT ... I received LPC1114FN28 a few days ago and I try to load and run first programm now...MBED_BLINKY.. without success. In the mbed drive (E:) is created file FAIL.TXT where is written "BAD EXTENSION FILE". See the picture...Where is the problem? I have mbed LPC1768 and LPC11U24 and I am used to work this way without any problem.

  1. include "mbed.h"

DigitalOut myled(LED1);

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

Question relating to:

The LPC1114FN28 is an ARM Cortex-M0 based, low-cost 32-bit MCU, designed for 8/16-bit microcontroller applications, offering performance, low power, simple instruction set and memory addressing together with reduced code size …

3 Answers

9 years, 10 months ago.

I have absolutely the same problem. Program is compiled, so the BIN file is created. When I copy this BIN to LPC1114FN28, the red LED starts blinking very quickly and then the LPC is disconnected, then reconnected and the BIN file is suddenly missing. Is it necessary to do something before or after the flashing BIN? Thanks, Karel Svoboda

Accepted Answer

The bin file missing isn't a problem. It should be written to the target flash memory. The only problem would be if our drive had a file named fail.txt with an explanation inside it.

There are some difference between the original mbed interface and CMSIS-DAP firmware. Please see this page for more details.

http://mbed.org/handbook/HDK-and-CMSIS-DAP

posted by Sam Grove 04 Jun 2014

Ok, after copy BIN to LPC, it is reconnected, BIN disappears. But program hasn't started automatically. Why? It is necessary to press some button?

posted by Karel Svoboda 05 Jun 2014

You need to press the reset button.

posted by Sam Grove 05 Jun 2014

But on this board (LPC1411FN28), there is only ISP and BL button. There isn't RESET button...

posted by Karel Svoboda 05 Jun 2014

BL button works as reset target (LPC1114FN28).

posted by Yoshihiro TSUBOI 06 Jun 2014

Thx to all, BL button really starts the program ;-)

posted by Karel Svoboda 06 Jun 2014
9 years, 10 months ago.

Could you tell me the downloaded and drug&dropped file name?

/media/uploads/profra/workspace_01.png In workspace I have name "14_mbed_blinky" and download file is "14_mbed_blinky_LPC1114.bin"... is it enough answer?

posted by Frantisek Provaznik 03 Jun 2014

Sorry, I have encircled "Accepted" ... but I don`t know the solution yet.

/media/uploads/profra/lpc1114fn28_strange.mov

I have discovered another strange behaviour ... see the video attached... BLINKY is compiled, BIN is downloaded to mbed drive.. you can see it there just for a while, then the BIN file disappears (deleted?), file explorer is closed, mbed drive is disconnected... and after 2-3 seconds is again connected... BUT without compiled BIN file... the mbed drive is empty or with the file "FAIL.TXT" ... really strange!!! Can something be wrong with the mbed module? It was delivered to me a few days ago directly from Switch Science.... or do I do something wrong? LPC11U24 and LPC1768 on the same place work without any problems. Does somebody have any idea what to do?

posted by Frantisek Provaznik 03 Jun 2014

Thanks, I guessed that error was caused by wrong file name extension. Anyway, I will try to reproduce your problem.

posted by Yoshihiro TSUBOI 03 Jun 2014

So, was the FAIL.TXT issue resolved? If so, could you tell me the cause?

posted by Yoshihiro TSUBOI 06 Jun 2014
9 years, 10 months ago.

What OS and language is your computer running? From the video it looked like a Google Chrome browser. Is that correct? Can you try to download the file to a desktop or downloads folder and then copy to the mbed board? What are the results?

Answers: OS W7-64, language= Czech, browser=Chrome. Yes, I have tried to send compilation (BIN file) to another folder (not directly to mbed drive) and then manually to copy to mbed drive... the same behaviour! Strange... I don´t know what to do. FYI... I bought 2 mbeds from Switch Science, I have one and the other one has Karel Svoboda... please, see his comments below. It could be also helpful ... 2 pieces mbed LPC1114FN28 in the Czech Republic and the same behaviour?

posted by Frantisek Provaznik 04 Jun 2014

Assigned to Yoshihiro TSUBOI 9 years, 10 months ago.

This means that the question has been accepted and is being worked on.