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 273 matches
CCS Forum Index
Author Message
  Topic: read eeprom and global interrupt PIC18F46K22
Fabri

Replies: 4
Views: 16486

PostForum: General CCS C Discussion   Posted: Tue May 04, 2021 2:34 am   Subject: read eeprom and global interrupt PIC18F46K22
I supposed so but I was considering whether this operation is not negligible.
I'm going to do some about it. My question comes because I have a random delay in phase controls under timer interrupt ne ...
  Topic: read eeprom and global interrupt PIC18F46K22
Fabri

Replies: 4
Views: 16486

PostForum: General CCS C Discussion   Posted: Tue May 04, 2021 1:55 am   Subject: read eeprom and global interrupt PIC18F46K22
Hello,
Checking assembler generated from CCS V5.077 I realized CCS routine called "read_eeprom" set and reset global interrupt during eeprom read operation. Generally microchip datasheet d ...
  Topic: Error Not enough RAM for all variables
Fabri

Replies: 5
Views: 16577

PostForum: General CCS C Discussion   Posted: Thu Mar 04, 2021 2:11 am   Subject: Error Not enough RAM for all variables
Very interesting Ttelmah.

Thanks
  Topic: Error Not enough RAM for all variables
Fabri

Replies: 5
Views: 16577

PostForum: General CCS C Discussion   Posted: Thu Mar 04, 2021 1:53 am   Subject: Error Not enough RAM for all variables
Your help is greatly appreciated. I'm going to work around and test it.

Regards,
  Topic: Error Not enough RAM for all variables
Fabri

Replies: 5
Views: 16577

PostForum: General CCS C Discussion   Posted: Wed Mar 03, 2021 11:37 am   Subject: Error Not enough RAM for all variables
I solved getting back and use array of strings without pointer.
  Topic: Error Not enough RAM for all variables
Fabri

Replies: 5
Views: 16577

PostForum: General CCS C Discussion   Posted: Wed Mar 03, 2021 10:10 am   Subject: Error Not enough RAM for all variables
Hello,
I tried to use text table in CCS I already use with XC8 compiler. This because my string isn't length fixed. Below example of structure of table. In production firmware I have 5 tables with to ...
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Mon Nov 30, 2020 11:18 am   Subject: Change configuration register from code
yes, two partition is best solution but I haven't space. Bootload is used in production from customers so, in case something gone wrong with boot, they return back board. This isn't a a big problem.
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Mon Nov 30, 2020 8:36 am   Subject: Change configuration register from code
I'm working on test with internal oscillator but issue is quite rare so it can take months or years. About bootloader I'll work around as you suggest. I can introduce a flag in order to check if call ...
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Mon Nov 30, 2020 3:24 am   Subject: Change configuration register from code
Bootloader is based on example code of CCS. After received serial command firmware jump to routine waiting for serial string checking start bit and checksum. This is routine of boot.


void boot &# ...
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Sun Nov 29, 2020 1:53 pm   Subject: Change configuration register from code
About eeprom write I have zero crossing signal so, in case it miss for more than 50 ms I stop eeprom write. I'll rise up VBOR to 2,5V. I'll try to understand if this change is possible by firmware so ...
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Sun Nov 29, 2020 4:15 am   Subject: Change configuration register from code
This forum is interesting especially because open my mind in order to consider different scenarios.
so:
Micro are new and now we have 2019 data code. Sometime happens on device working from 3-4 year ...
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Sun Nov 29, 2020 3:10 am   Subject: Change configuration register from code
as I told you I'm trying to understand why an application stop to work. It happens very rarely. The same firmware works on different hardware with the same components. I have performed EMC immunity te ...
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Sat Nov 28, 2020 7:24 am   Subject: Change configuration register from code
Yes, I follow your suggestions and also do some test of oscillator components.

Regards,
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Sat Nov 28, 2020 6:29 am   Subject: Change configuration register from code
Really it's a big project I can't post it. I use same fuses configuration from a long time and happens less than 0,01% of production or less and only in some hardware configuration. After reprogramme ...
  Topic: Change configuration register from code
Fabri

Replies: 22
Views: 49643

PostForum: General CCS C Discussion   Posted: Sat Nov 28, 2020 4:43 am   Subject: Change configuration register from code
In fact to protect configuration registers I must set C0 register so reset bit.

I'm doing some test with application based on PIC18F46K22 where sometimes happens it stop to work and checking devic ...
 
Page 1 of 19 Goto page 1, 2, 3 ... 17, 18, 19  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group