Author |
Message |
Topic: TRAP Memory Error issue in dsPIC33EP256GP504 |
Vinod.chinthoti
Replies: 3
Views: 2473
|
Forum: General CCS C Discussion Posted: Fri Aug 02, 2024 3:04 am Subject: TRAP Memory Error issue in dsPIC33EP256GP504 |
The first one.
If you use FAST, you only need to subtract 2.
Remember it is the instruction in front of this address where the problem
has occurred.
Okay, Thank you.
RegMeasuredValue1 is a st ... |
Topic: TRAP Memory Error issue in dsPIC33EP256GP504 |
Vinod.chinthoti
Replies: 3
Views: 2473
|
Forum: General CCS C Discussion Posted: Thu Aug 01, 2024 10:52 pm Subject: TRAP Memory Error issue in dsPIC33EP256GP504 |
Hi all,
I used the below code to check where the Memory Trap occurred in the code
compiler version:- CCS V5.117 & MPLAB IDE 8.92
#INT_ADDRERR
void ADDRERR_isr(void)
{
char u8PrintBuffer& ... |
Topic: Program for the stack depth analysis for dSPIC33EP256 |
Vinod.chinthoti
Replies: 12
Views: 5639
|
Forum: General CCS C Discussion Posted: Thu Jul 11, 2024 7:56 am Subject: Program for the stack depth analysis for dSPIC33EP256 |
Yes, and very low voltage.
The SRAM will retain it's contents down to very close to 1v. Once the
processor actually 'stops', a capacitor on the supply rail can hold the
SRAM contents for many mi ... |
Topic: Program for the stack depth analysis for dSPIC33EP256 |
Vinod.chinthoti
Replies: 12
Views: 5639
|
Forum: General CCS C Discussion Posted: Wed Jul 03, 2024 6:44 am Subject: Program for the stack depth analysis for dSPIC33EP256 |
OK.
The stack is at the _top_ of the RAM, not the bottom.
What is happening, is that when the stack overflows it is overwriting
the variables adjacent to it. The later compiler will be using mor ... |
Topic: Program for the stack depth analysis for dSPIC33EP256 |
Vinod.chinthoti
Replies: 12
Views: 5639
|
Forum: General CCS C Discussion Posted: Tue Jul 02, 2024 12:59 am Subject: Program for the stack depth analysis for dSPIC33EP256 |
OK.
So first thing, what compiler version?
What does the stack data at the top of the listing say?.
Variables?.
These are not stored on the stack, except when being passed to/from a
function. ... |
Topic: Program for the stack depth analysis for dSPIC33EP256 |
Vinod.chinthoti
Replies: 12
Views: 5639
|
Forum: General CCS C Discussion Posted: Tue Jul 02, 2024 12:58 am Subject: Program for the stack depth analysis for dSPIC33EP256 |
OK.
So first thing, what compiler version?
What does the stack data at the top of the listing say?.
Variables?.
These are not stored on the stack, except when being passed to/from a
function. ... |
Topic: Program for the stack depth analysis for dSPIC33EP256 |
Vinod.chinthoti
Replies: 12
Views: 5639
|
Forum: General CCS C Discussion Posted: Mon Jul 01, 2024 5:04 am Subject: Program for the stack depth analysis for dSPIC33EP256 |
Just look at the listing file. Tells you the stack usage. Nothing else is
needed.
The stack is normally towards the top of RAM, but often chip limitations
mean it cannot be.be right at the top. Yo ... |
Topic: Program for the stack depth analysis for dSPIC33EP256 |
Vinod.chinthoti
Replies: 12
Views: 5639
|
Forum: General CCS C Discussion Posted: Mon Jul 01, 2024 1:03 am Subject: Program for the stack depth analysis for dSPIC33EP256 |
Hi,
I am looking for a program to analyze the stack depth of my program.
one question Is stack created at the staring of RAM location or ending? |
Topic: Difference between CCS V5.007 & V5.117 compilers |
Vinod.chinthoti
Replies: 4
Views: 3589
|
Forum: General CCS C Discussion Posted: Mon Jul 01, 2024 12:55 am Subject: Difference between CCS V5.007 & V5.117 compilers |
@Ttelmah, @dyeatman, , @temtronic thanks for response. Now I got it.
one question Is stack created at the starting of the RAM location or ending with CCS? |
Topic: Difference between CCS V5.007 & V5.117 compilers |
Vinod.chinthoti
Replies: 4
Views: 3589
|
Forum: General CCS C Discussion Posted: Fri Jun 28, 2024 1:07 am Subject: Difference between CCS V5.007 & V5.117 compilers |
Hi,
I am using the CCS V5.117 compiler in MPLAB IDE.
Can you please summarize the difference between CCS V5.007 vs V5.117? I couldn’t find it on your website.
My code is behaving ... |
|