Author |
Message |
Topic: Relocating ISRs to beyond 0x20000 |
powerpurzel
Replies: 11
Views: 10685
|
Forum: General CCS C Discussion Posted: Tue Jul 26, 2005 10:27 am Subject: Relocating ISRs to beyond 0x20000 |
Okay, thanks anyway.
The code I posted was a "user program" which is started from the loader by a goto, so I left the fuses away since the config registers are not changed.
Currently I'm doing som ... |
Topic: Relocating ISRs to beyond 0x20000 |
powerpurzel
Replies: 11
Views: 10685
|
Forum: General CCS C Discussion Posted: Sun Jul 24, 2005 3:10 pm Subject: Relocating ISRs to beyond 0x20000 |
Thanks again.
Below you see my very simple test program.
The compiler still complains about the "default" keyword with the "invalid ORG range" message.
I used the device editor as you said. ... |
Topic: Relocating ISRs to beyond 0x20000 |
powerpurzel
Replies: 11
Views: 10685
|
Forum: General CCS C Discussion Posted: Sun Jul 24, 2005 11:48 am Subject: Relocating ISRs to beyond 0x20000 |
thanks for your replies!
@asmallri
Yeah, the second-layer-method will probably work well although a big overhead for interrupt handling is still needed. I will try this within the next days...
... |
Topic: Relocating ISRs to beyond 0x20000 |
powerpurzel
Replies: 11
Views: 10685
|
Forum: General CCS C Discussion Posted: Sun Jul 24, 2005 4:01 am Subject: Relocating ISRs to beyond 0x20000 |
Hi!
when having few ISRs, this would be a good solution!
But the problem is that I will need a stub for EVERY interrupt and the location of the handler bodies has to be at exactly the same memory ... |
Topic: Relocating ISRs to beyond 0x20000 |
powerpurzel
Replies: 11
Views: 10685
|
Forum: General CCS C Discussion Posted: Sat Jul 23, 2005 12:37 pm Subject: Relocating ISRs to beyond 0x20000 |
Hi all!
In my current application I have a 18F8720 wired with 2x 128kByte SRAMs. As the PIC is used in extended MC-mode, the SRAM memory-address starts at 0x20000.
Most executable code and the in ... |
Topic: detect a timer overflow during ISR execution |
powerpurzel
Replies: 5
Views: 12929
|
Forum: General CCS C Discussion Posted: Fri Jul 23, 2004 6:49 pm Subject: detect a timer overflow during ISR execution |
okay, I'll try the thing with clearing the flag after processing it tomorrow.
btw:
counter*=65536 and counter<<=16 produce exactly the same code, so I kept this for better readability ('caus ... |
|