Author: bitshiftjo1

Using struct module to send/receive floats over TCP socket with Python

Server This sends 10 floats at a time, on a loop. The transmit data type is determined by the’=%sf’ % payload.sizeformat string passed tostruct.pack. import socket from struct import * import numpy as np #number of floats we are sending payload_size = 10 payload = np.linspace(0, 10, payload_size) print(‘Sending {}’.format(payload)) #pack the floats as bytes…

Read the full article

Modifying U-Boot Kconfig with configuration fragments and Yocto on the MCIMX6UL-EVKB evaluation board

Your eval board boots, but it hangs during the “starting linux kernel” message. You can’t debug the Linux kernel because it hasn’t loaded yet. So the next option is to debug the preceding U-Boot bootloader. This article explains how to configure a Yocto layer to modify the Uboot Kconfig settings (without hacking about in the tmp/work directory!)

Adding user configuration to device files using STM32CubeIDE’s “Device Configuration Tool”

The STM32CubeIDE can be used to generate device tree source file (.dts) for your embedded linux image. These describe the hardware for the board on which linux will run. This is compiled into a device tree binary file (.dtb) which is included on the image and loaded by u-boot along with the Linux kernel zImage.

In this article we are going to create two STM32CubeIDE projects – a DK-2 project with all the presets and a custom project for the custom board – and compare them side-by-side.

Designing a custom STM32MP1 board for embedded Linux using Yocto and OpenSTLinux

Custom Board Design First lets discuss the hardware. There are vendor boards available: Evaluation boards are expensive due to the large number of external connectors and integrated circuitry (including FPGAs and HDMI decoders!). These are really meant for sales demos. Any development work done on these would be wasted time since your own custom design…

Read the full article

Novation Bass Station Sequencer Part6 – Bringing it all together

Previous Post Block diagram – System Overview The step sequencer will be interface with the Novation BassStation via the ribbon cable on the left, with optional support for 3rd devices via a MIDI interface on the right. This will allow the sequencer to be reused for other MIDI-supported devices. Microcontroller pinout The microcontroller pinout specifics…

Read the full article