Friday, April 29, 2016

MMU section translation fault

While working on a ZedBoard (perhaps also MicroZed and others) you may find yourself facing a message referring to MMU section translation fault. This has happened to me a couple times. In my experience it's because I'm attempting to launch a bare metal application to the PS while the board has already booted to Linux--so the MMU is likely already in use. My solution:
  • Remove the Linux SD card (from which the board is booting) from the slot and reset the board
  • Program the PL (FPGA) again
  • Launch your bare metal application again.

Sunday, January 10, 2016

Atmel Studio 7 incompatibility with Visual Studio 2015 Update 1

I spent a bit of time baffled after installing Atmel Studio 7.0.634 as I couldn't even create a new project successfully. This appears to be an incompatibility with Visual Studio 2015 Update 1. I found an apparent solution to the issue here, which manages to get me past my issues with creating a project. I'm not exactly sure why Atmel Studio has so many binding redirects, but there it is.

Sample error message: The 'ErrorListPackage' package did not load correctly.

Tuesday, June 09, 2015

ZedBoard button bit assignments

Future self,

Here are the bit assignments for the five momentary switches on the ZedBoard, as found by experimentation, for your future reference should you ever wish to use them w/GPIO again:

#define BUTTON_CENTER 0x01
#define BUTTON_DOWN   0x02
#define BUTTON_LEFT   0x04
#define BUTTON_RIGHT  0x08
#define BUTTON_UP     0x10

How to undo (almost) anything with Git


Sunday, May 31, 2015


This evening I put together an app using an Adafruit PIR (motion) sensor on Win10 for IoT on Raspberry Pi 2. It almost worked the first time, but edge detection in the ValueChanged event on GpioPin gets its value inverted at times. Turns out it's a known issue. My workaround: in the event handler use sender.Read() to get the pin value.

I'll be glad to see this fixed.

Oh, also--the motion sensor prefers 5V over 3.3V. Just sayin'.