Welcome to Chopin's homepage!
Two new examples - STM32F4 and LPC1769
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
DISTORTEC launches!
Written by Freddie Chopin   
Thursday, 02 February 2012 19:27

Yesterday, on the first day of February, on a very frosty Wednesday (-20deg in the morning!), my firm named DISTORTEC started. The profile of business activity is obviously obvious - electronics (; . There is already a domain and temporary website - www.distortec.com (or .pl). People / companies interested in cooperation are invited to contact me, but if you're interested in buying an ARM JTAG described on this page (currently available "in stock", only Polish description at the moment) feel free to contact me too. The purchase of JTAGs (or any future products [there are many ideas]) or services will be documented by VAT invoice, so (in case of companies) the expense reduces income and VAT tax can be deducted. For now - since there is no web shop available at this moment - you can reach me via e-mail address This e-mail address is being protected from spambots. You need JavaScript enabled to view it .

Keep your fingers crossed and - as usual - stay tuned! (;

Last Updated on Thursday, 02 February 2012 19:49
Przyk?ady dla STM32 + STM32F10x Standard Peripherals Library
Written by Freddie Chopin   
Wednesday, 11 January 2012 21:35
Sorry, no translation is available for this article. Contact me if you'd like to see that article translated to English.
Last Updated on Monday, 15 October 2012 22:24
Examples' update
Written by Freddie Chopin   
Sunday, 08 January 2012 12:41

After year and a half of silence I've finally decided to update example project for ARM core microcontrollers a bit. I have absolutely no idea why I waited for so long...Since last update some details of Eclipse configuration changed, so an update was definitely recommended (;

On this occasion a new example forSTM32 Connectivity Line devices-STM32F105x iSTM32F107x joins the group. Because the clock system in this devices is way more advanced (not to say "strange") than in "normal" STM32s, the function which calculates four parameters (two dividers and two multipliers) for two PLLs is a bit... longish (;However it does set highest achievable frequency with given quartz crystal resonator.

Main changes are configuration updates for new versions ofOpenOCD (0.5.0),Eclipse (Indigo SR1) andGDB Hardware Debugging plugin( In STM32 projects I've added function to configure GPIO pins mode. There are not many "visible" changes, that's why the version changes only from1.2.0 to1.2.1.

Example projects enjoy unflagging popularity, the most popular one - stm32_blink_led - was downloaded almost5000 times! You can download updated versions fromDownload > ARM > Examples.

Last Updated on Tuesday, 10 January 2012 11:36
OpenOCD 0.5.0 finally published!
Written by Freddie Chopin   
Wednesday, 10 August 2011 18:00

Almost one and a half year passed since last stable OpenOCD release... During this time 0.4.0 Windows installer was downloaded from this website over 16000 times and packages with development versions from this period - over 5000 times.

This time Windows version of the application was published - just as development versions - as a compressed .zip archive, not as .msi installer - I hope this won't be a problem for you, it's easier and faster to create such package instead of playing with installers (; . In Download > Software > OpenOCD you can download 32- and 64-bit version. Extract anywhere and you are ready to go (;

You can find highlights of major changes in NEWS file associated with this release in OpenOCD repository. There are not many of them, because this release should be treated as a stable update, without any revolutionary changes.

What next? The most anticipated feature - SWD (Serial Wire Debug) interface support, two-wire interface used in most recent Cortex chips - is in advanced stage. While you could use both "classic" JTAG and "modern" SWD in "bigger" chips like STM32 or LPC17xx, the smallest chips - like LPC11xx - can be debugged only via SWD. You can find more details on OpenOCD mailing list. Let's hope that test versions will be available soon! Stay tuned!

Last Updated on Wednesday, 10 August 2011 18:53

Page 5 of 10