Quote Originally Posted by kur4o View Post
I think the best method will be. Boot from vectors set in eeprom[exchange reset vector to some check code in eeprom], upon booting check if main vectors are present at end of file.if not branch to eeprom recovery code, if yes branch to main reset code.
It might be cleaner to have three routines within the app.
- Install boot loader
- Program flash
- Remove boot loader

Once boot loader is installed, the PCM would be non functional until you remove it. With the loader installed it would always look to fill the ram. Your point of the EEPROM size is the most difficult but the factory loader is done (using spi) in $36 bytes. DLC is more complex as is the SPI for the ESide.

I just checked up on the ESide and find that the boot code is the same. We could use the tag to open up the protection (BPROT) and program the config.

->Can't wait to try this<-

Sad I didn't think about this earlier. Good thing Joel brought this up when he did. Probably needs to wait for second revision of the code cause I am too far along now, almost ready for testing.

-Tom