Author |
Message |
Topic: Out of ROM in new compiler version |
richi-d
Replies: 5
Views: 8191
|
Forum: General CCS C Discussion Posted: Mon May 14, 2012 7:39 am Subject: Out of ROM in new compiler version |
Or,
I do what I had to do, long long time ago: I don´t use CCS anymore! |
Topic: Out of ROM in new compiler version |
richi-d
Replies: 5
Views: 8191
|
Forum: General CCS C Discussion Posted: Sat May 12, 2012 3:35 am Subject: Out of ROM in new compiler version |
Hello,
The trouble with my compiler update (4.132) doesn´t end. Now in another software I get this error message:
*** Error 71 "Main.c" Line 4415(0,1): Out of ROM, A segme ... |
Topic: No return on the program end |
richi-d
Replies: 14
Views: 18706
|
Forum: General CCS C Discussion Posted: Sat May 12, 2012 3:32 am Subject: No return on the program end |
Hi,
I need that in case of an older software version on newer PICs being updated. In previous versions we didn´t write the IVT´s, but the IVT´s are below 0x200. With this table in the newer soft ... |
Topic: if doesn´t work |
richi-d
Replies: 5
Views: 5811
|
Forum: General CCS C Discussion Posted: Thu May 10, 2012 9:31 am Subject: if doesn´t work |
Hello,
rounding errors are no problem as I want to compare with a >
The code above was just for example.
It works now with
if ((int)GY_SUMME[0] > 100)
So i ... |
Topic: if doesn´t work |
richi-d
Replies: 5
Views: 5811
|
Forum: General CCS C Discussion Posted: Thu May 10, 2012 6:41 am Subject: if doesn´t work |
Hello,
the second one
if ((int)GY_SUMME[0] == 100)
works, but not the first one? Why? I never had to do that before in older compiler versions... |
Topic: if doesn´t work |
richi-d
Replies: 5
Views: 5811
|
Forum: General CCS C Discussion Posted: Thu May 10, 2012 5:00 am Subject: if doesn´t work |
Hello,
It´s frustrating: is there any reason why the "if" command jumps in when the value GY_SUMME
float GY_SUMME[5];
if (GY_SUMME[0] == 100)
& ... |
Topic: How to change start address in program memory |
richi-d
Replies: 38
Views: 53255
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 7:10 am Subject: How to change start address in program memory |
Hello,
yes,
#ROM int16
solved the problem. Sorry for bothering you guys, but this weekend was frustrating! |
Topic: No return on the program end |
richi-d
Replies: 14
Views: 18706
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 6:23 am Subject: No return on the program end |
#rom int16 works now- oh man- how can I know that? |
Topic: No return on the program end |
richi-d
Replies: 14
Views: 18706
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 6:10 am Subject: No return on the program end |
I see that this values are wrong in the Program memory. I have a real ICE and know how to debug. But debugging is not the problem.
- The compiler version 4.121 doesn´t write the #ROM to adress 0 ... |
Topic: No return on the program end |
richi-d
Replies: 14
Views: 18706
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 5:04 am Subject: No return on the program end |
I found out: this is a compiler version problem with 4.132. With Version 4.121 the #Roms are written correct, but this:
#ROM 0x00 = {0x040800}
#ROM 0x01 = {0x000000}
is not ... |
Topic: No return on the program end |
richi-d
Replies: 14
Views: 18706
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 4:15 am Subject: No return on the program end |
If you are looking 5 days for an error which is not your fault and spending a whole weekend with this. And you have still not found out what´s the problem, you would be also very angry.
Now I foun ... |
Topic: No return on the program end |
richi-d
Replies: 14
Views: 18706
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 3:38 am Subject: No return on the program end |
Additional to that: the application is running without this #rom lines. With the #rom lines the application is running only half. I see the interrupts are working, but for example my OLED screen is bl ... |
Topic: No return on the program end |
richi-d
Replies: 14
Views: 18706
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 3:34 am Subject: No return on the program end |
Hi,
the bootloader expects the reset at 0x800. The bootloader is another program writen with Microchip compiler. What I hate is, that I write Code- all is working. Some weeks later, I change only 1 ... |
Topic: How to change start address in program memory |
richi-d
Replies: 38
Views: 53255
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 3:21 am Subject: How to change start address in program memory |
Now again, I have problems with this Shi***y compiler, I made some software changes- program doesn´t run anymore. I purchased a copiler update for 275€, but program is still not running. I have no ... |
Topic: #ORG Problem |
richi-d
Replies: 1
Views: 4022
|
Forum: General CCS C Discussion Posted: Sat May 05, 2012 3:14 am Subject: #ORG Problem |
I tried this:
#ORG 0x10000,0x11000
void Variablen_Init(void)
{
CLR_WDT;}
and get this error message: *** Error 166 "D:\Controller_Software\V14\Init.c" Line 3 ... |
|