|
Re: Invalid Address
If you want to program starting from scratch on the RC, there are two things you're going to have to deal with:
1. There are 2 PIC18F8722's in the RC, the master and the user. You have no control over the master processor and full control of the user. The master and the user are linked and communicate with each other. I think you can safely ignore the data sent from master to user, but if you don't send data from user to master about every 25 ms (40 Hz), then the master will kill the RC.
2. When IFI loader downloads code onto the user, it adds a bootloader to 0x000 through 0x7FF. This means you have to add 0x800 to the reset vector and interrupt vectors, and you also have to make sure none of your code gets placed in 0x000 to 0x7FF (with the linker script).
It's much easier to just start with the default code and take out things you don't need.
|