The Picadilly Circus team consists of three graduate mechanical engineering students
Abdoul Salam
Ruo Song
David Van Dyke
Gems of Wisdom
Remote SPDL is not that bad ...
1. Make sure the number of characters in each printf is within the maximum limit, otherwise you will overflow the buffer reserved for the characters, which might overwrite the common registers and results in weird behavior of the microcontroller, such as reset, code jumping, global and peripheral interrupt being disabled etc. 2. Use logic analyzer to debug ISR by asserting a pin HIGH and LOW 3. Don't forget by-pass capacitors at the chips as always. 4. If you are running up the program space of PIC, try to use XC8 Pro Compiler! 5. Error correction would be nice to have in the communication protocol but its too much work to be worth it 6. Try to make sure communication method robust, errors are very common