Home Articles News Two new examples - STM32F4 and LPC1769
Two new examples - STM32F4 and LPC1769
User Rating: / 7
PoorBest 
Written by Freddie Chopin   
Saturday, 07 April 2012 15:21

Source code examples forLPC1114,LPC2103,STM32 andSTM32CL available in Download > ARM > Examples were joined by two new projects, written for"super-fast high-end" MCUs - one forSTM32F4 (new chips fromST, Cortex-M4F core with integrated floating point unit, 168MHz) and second one forLPC1769 (Cortex-M3, 120MHz).

These examples are both configured for linaro toolchain. In case of STM32F4 example it is not possible to use CodeSourcery toolchain, because it lacks libraries supporting floating point coprocessor. LPC1769 example - due to lack ofhigh-endfancy stuff in Cortex-M3 core - can be used on any toolchain available.

STM32F4 example is configured forSTM32F4DISCOVERY board, which has an embeddedST-LINK/V2 interface, so for debugging it requires development version ofOpenOCD, from these available on this website inDownload > Software > OpenOCD dev - at least from February2012 (OpenOCD 0.6.0-dev-120229143915 / 0.6.0-dev-00448-gc59a441 or64-bit version) - previous versions, including "stable" 0.5.0, don't support this interface.

It's also a good idea to remind that for proper operation of the examplesGNU Coreutils have to be installed in the system (Windows installer is available inDownload > Software > Coreutils). This information is provided above the examples, but some people miss it anyway... (; This time it is even more important, as Windows package of linaro toolchain does not containmake executable. It is also worth noting thatCoreutils andtoolchainmust not be installed in a path that contains brackets (so"Program Files (x86)" in64-bit systems is out of the question).

Taking the occasion, I'll also write thatSTM32F4DISCOVERY modules (and other...) can be bought fromDISTORTEC for a very good price, better (that means "lower") than onallegro! If someone would be interested in buying one of these (of course with a receipt / invoice) - contact mehere orthere (; .

Last Updated on Monday, 09 April 2012 11:24