Attaching the Program
The application program is output by the C compiler as a file called BAR1.COF, which should be stored in the project directory BAR1. It contains the machine code plus some debugging information required by the simulator to display the program source code. Several other files are created by the compiler at the same time, and all these should be stored in the same project folder containing the ISIS design file BAR1.DSN.
On the schematic, right click, then left click on the PIC chip to display the component properties (Figure C.1). The folder browse button allows the COF file to be opened (attached) to the virtual processor, and the MCU clock frequency can be set at the same time. The 4 MHz is a useful default clock frequency, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access