Proview and the Gertboard

 

Proview version 5.1.0-4 has support for the Gertboard. Compiled from source on the Pi and tested (gpio) Di, Do, Ai and Ao. The "only" problem is gpio mapping to /dev/mem which needs root, setuid to the plc doesn't work. The reason can be rt_ini is allocating memory as the standard user pwrp....

Next step is the AVR. Running on 3.3V with 12 MHz. Needs to prescale to get a standard  baudrate to communicate with Proview and the timers. Proview is initializing /dev/ttyAMA0 but I need to dig deeper.....

I have used the software from Gorden. Basic system with the AVR is working with Proview. For a strange reason I need to upload the sketch after a reboot of the Pi. The only solution I can think of at the moment is to use the *.hex from the Arduino sketch and upload to the AVR at boot.

Edukits