Modified the read loop to receive the frames sent by the target
and write the first byte of each packet into a FIFO (used with
the Python script that graph the content of the FIFO as part of
the counter demo)