I have written an application that uses the RS232 library to send and receive data on serial port E at 115200 baud.
The application worked fine whilst I still had the programming cable attached to the Rabbit 3000 module.
When I disconnect this programming cable however, the baudrate of the serial port drops quite dramatically. Normally, I sent about 30 bytes in less than 5 ms.
Without the cable, sending this data took about 4 seconds and the receiving sided showed null characted being transmitted.
I then look at serEopen and saw it was using the value of freq_divider to calculated the baudrate setting.
I modified the code to give me this value when the cable was attached and then put a statement in to set the value to the same. Thereafter it worked again.
Somehow, the bios did not set the value of freq_divider by itself when the cable is not attached.
Does anybody know why and how to change the coded so that the bios will do it.
Note that I am using Dynamic C version 8.03