You need to log in to create posts and topics.

Serial Port with real GPS module

I connect a real GPS module to a USB to Serial (CP2102) adaptor, which connect to SimulIDE. I use a PIC16F887 to try to decode the GPS signal received. SimulIDE can read the signal from the GPS module but then crash after reading for about 10 seconds. Not sure about the reason, but may be because of overflow?

Thank you. 

You can use one or two serial terminals for monitoring the serial communication.
If the serial terminal shows the expected data, the problem will be inside the PIC.
Check the OERR flag in RCSTA register. If overrun occured, your code is too slow. Try faster system clock or use interrupt and a software buffer for serial data.

Hello,

I tried only a serial port without other component and it still crashed after receiving some lines of signals from a true GPS module.