Author |
Message |
Topic: bit field changes from 3.098 to 3.245 |
rbgorbet
Replies: 9
Views: 9134
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 11:42 pm Subject: bit field changes from 3.098 to 3.245 |
Great, thanks.
If you're still looking for clues, I've noticed that depending on...something...the last line will be
ab = cd = cd
where "cd" is always the same (and so far always &q ... |
Topic: bit field changes from 3.098 to 3.245 |
rbgorbet
Replies: 9
Views: 9134
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 11:07 pm Subject: bit field changes from 3.098 to 3.245 |
Wow, well thank you for confirming I'm not out of my head. I will report it tonight before I go to sleep and point to this thread.
[edit: Just to confirm: were you able to reproduce the problem in ... |
Topic: bit field changes from 3.098 to 3.245 |
rbgorbet
Replies: 9
Views: 9134
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 8:32 pm Subject: bit field changes from 3.098 to 3.245 |
Okay, took a while because I had to figure out how to have both installed at once. I also stripped down the code to the point where there is not much more in the code than what's below.
Essentiall ... |
Topic: bit field changes from 3.098 to 3.245 |
rbgorbet
Replies: 9
Views: 9134
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 6:01 pm Subject: bit field changes from 3.098 to 3.245 |
Okay, here's the gist. I made the structure smaller, used constant bytes instead of reading from RAM, and removed the function call. I kept the bit fields because I think that's part of the issue. ... |
Topic: bit field changes from 3.098 to 3.245 |
rbgorbet
Replies: 9
Views: 9134
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 5:06 pm Subject: bit field changes from 3.098 to 3.245 |
Hmmm...I'll try. I went to a lot of trouble to clarify what I'm trying to do and I'm worried that if I write something new and it doesn't work, I won't know if it would have worked in 3.098, since I ... |
Topic: bit field changes from 3.098 to 3.245 |
rbgorbet
Replies: 9
Views: 9134
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 3:55 pm Subject: bit field changes from 3.098 to 3.245 |
particulars: PIC16F877A, PCM 3.245, MPLAB 7.50
history: working on a project in 3.098 but upgraded to 3.245 because of RAM bank paging bugs in 3.098. Now portions of my code which worked before co ... |
Topic: new install of PCM 3.245: unknown version number? |
rbgorbet
Replies: 10
Views: 12823
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 11:22 am Subject: new install of PCM 3.245: unknown version number? |
CCS sent me the new registration files for 3.245 this morning and things appear to be resolved. Now I just need to finish the code. Thanks again for all your help.
Rob. |
Topic: new install of PCM 3.245: unknown version number? |
rbgorbet
Replies: 10
Views: 12823
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2007 11:16 pm Subject: new install of PCM 3.245: unknown version number? |
I found the opcode in the hex and modified it to BCF A.4 instead of BSF A.4, and fixed the checksum in the hex file. The code got further, but didn't run properly still. Must be something else somew ... |
Topic: new install of PCM 3.245: unknown version number? |
rbgorbet
Replies: 10
Views: 12823
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2007 3:15 pm Subject: Found it? |
I've traced through the LST file after reading about PCLATH and memory paging in the 16F87xA datasheet. Here is what I've found (comments added):
0000: MOVLW 08
0001: MOVWF 0A
0002 ... |
Topic: new install of PCM 3.245: unknown version number? |
rbgorbet
Replies: 10
Views: 12823
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2007 12:49 pm Subject: Thanks |
Thanks PCM Programmer. I need to get better at finding keywords that work! I honestly did what I thought was a good search but I guess I missed that one; it is exactly my problem. I strongly suspec ... |
Topic: new install of PCM 3.245: unknown version number? |
rbgorbet
Replies: 10
Views: 12823
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2007 11:55 am Subject: odd... |
I just clicked on all the links in my post. They all work.
That is really odd, because I just tried them all again and the one with topic id 27344 gives me "The topic or post you requested d ... |
Topic: new install of PCM 3.245: unknown version number? |
rbgorbet
Replies: 10
Views: 12823
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2007 8:31 am Subject: I will try... |
Thanks, PCM Programmer. I will try what you suggest with the shorter filenames.
The compiler was purchased through Microchip. It came shrink-wrapped with the PIC MCU C Compiler Reference Manual, ... |
Topic: problems with 16F877A when code goes above 800h |
rbgorbet
Replies: 5
Views: 6584
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2007 12:22 am Subject: found 3.245 |
After scouring my house I ended up finding my 3.245 CD.
So I removed MPLAB 6.4 and the successful (but buggy) install of PCM 3.098 and the unsuccessful install of PCM 3.245 from earlier.
Then I ... |
Topic: new install of PCM 3.245: unknown version number? |
rbgorbet
Replies: 10
Views: 12823
|
Forum: General CCS C Discussion Posted: Sat Feb 17, 2007 12:16 am Subject: new install of PCM 3.245: unknown version number? |
I've just done a clean install of PCM 3.245 and MPLAB 7.50 after removing MPLAB 6.40 and PCM 3.098. Whether I run ccsc.exe via the MPLAB IDE or from the command line, I get an "Access violation ... |
Topic: problems with 16F877A when code goes above 800h |
rbgorbet
Replies: 5
Views: 6584
|
Forum: General CCS C Discussion Posted: Fri Feb 16, 2007 7:30 pm Subject: too late |
Unfortunately I had to go to a ceremony just after I sent that last post. I did e-mail CCS and asked for the .crg files, but haven't got a response. I guess I'll just spend the evening learning more ... |
|