VisualPRU is a minimal browser-based editor and debugger for the Beaglebone PRUs. The app runs from a local server on the Beaglebone and is accessed by connecting your Beaglebone to the local network(via a USB connection, ethernet, or wireless) and navigating your browser to 192.168.7.2:3333.
The hardware is accessed by twiddling bits in memory-mapped /dev/mem . Assembly programs are compiled using TI's open-source pasm library.
Install python if necessary, then:
pip install bottle
pip install gevent-websocket
cd /home
git clone https://github.com/mmcdan/visualpru.git
Finally, download pasm, run the linuxbuild script, and put the resulting executable in /usr/local/bin (or another system-wide binary location)
Just go into the VisualPRU directory and type python visualpru.py, then navigate to 192.168.7.2:3333 with your browser! To stop the program, use CTRL-C.
- Transition from /dev/mem to UIO
- Add the ability to load existing source files
- Highlight errors in the editor view
- Allow the user to modify memory registers
- Show Data RAM, Scratchpad RAM, and DDR RAM chunk in memory view
- Add better error-handling for edge cases
- Add unit tests
- Web interface layout is compressed when using Internet Explorer
MIT