Write-Ups
-
✴︎
This article will provide a comprehensive guide to building an embedded development environment for Raspberry Pi Pico using CLion and the J-Link debugger tool RTT (Real-Time Transfer) on macOS. I will provide the Ubuntu setup instructions in a separate article. Getting Started with Pico The official documentation by Raspberry Pi Pico provide a general instruction to install Pico SDK and also necessary toolchain. Please read the following chapters in this PDF (https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf). CLion and J-Link After installing the Pico SDK and toolchain, the next step is to install the CLion and J-Link applications. Please download the latest J-Link application from…
-
✴︎

There are many ways to build a development environment on a Linux or Mac machine for developing hardware/software based on Raspberry Pi Pico, and there is no particular way that is the best. However, I found that using CLion and Segger’s J-Link debugger provides a streamlined experience, so I suggest my students try this. No matter which IDE and debugger you choose, it is essential to have a place to share code and ideas. Therefore, as part of the development environment, we need to learn how to use Git and GitHub to share code. Let’s figure out Git and GitHub…
-

This document is intended to elucidate the basic concept of using the serial port in Max and Arduino. It aims to simplify complex programming techniques, enabling readers to grasp the essence easily and transition seamlessly into more advanced applied programming, building upon the knowledge gained from other available tutorials. Understanding what we are sending and receiving First, we need to comprehend what we are actually sending and receiving. Serial communication involves sending and receiving one byte at a time. A byte consists of 8 bits. In decimal, 8 bits can represent a number between 0 and 255. In hexadecimal, it…
-

In this tutorial, we will explore the concept of additive synthesis and learn how to create a simple software additive synthesizer using Max.