How do you turn on the debug flag?
Also, how do I setup registers to read and write, can someone post a simple example?