|
Re: Code error causing robot to go into programming mode.
"The master CPU is in charge of putting the robot in program mode."
Out of curiosity, how is this done? It doesn't appear to be using the ICSP programming as that requires the RB5/PGM pin to be dedicated to programming mode and therefore cannot be used as general io bit, but it is available on the user processor so...
Also, the rs232 port used to download data is connected to the user processor, does this mean that it is connected to both the master and shared processor? The SPI port communications between the master and slave only communicate the fixed size data io controller tx/rx packets via double buffering... there doesn't appear to be anything else communicated via this path when I looked at the SPI port, although it is possible there is more code for this port other than the high priority interrupt routine.
I was always under the impression that the boot block in 0..800h contained the program download bootloader within the user processor and once put into program mode, this code within this boot block on the user processor was running.
|