Exploiting PSoC4 for fun and profit