Oznog
Active Member
As I just mentioned in another thread, I have a PIC whose serial port is taken up by a GPS that needs to talk to another PIC.
The GPS port will also be used for the bootloader with a swap of external cables. Now right now the link between the PICs is I2C due to the hardware serial port being taken up by the GPS, which is a bit odd. I need to be able to bootload to the second PIC, but it has no pins or board space for the hardware serial port.
In the other thread dealt with the question of whether I could make a second serial port with software alone. So if you've got ideas along that line please bring it there. What I'm wondering is if a bootloader has ever been made with I2C, so I could hook up to the existing serial port and being able to tell the second PIC to reprogram itself through the I2C port.
Has it ever been done with I2C? PIC's I2C implementation is notoriously buggy and its specifications are severely deficient, but I do have that link working reliably so I don't forsee a lot of problem copying the procedures I made into a bootloader.
The GPS port will also be used for the bootloader with a swap of external cables. Now right now the link between the PICs is I2C due to the hardware serial port being taken up by the GPS, which is a bit odd. I need to be able to bootload to the second PIC, but it has no pins or board space for the hardware serial port.
In the other thread dealt with the question of whether I could make a second serial port with software alone. So if you've got ideas along that line please bring it there. What I'm wondering is if a bootloader has ever been made with I2C, so I could hook up to the existing serial port and being able to tell the second PIC to reprogram itself through the I2C port.
Has it ever been done with I2C? PIC's I2C implementation is notoriously buggy and its specifications are severely deficient, but I do have that link working reliably so I don't forsee a lot of problem copying the procedures I made into a bootloader.