Oznog
Active Member
I was looking at using the UART module inside the PIC18F452 to talk to a Garmin GPS through the NMEA-0183 protocol. Typical config is "4800 baud, 8N1 (eight data bits, no parity, 1 stop bit) with no flow control". It uses only 0-5v TTL levels.
I wanted this same system to also use a bootloader. The board is wired through a MAX232 chip but I haven't actually tried to make it work yet.
But I see that the PIC's UART used RC6-RC7 pins, or looking at some GPS projects people just went with the Rx pin. Now I have two questions:
1. Will the GPS being plugged into the RC6 pin at powerup be able to erroneously begin the bootloading procedure, thus ruining the code space?
2. Will the MAX232 chip be able to read 0-5V TTL levels too, so I could plug the cable from the GPS into the same DB-9 plug used for bootloading?
I wanted this same system to also use a bootloader. The board is wired through a MAX232 chip but I haven't actually tried to make it work yet.
But I see that the PIC's UART used RC6-RC7 pins, or looking at some GPS projects people just went with the Rx pin. Now I have two questions:
1. Will the GPS being plugged into the RC6 pin at powerup be able to erroneously begin the bootloading procedure, thus ruining the code space?
2. Will the MAX232 chip be able to read 0-5V TTL levels too, so I could plug the cable from the GPS into the same DB-9 plug used for bootloading?