Embedded Archive

4Bit Division Verilog Example on Zynq FPGA

This small sketch demonstrates the four bit division operation on Zybo FPGA board. Zybo is a small and cheap board from Digilent, equipped with powerful Xilinx’s Zynq chip. This sketch was implemented to use only the PL, but neither PS nor ARM. The usage is simple: on switches 3:0 select the upper four bits of

Bare Metal STM32 Programming – LED Blink

Do you want to start STM32 programming? Get the Blue Pill which is featuring the powerful & cheap ARM Cortex-M3 32-bit microcontroller then, let’s go! We are going to build a LED blink app from scratch, using only the manual of the STM32F103C8T6 chip. The host platform used for this guide is Linux Mint 19.3.

Setting-up cross compiler and build tools for STM32

Here is an ARM cross-compiler tutorial for STM32 and other ARM-based microcontrollers, like Microchip’s SAM’s. What’s a cross compilation process? That is when you use a x86 machine to produce binary code for a different architecture, like ARM. The situation is similar when you use a Raspberry Pi (ARM CortexA) to build apps for STM32

Installing ST-Link v2 to flash STM32 targets on Linux

This guide is targeting Linux users and ST-Link v2 hardware. First, we are going to install the necessary libraries and build tools: sudo apt-get install git make cmake libusb-1.0-0-dev sudo apt-get install gcc build-essential Now, we will download and build the ST-Link utilities: cd ~myusername mkdir stm32 cd stm32 git clone https://github.com/texane/stlink cd stlink cmake

New toy – ZYBO

The parcel arrived yesterday with the new toy. Together with The Zynq Book is a great start to learning embedded, and that from several points of view: digital design, FPGA, VHDL, Verilog, accelerators, multimedia processing embedded software for a ARM Cortex-A9 dual core platform Linux with all of it, from the boot process to the