Hey I could make UART receive work,
and I found there is no RXD register for viewing during debug mode in Keil. anyone has idea on this?
Hey I could make UART receive work,
and I found there is no RXD register for viewing during debug mode in Keil. anyone has idea on this?
I just talked to engineer who releases this file. I have old SVD with me, The RXD is not supposed to be shown, because if it is shown, then the debugger will try to read the register to display, and if it is read by anything (debugger or CPU) then the byte is poped out of the buffer and it is not available for the application. So this is intentional in latest MDK.
Hi Aryan thank you, this makes debugging difficult, seems MSP430 under eclipse can see UART register both RX and TX
I am trying to figure out UART using official example code, \Board\nrf6310\uart_example
after print Start: information:
My code is stuck at waiting RXD events,
....
If you really want to read the RXD
Click View->Memory Windows->Memory 1
put the value of RXD register address there (0x40002518)
but debugging wont help this way because as soon as the memory window has showed you that RXD is being read, it will empty internal fifo and that byte is lost and not available for your application.
Thank you, this should be helpful . .
can you please accept this answer if there is nothing else on this case.