CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 15 matches
CCS Forum Index
Author Message
  Topic: Unknown keyword #FUSES "BORV22"
mabedin000

Replies: 7
Views: 10526

PostForum: General CCS C Discussion   Posted: Wed Aug 30, 2023 10:25 am   Subject: Unknown keyword #FUSES "BORV22"
Yes, it is old code. I am trying to modify it to reduce work but doesn't work. I think I need to move everything to new version complier to rewrite again. Again I don't have a lot of knowledge of PIC, ...
  Topic: Unknown keyword #FUSES "BORV22"
mabedin000

Replies: 7
Views: 10526

PostForum: General CCS C Discussion   Posted: Wed Aug 30, 2023 8:44 am   Subject: Unknown keyword #FUSES "BORV22"
I think you are right.

PCD file is from 6/9/2011. Can you tell me what version I should use to make it work and where I can find it?

I have tried 5.015 version still had ROM issue.
  Topic: Unknown keyword #FUSES "BORV22"
mabedin000

Replies: 7
Views: 10526

PostForum: General CCS C Discussion   Posted: Wed Aug 30, 2023 8:16 am   Subject: Unknown keyword #FUSES "BORV22"
Compiler version 4.14

#include "18f24k22.h"
#include "globals.h"

//-----------------------------------------------

// Compiler Options
//-------------------------------- ...
  Topic: Unknown keyword #FUSES "BORV22"
mabedin000

Replies: 7
Views: 10526

PostForum: General CCS C Discussion   Posted: Wed Aug 30, 2023 7:57 am   Subject: Unknown keyword #FUSES "BORV22"
I only have this error in my code, I am not sure how to eliminate this error. When I hide BORV22, it shows no ROM available. Using PIC18F24k22

Can someone help me to figure out the problem? Thank y ...
  Topic: Error 71...OUT of ROM, A segment or the program is too large
mabedin000

Replies: 10
Views: 11059

PostForum: General CCS C Discussion   Posted: Fri Aug 25, 2023 9:00 am   Subject: Error 71...OUT of ROM, A segment or the program is too large
I do not have .lst file. I only have 2 header files and a source C file. I am struggling a lot.
  Topic: Error 71...OUT of ROM, A segment or the program is too large
mabedin000

Replies: 10
Views: 11059

PostForum: General CCS C Discussion   Posted: Fri Aug 25, 2023 8:37 am   Subject: Error 71...OUT of ROM, A segment or the program is too large
Is there any way to know what version of compiler was used to program this by looking at the code? unfortunately, I don't have access or contact t to the vendors who wrote it for us. more importantly, ...
  Topic: Error 71...OUT of ROM, A segment or the program is too large
mabedin000

Replies: 10
Views: 11059

PostForum: General CCS C Discussion   Posted: Fri Aug 25, 2023 8:25 am   Subject: Error 71...OUT of ROM, A segment or the program is too large
This program was written for PIC18F25K22 and still works when I upload HEX fie of the program to the chip.

I just opened the source code on CCS to modify some part of the code and it shows OUT of ...
  Topic: Function definition differernt from previous definition
mabedin000

Replies: 13
Views: 13866

PostForum: General CCS C Discussion   Posted: Fri Aug 25, 2023 7:47 am   Subject: Function definition differernt from previous definition
Yes I have this ClearDecimalDisplay(); line under another prototype to link them together.

How to make a difference between these two decertations and make it work? I am not a professional prog ...
  Topic: Function definition differernt from previous definition
mabedin000

Replies: 13
Views: 13866

PostForum: General CCS C Discussion   Posted: Fri Aug 25, 2023 7:32 am   Subject: Function definition differernt from previous definition
After adding semicolon.

Error tab opened: Cannot open file "C:/Users/................ The process cannot acces the file because it is being used by another proces.

at the line- where semi ...
  Topic: Function definition differernt from previous definition
mabedin000

Replies: 13
Views: 13866

PostForum: General CCS C Discussion   Posted: Fri Aug 25, 2023 7:08 am   Subject: Function definition differernt from previous definition
One has (void) and the other has () so they are different

I have the same "Function definition different from previous definition" issue even if I dont pass the parameters.

#separate ...
  Topic: Error 71...OUT of ROM, A segment or the program is too large
mabedin000

Replies: 10
Views: 11059

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2023 11:35 am   Subject: Error 71...OUT of ROM, A segment or the program is too large
Yeah it is huge but I need to make it work and get rid of these memory issue. Do you recommend any other PIC which has more space within? or any way I can work with the same PIC.
  Topic: Function definition differernt from previous definition
mabedin000

Replies: 13
Views: 13866

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2023 11:32 am   Subject: Function definition differernt from previous definition
Error 71...OUT of ROM, A segment or the program is too large ClearDecimalDisplay Param#1


Seg 00096-03FFE, 0034 left, need 00060
Seg 00000-00002, 0000 left, need 00060
Seg 00004-00006, 0004 l ...
  Topic: Error 71...OUT of ROM, A segment or the program is too large
mabedin000

Replies: 10
Views: 11059

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2023 10:03 am   Subject: Error 71...OUT of ROM, A segment or the program is too large
Using CCS 5.015 for PIC18f25k22

One of the prototype is too large to fit into the segments of the ROM.


Error 71...OUT of ROM, A segment or the program is too large[prototype name]
Seg 00096- ...
  Topic: Function definition differernt from previous definition
mabedin000

Replies: 13
Views: 13866

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2023 8:42 am   Subject: Function definition differernt from previous definition
I dont thing so, I just added #separate syntax before the prototype and after

#separate
void ClearDecimalDisplay(void)

#separate (This line has the Function Definition error)
void ClearDec ...
  Topic: Function definition differernt from previous definition
mabedin000

Replies: 13
Views: 13866

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2023 7:49 am   Subject: Function definition differernt from previous definition
I had memory ROM storage issue while compiling and then I used #separate function to store code into new segment of memory. Now I have a new problem which I do not know what to do. I am not a professi ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group