More serial port foolishness

So I’m still banging my head against the difficulty of making a simple serial connection between my Raspberry Pi and an ATMega chip on a daughter board. And I still have not got it working properly. Overnight it occurred to me that I ought to have turned off the serial port login on the Raspberry …

Continue reading ‘More serial port foolishness’ »

Communicating with an Arduino on a Pi

Yesterday I wrote about how I managed to get an “Arduino” (or at least the AVR ATMega328 chip which powers one) attached to and programmed by my Raspberry Pi. However exciting a blinking LED may be, though, it’s not much use if the only way to change its behaviour is to completely re-program the chip. …

Continue reading ‘Communicating with an Arduino on a Pi’ »

txtzyme on Raspberry Pi

After my previous post on delimiter-free languages it occurred to me that the idea of txtzyme has merit for communication between some of the devices I have to hand. Some while ago I spent some time producing some bare-metal code examples for the Raspberry Pi (flashing morse code, GPIO control and uart stuff, for example), …

Continue reading ‘txtzyme on Raspberry Pi’ »

A few new goodies

It seems like ages ago that I was complaining about not being able to access the UART pins when an add on board is attached to the GPIO header of my Raspberry Pi. I even drew a picture of what I was looking for. I still haven’t found anything exactly like that, but I have …

Continue reading ‘A few new goodies’ »

Testing memory-mapped IO

Following on from yesterday’s post about developing code which uses the memory-mapped IO on the Raspberry Pi, but on a separate development system which does not have the same hardware, I began to think about the steps needed for testing such code. The first stage is unit-level testing. As much of the code as possible …

Continue reading ‘Testing memory-mapped IO’ »

Serial port shenanigans

Before I left for our holiday travels, I ordered a couple of extra toys for my Raspberry Pi, both from UK dealer Proto-PIC.co.uk The first was a “prototyping plate” from Aadafruit which brings out the on-board connections to a circuit board and some screw connectors for solderless cabling. This one is “some assembly required”, so …

Continue reading ‘Serial port shenanigans’ »