Author |
Message |
Topic: Migrating from F873 to F876A issues, yes i searched |
perthcom
Replies: 11
Views: 10310
|
Forum: General CCS C Discussion Posted: Tue Oct 30, 2007 6:05 pm Subject: Migrating from F873 to F876A issues, yes i searched |
Well new compiler did not fix the problem.
Everything in my code seems to work properly it seems like it just won't write data (2 bytes) into a peripheral chip.
So I compared the C/ASM code from ... |
Topic: Migrating from F873 to F876A issues, yes i searched |
perthcom
Replies: 11
Views: 10310
|
Forum: General CCS C Discussion Posted: Thu Oct 25, 2007 7:21 am Subject: Migrating from F873 to F876A issues, yes i searched |
I've purchased the latest version of the compiler so I'll see if that fixes it.
By trimming my printf's i've got it into a F873 with 99% program memory usage.. seems to check out so far so i have s ... |
Topic: Migrating from F873 to F876A issues, yes i searched |
perthcom
Replies: 11
Views: 10310
|
Forum: General CCS C Discussion Posted: Wed Oct 24, 2007 8:35 am Subject: Migrating from F873 to F876A issues, yes i searched |
I have one analogue on A0, the rest is all fixed I or O. here is my setup.
void main()
{
int cntr, command, temp, timer;
int command1,timer_toneA;
setup_comparator( ... |
Topic: Migrating from F873 to F876A issues, yes i searched |
perthcom
Replies: 11
Views: 10310
|
Forum: General CCS C Discussion Posted: Wed Oct 24, 2007 7:29 am Subject: Migrating from F873 to F876A issues, yes i searched |
I was going by the Migration sheet put out by Microchip where it says "The comparator is DISABLED on power-up so that existing PIC16F87x code requires no modifications" I put in code to be ... |
Topic: Migrating from F873 to F876A issues, yes i searched |
perthcom
Replies: 11
Views: 10310
|
Forum: General CCS C Discussion Posted: Wed Oct 24, 2007 6:15 am Subject: Migrating from F873 to F876A issues, yes i searched |
Hi all
I have working code under F873 that I want to migrate to F876A so I can expand the program. The circuit uses a Mx-com chip that I had made functions to load and read (sorta I2C protcol). The ... |
Topic: Something is not initalizing right here. CCS PCW 3.225 |
perthcom
Replies: 5
Views: 7918
|
Forum: General CCS C Discussion Posted: Tue Oct 24, 2006 11:54 am Subject: Something is not initalizing right here. CCS PCW 3.225 |
I put RESTART_WDT() right after I set up the WDT prescaler, no difference, so then I took out the #ZERO_RAM and it still doesn't work correctly.
In the project file, when compaired to another worki ... |
Topic: Something is not initalizing right here. CCS PCW 3.225 |
perthcom
Replies: 5
Views: 7918
|
Forum: General CCS C Discussion Posted: Tue Oct 24, 2006 10:40 am Subject: Something is not initalizing right here. CCS PCW 3.225 |
I've been scratching my head over this for a week now. I'm using a 16F870 with opto couplers on PortA inputs and an open collector driver on PortC ouputs. Port B is unused and is held high with 1k r ... |
Topic: MPLAB says "xxxxx.hex file cannot be read, extension no |
perthcom
Replies: 1
Views: 25422
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Feb 17, 2006 12:48 pm Subject: MPLAB says "xxxxx.hex file cannot be read, extension no |
hi all
Recently my MPLAB IDE v6.60 will not load any *.hex files.
"the format of the file xxxx.hex cannot be read or written because its extension is not recognized>
I can load *.cof files ... |
Topic: 16F873 code has me stumped |
perthcom
Replies: 2
Views: 6131
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2005 2:10 pm Subject: 16F873 code has me stumped |
hi
Thanks for the quick reply, I had just thought about that and changed it, walked back into my office while waiting for the programmer.. and read your message.
That was in there from the origin ... |
Topic: 16F873 code has me stumped |
perthcom
Replies: 2
Views: 6131
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2005 12:19 pm Subject: 16F873 code has me stumped |
Hi all
I've been trying to move working code from 16C57 to work on 16F873. I can't seem to get one output (PTT) to change unless i completely comment out the debounce_inputs() function. This functio ... |
|