Author |
Message |
Topic: Debugging Help |
Markdem
Replies: 8
Views: 24948
|
Forum: General CCS C Discussion Posted: Mon Aug 09, 2021 1:32 am Subject: Debugging Help |
Ahh crap, you are right... I just did not paid attention to it has it has worked now for about 4 years.. Thanks for pointing that out.
In saying that, why did\does it work if I take the new variabl ... |
Topic: Debugging Help |
Markdem
Replies: 8
Views: 24948
|
Forum: General CCS C Discussion Posted: Sun Aug 08, 2021 5:52 pm Subject: Debugging Help |
PIC is 18F67K22
CCS v5.071 (Yes, I know it is old...)
PCM Programmer - I tried to add "int test
void glcd_bmp(char* file)
{
MPFS handle;
handle=MPFSOpen ... |
Topic: Debugging Help |
Markdem
Replies: 8
Views: 24948
|
Forum: General CCS C Discussion Posted: Sun Aug 08, 2021 6:45 am Subject: Debugging Help |
There is 34% ram left in both versions. I did not pay too much attention to the exact number.
When I started the modifications I added 6 new variables to the code. I cut back to one to aid in debuggi ... |
Topic: Debugging Help |
Markdem
Replies: 8
Views: 24948
|
Forum: General CCS C Discussion Posted: Sun Aug 08, 2021 12:30 am Subject: Debugging Help |
Hi All,
I have a odd issue that I can't seem to debug, wondering if someone else can see what is going on. Bit of a long story, sorry..
I have a program, quite long at a few thousand lines, been ... |
Topic: Issue with programing PIC18F67K22 past memory location 14000 |
Markdem
Replies: 8
Views: 24138
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2020 1:44 am Subject: Issue with programing PIC18F67K22 past memory location 14000 |
Ok, after half a day or trial and error (the bug only shows up now and again) I have found out what is going on.
In case anyone else comes across this one, here is what I have found.
1. PIC fails ... |
Topic: Issue with programing PIC18F67K22 past memory location 14000 |
Markdem
Replies: 8
Views: 24138
|
Forum: General CCS C Discussion Posted: Sat Oct 03, 2020 3:10 am Subject: Issue with programing PIC18F67K22 past memory location 14000 |
Just to complete this in case someone run across it in the future.
I borrowed another PICKIT3 and it seemed to fix the issue. I have no idea why the PICKIT would be doing something stupid like this ... |
Topic: Issue with programing PIC18F67K22 past memory location 14000 |
Markdem
Replies: 8
Views: 24138
|
Forum: General CCS C Discussion Posted: Thu Oct 01, 2020 4:41 pm Subject: Issue with programing PIC18F67K22 past memory location 14000 |
Thanks Ttelmah,
I am starting to think it is a programmer issue. I can program a DSPIC (uses a diffrent PICKIT3 firmware) to 98% without a issue. It is just the 67K22 that has issues.
Would anyo ... |
Topic: Issue with programing PIC18F67K22 past memory location 14000 |
Markdem
Replies: 8
Views: 24138
|
Forum: General CCS C Discussion Posted: Thu Oct 01, 2020 6:57 am Subject: Issue with programing PIC18F67K22 past memory location 14000 |
I am having some issues programing a PIC18F67K22 using a PICKIT3.
I know this is not going to be a issue with CCS (I hope not anyway, but with issues I have had so far with this project anything can ... |
Topic: Random CONST CHAR |
Markdem
Replies: 4
Views: 14979
|
Forum: General CCS C Discussion Posted: Tue Aug 25, 2020 12:08 am Subject: Random CONST CHAR |
Sorry for the late reply,..
I tried the demo, still have the same issue.
Ttelmah - what you are saying makes sense, however I have no idea how I would ever debug this. Is there away of checking ... |
Topic: Random CONST CHAR |
Markdem
Replies: 4
Views: 14979
|
Forum: General CCS C Discussion Posted: Thu Aug 20, 2020 8:55 pm Subject: Random CONST CHAR |
I have got a problem I can't work out..
CCS = 5.025
I have the following:
static char tokens_header[]=" ";
static char tokens_get[]="?";
static ch ... |
Topic: IPstack with DSPIC |
Markdem
Replies: 4
Views: 13755
|
Forum: General CCS C Discussion Posted: Mon Aug 10, 2020 4:23 am Subject: IPstack with DSPIC |
OK, changing that fixed the issue and a new one has come up.. Now the FTP server only half works. Time for more debugging..
One quick question, I found this in the manual
#TYPE = unsign ... |
Topic: IPstack with DSPIC |
Markdem
Replies: 4
Views: 13755
|
Forum: General CCS C Discussion Posted: Sun Aug 09, 2020 2:34 pm Subject: IPstack with DSPIC |
Thanks Ttelmah,
typedef int16 WORD;
typedef int32 DWORD;
So I should change to?
typedef unsigned int16 WORD;
typedef unsigned int32 DWORD;
This is CCS code, that is just a port of ... |
Topic: IPstack with DSPIC |
Markdem
Replies: 4
Views: 13755
|
Forum: General CCS C Discussion Posted: Sun Aug 09, 2020 3:06 am Subject: IPstack with DSPIC |
Hello,
I am trying to use the IP stack with a DSPIC30F6015. I have the same stack working fine with a 18F67K22. No changes (except for 3 pins for the ENC chip) are made. CCS version 5.025.
I can ... |
Topic: PIC16F1709 and Comparator |
Markdem
Replies: 6
Views: 13457
|
Forum: General CCS C Discussion Posted: Sun Mar 19, 2017 4:13 am Subject: PIC16F1709 and Comparator |
Thanks guys, that's what I thought. Just wanted to make sure.
Thanks |
Topic: PIC16F1709 and Comparator |
Markdem
Replies: 6
Views: 13457
|
Forum: General CCS C Discussion Posted: Sat Mar 18, 2017 7:59 pm Subject: PIC16F1709 and Comparator |
Hi everyone,
I am really starting to dislike this PIC.
I am trying to get Comparator2 working with the +input been on C0 and -input connected to C1. Should be easy.
This is what I have.
//CC ... |
|