Using mbeds in competitions

01 Oct 2010

I was hoping to use the mbed in an international robotics competition. However, the nature of the competition means that Internet access is not guarenteed at the venue.

If I were to go down the mbed route for the controller, do I have any means of changing the mbed's software on-site (offline), or would I have to finalise my code prior to going to the venue?

03 Oct 2010

Hi Eric,

We're all for seeing mbed used in competitions - anything that spreads the word!

If you search the forum with a keyword like "offline" you'll see a lot helpful resources and information about how to export a project into Keil's MDK tool.

You might want to check out this thread :

http://mbed.org/forum/mbed/topic/518/?page=1#comment-2609

Hope that helps!

Cheers,
Chis

02 Nov 2010

Hi!

I was worried that I would have to adapt to the horrible codebase used by the arduino! It's such a let down after having seen the mbed API. I'm assuming that I can take that sample project, and it'll work out of the box. Is it an issue that I have an old controller (mbed NXP LPC2368)?

Exactly what is "Keil's MDK tool"? Is it free? Does it integrate with SVN/GIT?

Also, is it possible to set up some kind of toolchain through Eclipse or Visual Studio?

Thanks a lot for the help,
Eric

06 Nov 2010

Ok, I've installed the Keil tools, and got the sample project compiling. Unfortunately, it's targeting the new board, which I don't have.

How can I tweak the project such that it targets the old board?

Also, would it be possible to integrate an "Export as uVision project" option into the mbed online compiler?

Thanks,
Eric

09 Nov 2010

http://mbed.org/cookbook/Assembly-Language has some info on this based on an ARM ap note - did you find that?

09 Nov 2010

When you setup a project, you specify the device type for the target - so you need to change it to the NXP LPCxxxx device on your board. The mbed library files may also need to be replaced in the initial project setup. In my version of Keil tools, I can right click on the project in the left project window, select options, and click the device tab, and change device numbers.

 

09 Nov 2010

Actually the Ap note has all of the info and files needed for both the new and old mbed modules  - I just double checked.

http://www.keil.com/appnotes/docs/apnt_207.asp

09 Nov 2010

Ah, thanks! That's exactly the kind of link that I was looking for. Thanks Jim!

Exactly what does the 32K limit on the trial version of the Keil tools refer to? The size of the bin files? The size of the source code?