CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Trying to get started with first CCS board

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
golson8436



Joined: 25 Jun 2015
Posts: 1

View user's profile Send private message

Trying to get started with first CCS board
PostPosted: Thu Jun 25, 2015 6:55 pm     Reply with quote

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
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 25, 2015 7:03 pm     Reply with quote

ICD cable length issue for PIC24:
http://www.ccsinfo.com/forum/viewtopic.php?t=51762
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group