Author |
Message |
Topic: Bootloader doesn't write eeprom |
diogoc
Replies: 5
Views: 13431
|
Forum: General CCS C Discussion Posted: Wed Mar 26, 2014 4:46 am Subject: Bootloader doesn't write eeprom |
Can you share the modifications for eeprom write?
It should be in this section, but I can't understand how:
if ((addr < LOADER_ADDR || addr > LOADER_END) && addr < g ... |
Topic: Hex file don't works after rebuilding |
diogoc
Replies: 5
Views: 8647
|
Forum: General CCS C Discussion Posted: Wed Mar 26, 2014 3:55 am Subject: Hex file don't works after rebuilding |
I have compared the .lst files and the differences are in the beginning of the main function, in the "DATA xx, xx" instruction:
.................... void main(void) {
*
... |
Topic: Hex file don't works after rebuilding |
diogoc
Replies: 5
Views: 8647
|
Forum: General CCS C Discussion Posted: Wed Mar 26, 2014 3:33 am Subject: Hex file don't works after rebuilding |
So this means you disabled "Multiple Compilation Units" and you added
.c and .h modules to your main C file with #include statements, then you
compiled the main C file.
And then, even a ... |
Topic: Hex file don't works after rebuilding |
diogoc
Replies: 5
Views: 8647
|
Forum: General CCS C Discussion Posted: Tue Mar 25, 2014 12:33 pm Subject: Hex file don't works after rebuilding |
It is strange, it seems that after rebuilding the circuit is more sensible to noise because the firmware hangs when there are connected long wires.
But I still don“t understand why the hex file is ... |
Topic: Hex file don't works after rebuilding |
diogoc
Replies: 5
Views: 8647
|
Forum: General CCS C Discussion Posted: Mon Mar 24, 2014 5:18 am Subject: Hex file don't works after rebuilding |
I'm using CCS V5.021 with a multiple compilation project. The pic is a PIC18F26K22.
When I build for the first time the project it works fine, but if I rebuild the project the pic has an erratic fun ... |
Topic: CCS C Compiler Demo and ICD3 |
diogoc
Replies: 3
Views: 7316
|
Forum: General CCS C Discussion Posted: Thu Nov 14, 2013 2:57 pm Subject: CCS C Compiler Demo and ICD3 |
I have the same problem. Solution please.. |
Topic: Arduino to CCS AD9850 DDSgen.library (<<operator prob) |
diogoc
Replies: 14
Views: 45385
|
Forum: General CCS C Discussion Posted: Wed Aug 29, 2012 8:12 am Subject: Arduino to CCS AD9850 DDSgen.library (<<operator prob) |
that code only works for frequencies above 1MHz.
I think that way works between 1Hz and 40MHz:
//Calculate the frequency of the HEX value
x=4294967295*frequence ;
x=x/125000000 ... |
Topic: PIC Tv Color/Pulse detector |
diogoc
Replies: 10
Views: 15645
|
Forum: General CCS C Discussion Posted: Thu Jul 16, 2009 3:39 am Subject: PIC Tv Color/Pulse detector |
hi
do you have an example code for tcs230?
thanks |
Topic: passing 2 dimensional array in a function |
diogoc
Replies: 17
Views: 24899
|
Forum: General CCS C Discussion Posted: Wed Jul 15, 2009 1:09 pm Subject: passing 2 dimensional array in a function |
I have tested every test programs in this thread and no one works.
int message[16][16];
void init (int array[16][16])
{
int row,col;
for & ... |
Topic: passing 2 dimensional array in a function |
diogoc
Replies: 17
Views: 24899
|
Forum: General CCS C Discussion Posted: Wed Jul 15, 2009 7:38 am Subject: passing 2 dimensional array in a function |
Hi,
I have the same problem. There are another way to pass a 2d array to a function?
thanks |
Topic: 16C765 and PWM smallest frequency ? |
diogoc
Replies: 9
Views: 50104
|
Forum: General CCS C Discussion Posted: Wed Mar 18, 2009 12:14 pm Subject: 16C765 and PWM smallest frequency ? |
do you have already tested with PR2=0 ?
i get a constant 5v :S
so max freq i can get is FOSC/8
im doing something wrong? |
Topic: PCD: XT_PLL8 problem |
diogoc
Replies: 4
Views: 6357
|
Forum: General CCS C Discussion Posted: Thu Mar 05, 2009 6:24 am Subject: PCD: XT_PLL8 problem |
hi,
what version you use now? I use v4.084 and still have problems with oscillator configuration |
Topic: dspic30f6012a CAN bus |
diogoc
Replies: 2
Views: 3918
|
Forum: General CCS C Discussion Posted: Tue Mar 03, 2009 10:58 am Subject: dspic30f6012a CAN bus |
anyone can help me?
I use MCP2551 CAN transceiver.
I'm getting desperate :S |
Topic: CANbus on dsPIC30? |
diogoc
Replies: 5
Views: 8386
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2009 12:47 pm Subject: CANbus on dsPIC30? |
I'm looking for CAN library for dsPIC too.
thanks |
Topic: dspic30f6012a CAN bus |
diogoc
Replies: 2
Views: 3918
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2009 12:37 pm Subject: dspic30f6012a CAN bus |
Hi,
I am trying to use dspic CAN bus but I found only examples for pic18.
CCS CAN libraries for pic18 work on dspic?
Anyone have some working code for dspic?
Thanks |
|