golson8436
Joined: 25 Jun 2015 Posts: 1
|
Trying to get started with first CCS board |
Posted: Thu Jun 25, 2015 6:55 pm |
|
|
Hi,
I am targeting a PIC24FJ256GB206 PIC. The USB24 board.
Trying to run the example program. But it was set up for a different
chip. The code looks like this now.
Code: |
#include <24FJ256GB206.h> // Modify for your chip
//use delay(crystal=32mhz) // Modify for your clock and freq
// for example: internal=8mhz
#use delay(internal=32mhz)
void main(void) {
while(TRUE) { // Produces a 1khz square wave on pin B0
output_high(PIN_B0);
delay_us(500);
output_low(PIN_B0);
delay_us(500);
}
}
|
But I am getting a verification error when I try to download this code to the board through the ICD-U64 programmer.
Memory usage: ROM=0% RAM=0% - 0%
0 Errors, 0 Warnings.
Build Successful.
CCSLOAD: Connecting
CCSLOAD: Programming PIC24FJ256GB206
CCSLOAD: Error: Verification Error
Thank You,
Gary |
|