Hi. I'm working on a project involving a java program and the micro controller NXP P89v664.
The java program which utilises the RXTX package, outputs to the serial port a string of characters to be deciphered by the micro controller.
My java program is completed and outputs correctly as checked by virtual com ports and a c program.
I have written a keil c program to receive the input but I somehow receive random inputs instead.
I used the _getkey() fuction to receive the input and putchar() function to check the output.
I'm new to keil c can anyone shed some light on this pls?
Thanks.
but what do you see with an oscilloscope?
Hi. I dont think i have done the oscilloscope test correctly. I only get 50Hz at the output.
Anyway I am able to get the correct echo of the characters after i transferred the hex file without pressing the reset button on the microcontroller.
After pressing the reset button, I get the funny characters as shown above.