10 years, 1 month ago.

Nucleo Board: Missing Components & Compilation Help

Whenever I hit compile in my browser (I tried IE, Firefox, and Chrome) it just downloads a .bin file but how do I actually deploy the code onto the device in one step? I've discovered if I manually drag the .bin file from the download folder to my Nucleo device drive it restarts automatically and the new code takes effect. Seems like a roundabout and inefficient way to do it. And I did already update to the newest firmware.

In addition I just received my Nucleo board today and it missing several SMT components. Not sure if they are supposed to be missing maybe they were determined unnecessary after manufacturing or something or maybe my board is just a dud. I bought if from Mouser so I suppose I can get somewhere with their support people if I need to but I wanted to make sure the parts were supposed to be there first.

I am missing crystals 2 and 3 as well as probably 10 surface mount resistors and capacitors and a jumpers header. That just seems so wrong to me but who knows. The basic LED blink code I can get to take effect but still it seems odd the faster crystals etc are missing.

Any idea as to my code wont compile normally from browser and why my device is missing components?

Hmm, I just noticed you asked the same questions twice...

posted by Wim Huiskamp 14 Mar 2014

Ya I posted twice because I was a little worried I may have gotten a defective board and wanted to know as soon as possible if I need to return it. And I wasn't sure who would respond first. In the future I certainly dont intend to make duplicate posts.

posted by Wesley Carlsen 14 Mar 2014

1 Answer

10 years, 1 month ago.

There has been a lot of discussion on this site about the missing crystals already: you need to add some code or otherwise the processor will run at low speed using the internal oscillators. The missing components are needed for the crystals and to select some alternative settings. Check the ST manual for details.

You should be able to download to the board in one step. Choose the download directory in Chrome settings panel and/or tick the box in that panel to always ask for the directory. Then select the nucleo thumbdrive. Similar in IE, select 'save as' for the download.

Accepted Answer

Are the crystals and extra control worth adding the components on manually and adding whatever code is needed; what functionality is lost by using the internal oscillators?

posted by Wesley Carlsen 14 Mar 2014

The info on how to add the crystals and use the code to get to full speed for either the internal oscillator or the external crystal is here. The speed increase is significant. The mbed libs for the nucleo are new and under development. I do expect that the official mbed libs will be updated in the near future to use the higher speed with the internal oscillator out-of-the-box. Disadvantage of internal oscillator is reduced accuracy and time stability. Fixing that requires the hardware update.

posted by Wim Huiskamp 14 Mar 2014

Excellent advice, thank you very much for the link! I am just trying this board and am trying things other than the Arduino and so far the support has been amazing!

posted by Wesley Carlsen 14 Mar 2014