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 58 matches
CCS Forum Index
Author Message
  Topic: Suggestions bootloader for dspic33ck
nazoa

Replies: 5
Views: 667

PostForum: General CCS C Discussion   Posted: Fri Nov 29, 2024 4:39 pm   Subject: Suggestions bootloader for dspic33ck
Thanks Ttelmah for the suggestion. I guess it is the ex_bootloader.c in the examples you are suggesting. Is there a host application that tells me how the data is sent to the bootloader? Thanks again
  Topic: Suggestions bootloader for dspic33ck
nazoa

Replies: 5
Views: 667

PostForum: General CCS C Discussion   Posted: Fri Nov 29, 2024 5:18 am   Subject: Suggestions bootloader for dspic33ck
Hello, I am looking to build a bootloader for a dspic33ck board which has a dedicated FTDI USB chip. It would help to have suggestions of an example loader that could be modified.
Thanks.
  Topic: dspic33EP with external clock source
nazoa

Replies: 2
Views: 1590

PostForum: General CCS C Discussion   Posted: Wed Sep 04, 2024 9:31 am   Subject: dspic33EP with external clock source
Hello,
We need to clock a dspic33pe from an external clock source and I am looking for suggestions on the fuse settings. We have a 20MHz external clock and we plan to connect this to the OSC1 pin. T ...
  Topic: ADC on PIC24FJ256GA705
nazoa

Replies: 3
Views: 3035

PostForum: General CCS C Discussion   Posted: Fri Jul 05, 2024 1:25 pm   Subject: ADC on PIC24FJ256GA705
Hello,

I'm having problems getting the ADC to work on a PIC24FJ256GA705 chip.
I have the following simple code.

#DEVICE ADC=10

Then in my main code, the ADC is set up as follows.

setu ...
  Topic: Passing array pointer to function
nazoa

Replies: 2
Views: 6556

PostForum: General CCS C Discussion   Posted: Mon Mar 02, 2015 10:54 am   Subject: Passing array pointer to function
Thanks for taking the time to reply. I think I understand
where the problem is now.
Yes, the code needs to be in assembly for speed.
  Topic: Passing array pointer to function
nazoa

Replies: 2
Views: 6556

PostForum: General CCS C Discussion   Posted: Mon Mar 02, 2015 10:03 am   Subject: Passing array pointer to function
Hello,
I am trying to find a way of passing array pointers to a function.

The following code fails to compile at the "POP R0void Read4ADCs(int16 *R0[], *R1[], *M0[ ...
  Topic: Speeding up code - Assembly code using compiler
nazoa

Replies: 6
Views: 9799

PostForum: General CCS C Discussion   Posted: Fri Jan 09, 2015 10:22 am   Subject: Speeding up code - Assembly code using compiler
Thanks Ttelmah

Yes, I understand #asm and #endsam is the thing to use.

My question, as I explained in my post, relates to how to specify the argument for the "POP" command. The point i ...
  Topic: Speeding up code - Assembly code using compiler
nazoa

Replies: 6
Views: 9799

PostForum: General CCS C Discussion   Posted: Fri Jan 09, 2015 10:18 am   Subject: Speeding up code - Assembly code using compiler
temtronic, thanks for the reply.

My question is really about the CCS compiler, not really about the PIC chip or the ADC hardware. I need to find out if I can get the compiler to do the assembly cod ...
  Topic: Speeding up code - Assembly code using compiler
nazoa

Replies: 6
Views: 9799

PostForum: General CCS C Discussion   Posted: Fri Jan 09, 2015 9:18 am   Subject: Speeding up code - Assembly code using compiler
Hello

I need to speed up a simple code that reads data from four A/Ds connected to my PIC.

I have the following code to read from the first two A/Ds:

//*** C Code ***
signed int16 ADC_REF0, ...
  Topic: Internal Error - Contact CCS OUTPUT FILE 0
nazoa

Replies: 2
Views: 10166

PostForum: General CCS C Discussion   Posted: Sat Sep 27, 2014 2:52 am   Subject: Internal Error - Contact CCS OUTPUT FILE 0
Thank you for the suggestion.

I am not using MPLAB but the files were indeed in a very deep level folder in our server. Moving them to a higher level directory appears to have fixed the problem.
...
  Topic: Internal Error - Contact CCS OUTPUT FILE 0
nazoa

Replies: 2
Views: 10166

PostForum: General CCS C Discussion   Posted: Fri Sep 26, 2014 2:45 am   Subject: Internal Error - Contact CCS OUTPUT FILE 0
Hello,
I am using the PCWHD compiler, version 4.128. I regularly get the following error message during compilation at the point when the compiler finishes writing the .lst file and begins to attempt ...
  Topic: Access violation error on compile
nazoa

Replies: 1
Views: 4209

PostForum: General CCS C Discussion   Posted: Mon Nov 04, 2013 6:42 am   Subject: Access violation error on compile
Hello

I am seeing (erratically) the following error:

--- Info 300 "main.c" Line 888(0,1): More info: * Access violation at address 024F340E in module 'PCD.dll'. Read of address 7F84A ...
  Topic: PMP on dsPIC33EP
nazoa

Replies: 0
Views: 3740

PostForum: General CCS C Discussion   Posted: Fri Oct 21, 2011 9:49 am   Subject: PMP on dsPIC33EP
Hello, I am planning to use the PMP in master mode with 16 address lines to control external SRAM on my project. Now, I also plan to share the data bus (E port) of the PMP with another peripheral. My ...
  Topic: Recursive filter - making it go faster
nazoa

Replies: 1
Views: 2887

PostForum: General CCS C Discussion   Posted: Sat Sep 11, 2010 7:56 am   Subject: Recursive filter - making it go faster
I have code for a recursive low pass filter which is working OK but I need to increase its speed. The line which is taking too long is the following:

filt1 = filt1 - ( filt1 >> 4 ) + ad_ref; ...
  Topic: Convert unsigned 16bit to signed 32bit
nazoa

Replies: 3
Views: 4350

PostForum: General CCS C Discussion   Posted: Sat Sep 11, 2010 7:48 am   Subject: Convert unsigned 16bit to signed 32bit
Thanks for the reply. I was really looking for code that would include the scaling, i.e. mid value of the unsigned variable would translate to zero of the signed variable. Anyway, I found a work aroun ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group