10 years ago.

Export program with mbed converted to Library rarely works - Can someone please confirm this.

Hi, am I the only one having trouble with this? If I convert "mbed" to library (right click on "mbed" in online compiler, select "convert to library), the export program function hardly ever works. Since 2 days it is again not working for me. It has phases where it works. I use the Nucleo F401RE, L152RE and FRDM-KL25Z platforms.

For example, can someone PLEASE TEST if this works for them:

1) Import mbed blinky into your compiler: http://developer.mbed.org/users/hellghost/code/Blinky/

2) When done, in online compiler, right click on mbed, and select "convert to library"

3) Right click on project, and select "export program". I selected ST Nucleo F401RE as target, and export toolchain "CooCox CoIDE" or "GCC ARM" or "emblocks". It never works? Browser shows "Waiting for developer.mbed.org..." in status bar for about a minutes, and than that message disappears, and nothing is downloaded.

I also posted a similar problem on the forum a couple of weeks ago, but got no reply. http://developer.mbed.org/forum/mbed/topic/5280/

Am I THE ONLY ONE having this issue? I have tried different browsers, and tried it over couple of weeks. I worked on some occasions, but last couple of days no go. Maybe when server has high load? Or, could it be my ISP or modem??

Why do you want to use "convert to library" ? I might have missed the point

posted by Martin Kojtal 12 Dec 2014

Hi Martin, without converting to library I don't have the mbed source code in my IDE. I want to be able to browse the mbed src code from my IDE. It is VERY helpful doing this to understand how mbed works, and to eliminate bugs in mbed during debugging. Also, for debugging in single step the source code is useful (if not required).

When I do not convert to a library, I can export it, but it does not compile. The build reports an error. Finding this error, I need the source code too.

Is there a known issue that does not allow exporting mbed in library form?

posted by modtronix H 12 Dec 2014

I believe I've had this problem as well, but didn't narrow it down to the mbed library - I thought it was just that my program was too large. :) I'm glad you posted this, I will test it now.

posted by Dave M 07 Jan 2015

I remember what I ended up testing. I could never get it to export to KDS, but Keil worked. I was only doing this to create an archive of my source, so I didn't really care (at the time) which IDE was getting targeted by the export. However, I might want it to work with KDS pretty soon...

By the way, I tested exporting before and after the conversion. It worked before the conversion, and failed afterward. So I believe you are correct.

posted by Dave M 07 Jan 2015

2 Answers

8 years, 11 months ago.

i had a problem similar/same as this. sometimes it would compile, other times, the compile would never work. same code.

for me, i had to re install chrome browser and rebooted to get it to work.

10 years ago.

Please post this in the bugs section in the forum, as I was told there should be reported bugs in the online IDE.

I suspect this might be due to the size of mbed-src, that it does time out? My guess would be.

Regards,
0xc0170

Has this issue been resolved ? I still get an error message when trying to export to KDS with mbed-src (or dev).

posted by Christer Andreasson 17 Mar 2016

what error you get?

posted by Martin Kojtal 25 Mar 2016