Update: I wrote a value of $FF to the porta register on initialization and had the same failure.