Author Archives: richard

From C to C++

As a long time C programmer and compiler writer (I even wrote a book on C), when I pivoted away from running ImageCraft (see below if you missed the announcement on our website), I knew I would need to beef … Continue reading

Posted in Uncategorized | Leave a comment

OpenCart 3.x Forgotten Password Error

We are setting up a new site for our CANUSB product shop (currently at https://canusb-shop.com) using OpenCart 3.x. While testing various functions, I found that when using the “forgotten password” feature, the system correctly sent a recovery email with a … Continue reading

Posted in Uncategorized | Leave a comment

Connecting a Smart.IO Module to a ST-Nucleo With Jumper Wires

Flash sales announcement: you can now purchase a ST-Nucleo F411 for just $1 if you also purchase any version of the JumpStart Embedded Tools for Cortex. Click here for more details, and here to browse the different Cortex tools. With … Continue reading

Posted in Uncategorized | 1 Comment

ctxLink – A Wireless Debug Pod With Built-in GDB Server

What’s better than a debug pod for the Cortex MCU with built-in GDB server? Make a wireless pod version of course (it also works with a USB cable), and now it’s $50 off preproduction price. Get it now for just … Continue reading

Posted in Uncategorized | Leave a comment

Stepping Up to C++ Templates

In the first decade after C++ was released, there were two frequent statements made about the new programming language, especially in the C community: C allows you to shoot your foot off, but C++ allows you to shoot the whole … Continue reading

Posted in Uncategorized | Leave a comment

Flatten the Learning Curve for Programming STM32 MCUs

One of the most difficult issues in moving to Cortex-M MCU development from an 8-bit ecosystem is the complexity of the I/O peripherals. The Cortex-M peripherals are more capable and more flexible, but are also more difficult to use and … Continue reading

Posted in Uncategorized | Leave a comment

Your chance to JUMPSTART Cortex MCU development

Are you interested in upgrading your ease-and-speed-of-programming options? Are you still working with 8-bit MCUs and wish to take advantage of the more powerful and even lower cost Cortex-M MCU, but are worried about making the jump? Are you working … Continue reading

Posted in Uncategorized | Leave a comment

QFPlib, A Compact Floating Point Library for Cortex-M

Cortex-M0 based MCUs are notable for their low cost and relatively smaller amount of available flash memory. If you wish to use floating point operations but are running tight on space, QFPlib is a great alternative. The core single-precision floating-point … Continue reading

Posted in Uncategorized | Leave a comment

How Much Flash and SRAM Does My Project Use?

When developing firmware for an embedded project, it is important to know how much flash and SRAM the program is using. This allows you to make the best decision on whether the chosen MCU has sufficient resources for your needs. … Continue reading

Posted in Uncategorized | Leave a comment

Embedded GCC Libraries: newlib vs. nanolib

C/C++ compilers include a set of standard functions to be linked with user programs. They are called libc and libc++ respectively. For GCC, they are also called glibc and glibc++ (in the rest of this post, I would use glibc … Continue reading

Posted in Uncategorized | Leave a comment