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 30 matches
CCS Forum Index
Author Message
  Topic: Inverse of make8()
bennyboos

Replies: 4
Views: 15132

PostForum: General CCS C Discussion   Posted: Thu Sep 24, 2020 11:20 am   Subject: Inverse of make8()
So, I wanted an efficient means of accessing a byte (low or high) of a larger data type such as a word
I know make8() gives me a means to extract a byte, but what if I want to put one or other byte b ...
  Topic: CORE-E0004: Trap due to unimplemented flash
bennyboos

Replies: 4
Views: 9219

PostForum: General CCS C Discussion   Posted: Tue Feb 24, 2015 9:48 am   Subject: CORE-E0004: Trap due to unimplemented flash
Thanks Jeremiah (& Ttelmah)
I just stepped through everything very slowly and carefully and did indeed find an "out of range" indice into an array Embarassed
I guess I never noticed this b ...
  Topic: CORE-E0004: Trap due to unimplemented flash
bennyboos

Replies: 4
Views: 9219

PostForum: General CCS C Discussion   Posted: Tue Feb 24, 2015 8:43 am   Subject: CORE-E0004: Trap due to unimplemented flash
Here is the disassembly listing.
MPLAB-SIM reports that the error is at instruction 0118
At this point, it doesn't seem to relate directly to any of my code
(Instead coming under the generic #devic ...
  Topic: CORE-E0004: Trap due to unimplemented flash
bennyboos

Replies: 4
Views: 9219

PostForum: General CCS C Discussion   Posted: Tue Feb 24, 2015 4:31 am   Subject: CORE-E0004: Trap due to unimplemented flash
Heeeelp ?
I have been experimenting with 16bit devices (dsPIC30F3013) and am really struggling with debugging it via an ICD3 in MPLAB V8.90. The chip keeps resetting for no obvious reason.
I tried s ...
  Topic: Watch window "Variable out of scope"
bennyboos

Replies: 9
Views: 16475

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2015 2:22 pm   Subject: Watch window "Variable out of scope"
It was all done in MPLAB.
I had briefly tried CCS's own IDE in the past but didn't really see any advantages over MPLAB (but a lot more learning to do) so I stuck with what is most familiar (also I w ...
  Topic: Watch window "Variable out of scope"
bennyboos

Replies: 9
Views: 16475

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2015 9:45 am   Subject: Watch window "Variable out of scope"
Sorry Ttelmah - I thought it best to start that as a separate discussion. Anyway, like you, I had a quick play with MPLAB-X and decided to stick with what I (thought I) know best, which is version 8.9 ...
  Topic: debugging 16bit devices with ICD3 in CCS's own IDE
bennyboos

Replies: 0
Views: 3903

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2015 6:59 am   Subject: debugging 16bit devices with ICD3 in CCS's own IDE
Hi everyone.
Can any of you confirm whether you are able to use an ICD3 from within CCS's own IDE to program/debug 16bit devices - in particular a dsPIC30F3013?
I have tried the diagnostics and whil ...
  Topic: Watch window "Variable out of scope"
bennyboos

Replies: 9
Views: 16475

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2015 6:46 am   Subject: Watch window "Variable out of scope"
Hmm, wish I still had my old ICD2 and hadn't sold it in eBay Sad
I tried recreating my project within CCS's own IDE but that also seems to have issues with my ICD3 and a dsPIC30F3013. Whilst it se ...
  Topic: Watch window "Variable out of scope"
bennyboos

Replies: 9
Views: 16475

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2015 6:05 am   Subject: Watch window "Variable out of scope"
Thanks Ttelmah and RFDeveloper.
I realise that any local variables are likely to be out of scope once outside of the subroutine (unless global or static or #located), but as I recall from MPLAB of ol ...
  Topic: Watch window "Variable out of scope"
bennyboos

Replies: 9
Views: 16475

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2015 3:44 am   Subject: Watch window "Variable out of scope"
Hi everyone, I need to dust of my CCS experience.
The last time I used it in anger was about 5 years ago so I'm afraid I have forgotten certain handy tips.
In particular I am now trying to debug som ...
  Topic: MPLAB-X
bennyboos

Replies: 18
Views: 24112

PostForum: General CCS C Discussion   Posted: Wed Feb 16, 2011 7:47 am   Subject: Mac OS
I realise that it's early days, hence CCS have not yet provided an MPLABX plugin, but it would pretty poor if they did not do so once MPLABX is formally released.
Perhaps one of the caveats is that M ...
  Topic: PIC18F8723 errata
bennyboos

Replies: 2
Views: 3429

PostForum: General CCS C Discussion   Posted: Sat May 08, 2010 2:45 am   Subject: PIC18F8723 errata
Well my ICD3 is reporting the chip as being revision 00002 so I'll give it a try with the errata disabled...
Thanks for your input.
  Topic: PIC18F8723 errata
bennyboos

Replies: 2
Views: 3429

PostForum: General CCS C Discussion   Posted: Fri May 07, 2010 9:49 am   Subject: PIC18F8723 errata
Whilst using ChipEdit to tweak the compiler scratch area I noticed that the Errata check box had ticks against "Don't use RETFIE 1" and "Set Bit 9 when Idle".
Whilst these are val ...
  Topic: memory leak in gets(string)
bennyboos

Replies: 9
Views: 8723

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2009 9:09 am   Subject: memory leak in gets(string)
OK - info is as follows:-
CCSC.EXE 4.3.0.272 created 15/08/2007 21:56
PCW.EXE 4.99.19.8 15/08/2007 21:56
(Goodness only knows why the dates are this? My clock/calender is correct & I only recei ...
  Topic: memory leak in gets(string)
bennyboos

Replies: 9
Views: 8723

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2009 5:13 am   Subject: memory leak in gets(string)
Of course - but how do I obtain the sub-version?
The only means I know of are either to enter CCSC +V on the command line OR go via the start button (which I suspect is the same thing)?
Either way, ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group