John, I believe you might get a "middle device" to translate the hex file to I2C = signal. If there is one, could you pay a little attention on the ACK signal= on your "middle device"? = If you are using another PIC uc as the =93middle device=94, you might need = add a resistor between the two uc's I2C line. This will slow the signal ris= ing rate and let the receiver side pick the signal correctly. = My personally experience with PICs is I never use its MSSP design other tha= n some SPI master implementation (my colleges got way too many lessons on S= PI slaves, and I2C). The MSSP designs on PICs are so poor, the errata on MS= SP module of all PIC family seems endless. = So, please check the errata on Microchip web for the chips you are using. = Best wish, = Funny ----- Original Message ---- From: John Coppens To: piclist@mit.edu Sent: Saturday, November 3, 2007 2:04:01 AM Subject: i2c bootloader Hello people. With my students we're trying to make a simple payload for a balloon experiment. One of the parts is an f873a which will receive commands through i2c. It has all its other pins occupied so I wanted to implement a bootloader through the i2c to make development easier. I've tried to modify microchip's boot serial loader by changing the comm routines into i2c ones (also based on an appnote). Reception seems to work, transmission doesn't. I wonder if anyone has an i2c bootloader laying around, or maybe just some code which uses the MSSP in non-interrupt i2c-mode. Or just any suggestion where to look would be welcome. I think I visited most of the googgle's knowledge on the issue. I could post the code I have, but it's a bit long... Thanks in advance, John -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around = http://mail.yahoo.com = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist