Is it possible to program the Basic Stamp 2px using the SDL and SDA pins?
The goal is to not use pins 0 through 15.
The idea is to attach another I2C device on the same SDL and SDA that
the eeprom uses.
A Stamp is programmed normally through SIN / SOUT / ATN. None of the 16 I/O pins are used for programming.
The SCL / SDA pins are not really accessible unless you make up a special jig with probes that contact the leads on the Stamp module. Theoretically, you could hold the /RES line low to stop the microprocessor from accessing the EEPROM, then use some external microprocessor to access the EEPROM via the probe leads. The Stamp Editor doesn't support this, but it can write the compiled program to a file and your could write some other PC program to take this file and reformat it into an EEPROM image.
There's no way to access anything attached to SCL / SDA from a PBasic program other than the built-in memory. If you want to use some kind of I2C device, you have to use the designated I/O pins.
Comments
The SCL / SDA pins are not really accessible unless you make up a special jig with probes that contact the leads on the Stamp module. Theoretically, you could hold the /RES line low to stop the microprocessor from accessing the EEPROM, then use some external microprocessor to access the EEPROM via the probe leads. The Stamp Editor doesn't support this, but it can write the compiled program to a file and your could write some other PC program to take this file and reformat it into an EEPROM image.
There's no way to access anything attached to SCL / SDA from a PBasic program other than the built-in memory. If you want to use some kind of I2C device, you have to use the designated I/O pins.