Author |
Message |
Topic: #INT_EXT behaviour |
Jean FOUGERON
Replies: 3
Views: 8842
|
Forum: General CCS C Discussion Posted: Thu Jul 28, 2016 8:50 am Subject: #INT_EXT behaviour |
Thanks for your answer
Get rid of using the high priority bit.
...
So try with this not enabled.
OK, I remove it, and Warning 225 "cms.c" Line 754(1,1): Interrupt level changed EX ... |
Topic: #INT_EXT behaviour |
Jean FOUGERON
Replies: 3
Views: 8842
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2016 4:04 am Subject: #INT_EXT behaviour |
Does anybody knows the details of #INT_EXT ?
I use it in my project.
I need to monitor a 4/20mA loop.
The signal applied to my PIC18F2550 is like series of squares 2 times a second
Each serie is ... |
Topic: #INT_EXT behaviour |
Jean FOUGERON
Replies: 2
Views: 7493
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2016 4:03 am Subject: #INT_EXT behaviour |
Does anybody knows the details of #INT_EXT ?
I use it in my project.
I need to monitor a 4/20mA loop
The signal applied to my PIC18F2550 is like series of squares 2 times a second
Each serie is ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2016 7:14 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
Thanks to all of you
I inserted a PIC18F2520 which is 16k and it runs (with V4)
as soon I have time, I try with V5
But first, finish the project and deliver to customer
Have a go ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2016 2:12 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
I compiled my project in 2013 with V4 version and it worked
As customer asks for changes, we have made pcb changes and need to adapt software for it..
So, when I have tried to compile with these mod ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2016 12:56 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
To answer your earlier question, the version is shown at
the top of the .LST file. If it has a "d" on the end of the
version it is a demo...
i.e. CCS PCM C Compiler, Version 5.032d
... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Thu Jul 21, 2016 10:37 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
1) buy the real compiler from CCS. That way you will NOT have a 'memory' problem.
Jay
OK
The problem is that I bought a full version to CCS, and received the package with book and CD lice ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Thu Jul 21, 2016 10:29 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
Sorry
I don't understand
I use the same version V4 I always used bought to CCS, and my pch.crg is dated 07/01/2013
How can I see that I have a demo version and not a full version, and why would I ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Thu Jul 21, 2016 10:05 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
Thanks for your help Ttelmah and Temtronic
I now can compile when I have suppressed all my JBus fuctions !
(but I need them)
Anyway, when I modify my code somewhere else, I get the error again.
... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Tue Jul 19, 2016 3:19 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
However I must also go back to PCM_programmer's question about whether you are using a bootloader?. The error being reported, appears to show the compiler behaving as if it is being excluded from so ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Tue Jul 19, 2016 2:41 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
OK, going back to your original post, if v4.xyz worked WHY bother upgrading to v5.abc ? Obviously v4 was suitable for your PIC, perhaps you can explain why you upgraded?
Really I am a bit lost
... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Mon Jul 18, 2016 2:43 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
You can almost certainly get V5 to actually fit the code, if it did go in with V4, by compiling with the option (near the top of your source file):
#OPT compress
OK thanks Ttelmah
I put ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Mon Jul 18, 2016 2:09 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
And if I clearly empty this function (mark inside as /* ... */) another one appears :
*** Error 71 "cms.c" Line 1119(1,2): Out of ROM, A segment or the program is too large ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Mon Jul 18, 2016 1:44 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
The function which seems too large for it is the following (it is the one the error 71 mentions)
In my mind, it is not very long, and not so easy to split off
Why the V5.061 makes code larger than ... |
Topic: Error 71 ... Out of ROM, A segment or the program is too lar |
Jean FOUGERON
Replies: 42
Views: 75006
|
Forum: General CCS C Discussion Posted: Wed Jul 13, 2016 8:39 am Subject: Error 71 ... Out of ROM, A segment or the program is too lar |
With the newer version there have been udpates and fixes causing the assembly code size to increase just enough to not fit within the banking limitiations.
Aïe Aïe Aïe
Do you mean the code ca ... |
|