Hi.. I've written a code to transmit a character to PC using UART0. But, however, the hyperterminal is blank.
Why is this happening?
My code is as follows:
I've tried your program on Proteus. It's working
Here is the project file of Kei & proteus on which you can check.
I've take it from the examples of MDK-ARM & just replace the main program with yours & it works.
Hey.. Hyperterminal is still blank.. Do you think its because I'm using UART0 as ISP port to program my chip? I use flash magic & use the DTR & RTS to control the RST & ISP pins. So is it possible that my port is stuck in ISP mode & is that the reason why its not functioning as a normal UART?
In proteus it's displaying the o/p on virtual terminal, So I guess there should not be any problem in code.
Don't give any delay while using hyperterminal. If you've give any delay then remove it.
There is no problem whatever you've used to control RST & ISP pins.
Is it your first attempt in hyperterminal ?
If yes then do let me know I (& others also) can help to start with hyperterminal.
Are you getting the proper functioning with uart 1?? (I am asking at hardware & software both side).
Yea.. this is the first time I'm using hyperterminal. Everything functions properly using UART1(hardware & software). I get the correct output on hyperterminal using UART1.