Author |
Message |
Topic: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
Coffee
Replies: 7
Views: 11956
|
Forum: General CCS C Discussion Posted: Fri Sep 25, 2015 3:41 pm Subject: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
Point taken RF_Developer. My designs run in high ESD environments and I have similar experiences as you described. But, requirements are requirements and the regulatory folks are more comfortable wi ... |
Topic: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
Coffee
Replies: 7
Views: 11956
|
Forum: General CCS C Discussion Posted: Thu Sep 24, 2015 1:09 pm Subject: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
With these schemes, its important to implement a restart_cause check to determine why the processor restarted and act accordingly. If the PIC does by some near-miracle execute the NOPS or whatever (an ... |
Topic: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
Coffee
Replies: 7
Views: 11956
|
Forum: General CCS C Discussion Posted: Thu Sep 24, 2015 8:40 am Subject: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
Problem with both, is that they don't guarantee that the stack is re-balanced. Assuming the code has gone wrong, the stack could be half full, and then the 'main' code could get a stack overflow later ... |
Topic: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
Coffee
Replies: 7
Views: 11956
|
Forum: General CCS C Discussion Posted: Thu Sep 24, 2015 7:52 am Subject: Failure Mode in Unused Code Space with FILL_ROM and CHECKSUM |
I'm using a PIC18LF8722 with Version 5.049 compiler.
My requirements are that upon detection of a failure, the system shuts down.
I'm looking at unused code space and want to control the situati ... |
Topic: FILL_ROM and Checksum bug not fixed |
Coffee
Replies: 1
Views: 5499
|
Forum: General CCS C Discussion Posted: Tue Sep 22, 2015 8:20 am Subject: More Info on Fill_ROM / Checksum Problem |
The on-line release notes are as follows:
" 5.046 A wrong checksum in "#ID checksum" when using #fill_rom is fixed"
That may not be exactly what I'm finding.
The checksum t ... |
Topic: FILL_ROM and Checksum bug not fixed |
Coffee
Replies: 1
Views: 5499
|
Forum: General CCS C Discussion Posted: Mon Sep 21, 2015 11:17 am Subject: FILL_ROM and Checksum bug not fixed |
I'm using PCH compiler version 5.049 with a PIC18LF8722.
At the beginning, I'm using the checksum algorithm provided in the ex_checksum.c file for the PCH.
The code below shows a snippit of my main ... |
Topic: MCU Projects and IMPORT Directive Limitation |
Coffee
Replies: 0
Views: 3639
|
Forum: General CCS C Discussion Posted: Wed Apr 15, 2015 9:41 am Subject: MCU Projects and IMPORT Directive Limitation |
I’ve come across a limitation of the CCS compiler that is giving me some problems in a Multiple Compilation Unit (MCU) architecture.
I have two files: foo.c and fee.c
I can successfully “li ... |
Topic: Debugger - Breakpoint issue |
Coffee
Replies: 7
Views: 20923
|
Forum: General CCS C Discussion Posted: Thu Feb 19, 2015 10:43 am Subject: Re: same problem |
I came across your questions... you probably have already resolved your problem. However, I did not see a resolution posted on the forums.
Check to see if you have the directive #nolist in your *. ... |
Topic: PIC18F8722 SPI Port using Timer2 |
Coffee
Replies: 0
Views: 21499
|
Forum: Code Library Posted: Tue Feb 10, 2015 3:31 pm Subject: PIC18F8722 SPI Port using Timer2 |
I'm posting this little test program because I couldn't find anything that dealt with my situation specifically. I found a couple of erratas that concerned me about using Timer2 for a SPI port clock. ... |
|