How to use LPC-LINK2

I’m gonna show you how to use LPC-LINK2. The LPC-LINK2 is a very handy tool because it can be used as various debug probe, being very cost effective. The license is only allowed to use for NXP MCU’s, Kinetis and LPC microcontroller. If you have already bought it but you don’t make use of it to the full extent, you can refer to this post. There might be an useful information for you.

Read more
CMSIS Systick

Let’s use CMSIS! Easy way to measure cycle count.

I will show you a good tip when you want to measure the time or cycles taken for your code. By means of CMSIS ( Cortex Micro-controller Software Interface and Standard) which is an application software interface for Cortex-M MCU, you can do it so easily. Here is the easy way of using CMSIS interface to measure cycles. Let’s do it.

Read more

Very Easy and useful! Power debug on MCUXpresso IDE

It has past a quite a long time since the last post, but I finally got time so I post a new article. This time, I introduce an unique feature, which is a power debugging on MCUXpresso IDE. The power debug doesn’t give you a powerful debugging, but you can monitor a dynamic power consumption and it is visualized on MCUXpresso window.

Read more
binary convert

Want to convert a binary data to ARM object file?You can do it easy.

Don’t you want sometimes to have object files such as images to display and an audio sound data to play, do you? you need to convert it from binary to ARM object file. All the time, it didn’t work for me at all  and I was scratching my head!

Read more
printf_debug

Printf debug and Semihosting on LPC

This time, I would like to introduce tips and settings about printf debug as a handy method for debugging. Printf debug is the debug using the printf() function, and whether variables are expected values, code execution, conditional branching, etc. are working properly, or not. And, It helps to visualize the log of the code execution etc. as a dynamic state of the code to output to a standard output (display etc) for debug.

Read more