Author |
Message |
Topic: Aligning a Function in Memory |
kthomas
Replies: 4
Views: 4038
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 1:57 pm Subject: Aligning a Function in Memory |
You got me going down the right path, thanks. |
Topic: Aligning a Function in Memory |
kthomas
Replies: 4
Views: 4038
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 1:36 pm Subject: Aligning a Function in Memory |
Thanks. That got me thinking of another solution. Just use a #rom to fill the entire area with NOPs and stick the sleep opcode at the end. Basically what you're doing without the need of writing a fu ... |
Topic: Aligning a Function in Memory |
kthomas
Replies: 4
Views: 4038
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 11:09 am Subject: Aligning a Function in Memory |
I am trying to use a #org statement to place a function in the last row of program memory. Specifically, I want to make a sleep statement the very last instruction in program memory.
However, the ... |
Topic: AN1310 High-Speed Bootloader for PIC16 and PIC18 with CCS |
kthomas
Replies: 2
Views: 5127
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 5:55 pm Subject: AN1310 High-Speed Bootloader for PIC16 and PIC18 with CCS |
I'm not familiar with that bootloader, but I've used the following to locate a bootloader at the top of memory on a dsPIC, with the application below. In this case the bootloader and application are t ... |
Topic: Table Page and Table Offset |
kthomas
Replies: 0
Views: 1828
|
Forum: General CCS C Discussion Posted: Wed Jul 07, 2010 2:11 pm Subject: Table Page and Table Offset |
I am trying to implement an errata fix for the dsPIC30F5011 (Item 16 in the dsPIC30F5011 errata) but the example is written in ASM30. The errata says to do the following (loading a new return address ... |
|