Added code to debug the new reader firmware