Author |
Message |
Topic: ROM used: How to interpret this value |
arnadan
Replies: 2
Views: 7316
|
Forum: General CCS C Discussion Posted: Fri Jul 01, 2016 7:20 am Subject: ROM used: How to interpret this value |
Thanks Ttelmah for the detailed explanations. All clear to me now. |
Topic: ROM used: How to interpret this value |
arnadan
Replies: 2
Views: 7316
|
Forum: General CCS C Discussion Posted: Fri Jul 01, 2016 2:22 am Subject: ROM used: How to interpret this value |
I am programming a DSPIC33FJ32MC304 and am trying to understand how much space my program uses in ROM. In my listing I find the following numbers:
ROM used: 4978 bytes (22%)
... |
Topic: dsPIC33: Can not write to SPI slave output buffer |
arnadan
Replies: 3
Views: 11315
|
Forum: General CCS C Discussion Posted: Fri Apr 08, 2016 7:21 am Subject: dsPIC33: Can not write to SPI slave output buffer |
OK, I see the point about that register having different read/write purpose and thus not be able to see the correct content in the debugger.
Why I am not using spi_write? Because I did not find a p ... |
Topic: dsPIC33: Can not write to SPI slave output buffer |
arnadan
Replies: 3
Views: 11315
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2016 10:56 pm Subject: dsPIC33: Can not write to SPI slave output buffer |
I am trying to implement an SPI slave. The test program shall receive one byte, increment it by one and then send that byte back. Receiving works OK but sending does not:
CCS V 5.056
dsPIC33FJ32MC ... |
Topic: How to define register (for UART) |
arnadan
Replies: 3
Views: 6040
|
Forum: General CCS C Discussion Posted: Wed Jul 02, 2014 12:49 am Subject: How to define register (for UART) |
Thank you for your help. Problem solved. Simple, now that I know where to look it up. |
Topic: How to define register (for UART) |
arnadan
Replies: 3
Views: 6040
|
Forum: General CCS C Discussion Posted: Wed Jul 02, 2014 12:36 am Subject: How to define register (for UART) |
I am programming some UART communication. So far I have used the CCS functions to do that. But now I would like to write my own code for UART by writing directly to the UART registers.
There are go ... |
Topic: Ex_PCD_Bootload.c with Interrupt |
arnadan
Replies: 8
Views: 9148
|
Forum: General CCS C Discussion Posted: Fri Feb 07, 2014 6:30 am Subject: Ex_PCD_Bootload.c with Interrupt |
The bug has meanwhile been fixed by CCS. But as Jeremiah wrote there seem to be other bugs with multi-comp. So thanks Jeremiah for your suggestion: that's the way I am going to build my projects. now! |
Topic: Ex_PCD_Bootload.c with Interrupt |
arnadan
Replies: 8
Views: 9148
|
Forum: General CCS C Discussion Posted: Thu Jan 16, 2014 12:30 am Subject: Ex_PCD_Bootload.c with Interrupt |
After contacting their support CCS found the root cause of my problem:
"There is a compiler bug with the jump_to_isr() function when compiling a multiple compilation unit that is causing the p ... |
Topic: Ex_PCD_Bootload.c with Interrupt |
arnadan
Replies: 8
Views: 9148
|
Forum: General CCS C Discussion Posted: Fri Jan 10, 2014 2:13 am Subject: Ex_PCD_Bootload.c with Interrupt |
OK: Printf in interrupt not a good idea, but its only a test program. Interrupts are enabled correctly. How I know this:
If I compile and download the program using ICD-U64 programmer everything wo ... |
Topic: Ex_PCD_Bootload.c with Interrupt |
arnadan
Replies: 8
Views: 9148
|
Forum: General CCS C Discussion Posted: Fri Jan 10, 2014 1:40 am Subject: Ex_PCD_Bootload.c with Interrupt |
Yes I just noticed that I forgot that. Added it now:
void main()
{
delay_ms(100);
printf("\r\nApplication Version 1.0\r\n");
printf("\ ... |
Topic: Ex_PCD_Bootload.c with Interrupt |
arnadan
Replies: 8
Views: 9148
|
Forum: General CCS C Discussion Posted: Fri Jan 10, 2014 1:15 am Subject: Ex_PCD_Bootload.c with Interrupt |
I can successfully build and run Ex_PCD_Bootloader.c and Ex_PCD_Bootload.c. The Ex_PCD_Bootload.c has the following very simple main function:
void main()
{
delay_ms(100); ... |
Topic: using/compiling multiple files |
arnadan
Replies: 15
Views: 44108
|
Forum: General CCS C Discussion Posted: Fri Dec 13, 2013 10:00 am Subject: error dyn mem mis-match true!=false |
Very old post but still no solution! So I had to find a solution by myself and want to share it here:
Include the following line in all of your *.C files (respectively in the common project.h file ... |
Topic: CCS C vs Microchip C18 |
arnadan
Replies: 11
Views: 25981
|
Forum: General CCS C Discussion Posted: Fri Nov 29, 2013 12:07 am Subject: CCS C vs Microchip C18 |
After reading this post some weeks ago I decided to buy the CCS compiler. Unfortunately I have to say that I already regret this decision!
CCS IDE is very awkward to use and so far I could not get ... |
|