Connecting a DRV8313EVM to a laptop via J4 - Spy-By-Wire JTAG

Posted on August 27th, 2016

I’ve been working on a project where I need to drive a BLDC 3 phase HALL effect sensored motor. I purchased a DRV8313EVM made by Texas Instruments. This board allows a user to connect a motor and make it move without having to construct their own circuit board. The board has a USB port which connects a laptop to allow it to interface with the control software and utilises the inbuilt firmware. The software does not let you utilise the HALL sensors. This connection does not let you upload ...

A little ZMQ Gotcha. Probably my fault.

Posted on July 23rd, 2016

I'm working on a project where I need to quickly send some data from a Linux machine to a windows machine. Enter ZMQ. Writing an appication in Python 3.5 and pyzmq 15.2.0 on a CentOS 7 server. I'm building a dictionary of objects which I use to serialize with jsonpickle into a JSON object to push over the network. So I make my pickle: pickle = jsonpickle.encode(r, make_refs=False, unpicklable=False) and then send it over the wire: f1 ...

Arduino powered system for moving water

Posted on June 8th, 2016

At my Fathers home, there is an allotment that for years has grown food for the family. Scattered around the place is various water tanks which collects the rain water for watering the garden. There is a problem with this, some of the tanks are not connected to any guttering and are quite far away from an actual water source. To fill them up you either need to use a bucket to move the water manually or hope you get enough rain to fill them. I wanted to change that. The tanks that are co...

System.FormatException: Invalid hexadecimal string format.

Posted on January 8th, 2014

I'm working on a task and wanted to find a certificate from the Local Computer store based on its Thumbprint and ran into the below exception. If you are trying something similar you might get the below exception if you COPY the value from the Certificate MMC snap in. System.FormatException: Invalid hexadecimal string format. at System.IdentityModel.SecurityUtils.DecodeHexString(String hexString) at System.IdentityModel.Selectors.X509CertificateStore.Find(X509FindType f...

Use inotify-tools to auto compile code on save with VIM/tmux

Posted on September 22nd, 2013

I'm doing a little R&D on ZMQ & C++ with my Raspberry Pi. I'm connecting to the PI via SSH and using tmux and tmuxinator to launch my development environment which looks like this: I wanted a solution where when a file was saved in VIM, gcc got automatically launched with the proper parameters to automatically compile the code and automatically launch the binary. Here is how I did it. Quick install of tmux, tmuxinator, ruby and rubygems on Raspberry Pi The setup for tmux and tmuxina...

Did you find me, because I invaded your site on Twitter?

Posted on August 6th, 2013

(This was written quickly and my English leaves a lot to be desired so please expect errors / typo's things not to make sense) You're here, not because you find me interesting, because you don't, nobody does. More than likely, because you visit your super duper awesome best ever fully loaded html 5 website and there I am, the bumbling fool known as @undefined, all big and brash in the place where your tweets should be. If that's the case then I urge you to stop and take a big breath, and ...

Adam Croot

I'm a meat eating, weight lifting programmer. I work for a software company developing ultra low latency delivery platforms and occasionally websites.