Browsing All posts tagged under »linux«

Linux.conf.au 2015 Keynote: Linus Torvalds

January 21, 2015

0

The linux.conf.au conference has been held last week in Auckland. The videos of the conference have been published, and among them I saw the segment starring Linus Torvalds. The keynote was moderated by Andrew Tridgell, and the participants were Linus, Bdale Garbee and Paul “Rusty” Russell. Here is an outline that I hope can be useful if you don’t have time […]

Using a rain sensor with Arduino Uno in C

December 23, 2014

10

An application written in C that interfaces a rain sensor to Arduino Uno by reading digital and analog signals, and visualizing the levels on a PWM-driven LED and a serial terminal.

ST Nucleo F103RB works with OpenOCD 0.8.0

November 11, 2014

7

Full disclosure: I work at ST Microelectronics, but what I write here is purely my opinion and my work, conceived and conducted in my spare time. The ST Nucleo boards are development platforms mounting an STM32 microcontroller, made for the same enthusiasts that are attracted to Arduino and the like. They have between 64KiB and 512KiB of […]

Eric S. Raymond: Time, Clock, and Calendar Programming In C

October 9, 2014

0

esr (of The Cathedral & the Bazaar fame) has just written a comprehensive guide on the many functions, structures and styles for dealing with time in C, mostly for UNIX, Linux and POSIX operating systems. It’s especially direct in marking obsolete functionalities, stuff that shouldn’t be used, pitfalls and recommendations. I’m sure he struggled with these APIs […]

Radeon R7 240 on Debian testing

March 25, 2014

8

This week I bought a Sapphire R7 240 2GB DDR3 graphic card, sporting an AMD Radeon R7 240 chip suggested by Tom’s Hardware march wrap-up.  I changed card because my old XFX GeForce 7300 GS had a broken fan and it was time to let it go (before the hot summer). My desktop PC has a Debian testing installation, […]

STM32-P152 development with Eclipse on Linux

February 23, 2014

0

In this post I show how to use Eclipse to create a simple "blink" program, flash it on a STM32-P152 board and attach to it with a debugger. This has been executed with the help of Eclipse plugins, GCC ARM Embedded toolchain, OpenOCD, C232HM FTDI JTAG cable. This approach can be adapted to many Cortex-M targets and many JTAG adapters.

Debian Nvidia driver issue with legacy card, solved.

November 4, 2013

7

On my Debian testing (jessie) computer, I usually perform a weekly “aptitude safe-upgrade“. This desktop has an old Nvidia GeForce 7300 GS card, and I’m using the “nvidia-kernel-dkms” package to provide proprietary drivers. On the last upgrade, Debian decided to install new packages with “nvidia-legacy-304xx” in their name. Other than that, a message appeared during […]

Debugging the iMX233-OLinuXino via SJTAG with OpenOCD — Christian’s Blog

August 28, 2013

0

A great and detailed post about setting up Linux kernel debugging on OLinuXino board: Debugging the iMX233-OLinuXino via SJTAG with OpenOCD — Christian’s Blog.

JTAG connection with OpenOCD and FTDI cable

August 4, 2013

6

I wanted to use the FTDI C232HM cable to create a JTAG connection with an electronic board mounting the STM32 microcontroller. In this post I give the details on how I managed to do it using OpenOCD.

QEMU 1.5.0 released, a backward compatibility warning

May 21, 2013

19

In my personal projects I used QEMU extensively to emulate ARM devices, these are some of my posts on the subject: Hello world for bare metal ARM using QEMU U-boot for ARM on QEMU Busybox for ARM on QEMU Booting Linux with U-Boot on QEMU ARM Linux NFS Root under QEMU ARM emulator Debugging ARM programs inside QEMU QEMU ARM semihosting Emulating […]