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 CCS Technical Support

Search found 19404 matches
CCS Forum Index
Author Message
  Topic: CCS command for setting programming/debugging pins on PIC24
Ttelmah

Replies: 14
Views: 693

PostForum: General CCS C Discussion   Posted: Mon Dec 02, 2024 1:02 pm   Subject: CCS command for setting programming/debugging pins on PIC24
Use:

#define __USB_PIC_PERIF__ 1
#include <24FJ256GB206.h>
//#device icd=2 //Use if you want to debug

#include <stdio.h>
#include <math.h>
#include <stdlib.h>

#fus ...
  Topic: Free replacement for MPLABX as IDE?
Ttelmah

Replies: 13
Views: 375

PostForum: General CCS C Discussion   Posted: Mon Dec 02, 2024 12:45 pm   Subject: Free replacement for MPLABX as IDE?
Er.

You are making problems you don't have.
_ALL_ of those chips are supported by MPLAB 8.92. Just use this. Has the
simulator, ICD, etc. etc..
Forty times better, and I've got versions instal ...
  Topic: Suggestions bootloader for dspic33ck
Ttelmah

Replies: 5
Views: 205

PostForum: General CCS C Discussion   Posted: Mon Dec 02, 2024 10:47 am   Subject: Suggestions bootloader for dspic33ck
Yes. I must admit I assumed that the PCD bit would be obvious.
Very Happy
  Topic: Free replacement for MPLABX as IDE?
Ttelmah

Replies: 13
Views: 375

PostForum: General CCS C Discussion   Posted: Mon Dec 02, 2024 10:46 am   Subject: Free replacement for MPLABX as IDE?
Have you looked at this thread?:


http://www.ccsinfo.com/forum/viewtopic.php?t=59296
  Topic: Free replacement for MPLABX as IDE?
Ttelmah

Replies: 13
Views: 375

PostForum: General CCS C Discussion   Posted: Sat Nov 30, 2024 1:20 am   Subject: Free replacement for MPLABX as IDE?
Do a search on:

"why did Microchip get rid of MPLAB".

You will find hundreds of replies, voicing how much people hate MPLAB-X.
It does now normally work. The first perhaps 50 versions ...
  Topic: Suggestions bootloader for dspic33ck
Ttelmah

Replies: 5
Views: 205

PostForum: General CCS C Discussion   Posted: Sat Nov 30, 2024 1:12 am   Subject: Suggestions bootloader for dspic33ck
Read it.....

The program tells you in the remarks what you ask.
  Topic: Suggestions bootloader for dspic33ck
Ttelmah

Replies: 5
Views: 205

PostForum: General CCS C Discussion   Posted: Fri Nov 29, 2024 12:34 pm   Subject: Suggestions bootloader for dspic33ck
Why not just use the CCS bootloader?. Standard serial to the FTDI, so dead
easy.
  Topic: Free replacement for MPLABX as IDE?
Ttelmah

Replies: 13
Views: 375

PostForum: General CCS C Discussion   Posted: Fri Nov 29, 2024 12:32 pm   Subject: Free replacement for MPLABX as IDE?
If he is using a chip supported by 8.92, then this is free, and is better by far
than MPLAB X.
You can as others have reported use any number of code platforms to
give syntax checking, and then j ...
  Topic: Mitutoyo
Ttelmah

Replies: 2
Views: 230

PostForum: General CCS C Discussion   Posted: Fri Nov 29, 2024 7:37 am   Subject: Mitutoyo
In his original thread he has the hardware on the wrong pins, and is using
a transistor not a FET for the pulldown. Mitutoyo in their application note
on this say a FET is required, since a transist ...
  Topic: sd_mmc & PCD
Ttelmah

Replies: 16
Views: 1023

PostForum: General CCS C Discussion   Posted: Thu Nov 28, 2024 8:49 am   Subject: sd_mmc & PCD
OK. Hurrah.
My suspicion is that the card is actually formatted with an MBR. The CCS
driver does not support this. There have been fixed drivers posted.


http://www.ccsinfo.com/forum/viewtopic.p ...
  Topic: Mitutoyo problem
Ttelmah

Replies: 4
Views: 340

PostForum: General CCS C Discussion   Posted: Thu Nov 28, 2024 8:45 am   Subject: Mitutoyo problem
Yes, but these output signals need level translation. The REQ pin should
be pulled down by a FET.
Your connections should be:

N channel FET. One with a gate volt of only perhaps 3v.
PIC to gat ...
  Topic: CCS command for setting programming/debugging pins on PIC24
Ttelmah

Replies: 14
Views: 693

PostForum: General CCS C Discussion   Posted: Wed Nov 27, 2024 11:38 am   Subject: CCS command for setting programming/debugging pins on PIC24
You'll also get that if the chip isn't powered. If the board draws more than
the debugger can supply, it's supply needs to be on.
I had that. Was cursing why a bit of code would not run, and had fo ...
  Topic: sd_mmc & PCD
Ttelmah

Replies: 16
Views: 1023

PostForum: General CCS C Discussion   Posted: Wed Nov 27, 2024 8:56 am   Subject: sd_mmc & PCD
Several things:

First, with spi_xfer, and #use_spi, just use the spa_speed option. Where
the code changes speed, just change:

#if (getenv("CLOCK") <= 80000000) ...
  Topic: sd_mmc & PCD
Ttelmah

Replies: 16
Views: 1023

PostForum: General CCS C Discussion   Posted: Wed Nov 27, 2024 7:57 am   Subject: sd_mmc & PCD
You can't have a software and hardware stream both on the same pins.
You need to use two hardware streams, set for the different rates. The
pins are not available for use by the software driver, onc ...
  Topic: CCS command for setting programming/debugging pins on PIC24
Ttelmah

Replies: 14
Views: 693

PostForum: General CCS C Discussion   Posted: Tue Nov 26, 2024 12:40 pm   Subject: CCS command for setting programming/debugging pins on PIC24
Yes, redundant. In fact the ICSP pins never need setting. Any pair of the
pins can be used for programming. It is the voltages presented that selects
the pins.
Settings like ICD must always be befo ...
 
Page 1 of 1294 Goto page 1, 2, 3 ... 1292, 1293, 1294  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group