Ok here is a
link to the code.
If you build and run it you should get a
*** Restart ***
Ready>prompt at 2400 baud. If you type 'h' return it should print a little menu. As I mentioned this is a Processor Expert project, how ever if you do not wish to use PE you can turn it off, or cut and paste code you need in to your project. Do this first just to make sure it all works.
There is a file in the FlashSources direction called SerialPort.c that has a little command driver.
The code for the serial port is int AS1.C and there is full documentation about the API.
My code is not that well explained, as it was just for me so if you have and questions, ask.
Also if have not done so already, jumpers need to be moved on the DEMOQE board before the serial port will work.
J8 - the jumber should be removed
J7 - Should be on TxD
J6 - Should be on RxD
Message Edited by JimDon on
2008-03-24 01:33 AM