Author |
Message |
Topic: Computed branch |
laser_scientist
Replies: 5
Views: 9248
|
Forum: General CCS C Discussion Posted: Mon Dec 22, 2014 7:23 am Subject: Computed branch |
Ttelmah, you're absolutely right about the reference. I was going by the device datasheet (70616g.pdf), where on page 488, they do have the BRA Wn instruction listed. I'm guessing that the assembly re ... |
Topic: Computed branch |
laser_scientist
Replies: 5
Views: 9248
|
Forum: General CCS C Discussion Posted: Sun Dec 21, 2014 4:11 pm Subject: Computed branch |
Hello,
I am using a PIC24EP512GP806, trying to do an efficient computed branch using the BRA Wd instruction via some assembly code (below). However, CCS chokes on this instruction, giving an " ... |
Topic: write_program_memory doesn't work on dsPIC33EP [solved] |
laser_scientist
Replies: 2
Views: 6914
|
Forum: General CCS C Discussion Posted: Wed Sep 25, 2013 2:02 pm Subject: Problem is in MPLAB |
Found the problem. Apparently MPLAB SIM doesn't implement TBLWTx commands properly. I was trying to simulate the program before testing in hardware. The hardware worked. The simulation didn't... |
Topic: write_program_memory doesn't work on dsPIC33EP [solved] |
laser_scientist
Replies: 2
Views: 6914
|
Forum: General CCS C Discussion Posted: Wed Sep 25, 2013 12:37 pm Subject: write_program_memory doesn't work on dsPIC33EP [solved] |
Hello,
I am trying to use the write_program_memory() function on a dsPIC33EPMU806, and can't seem to get it to work. I have a simple program for testing (below). I've tried changing the buffer all ... |
Topic: Attempt to locate function with #org hangs compiler |
laser_scientist
Replies: 2
Views: 5554
|
Forum: General CCS C Discussion Posted: Mon Sep 23, 2013 9:19 am Subject: Attempt to locate function with #org hangs compiler |
Hello,
I am trying to locate a function stub at a specific location on a dsPIC33EP256MU806 and CCS compiler version 5.011. I have run into a number of issues, but now I am at the point where the p ... |
Topic: Program memory size issue on 18F14K50? |
laser_scientist
Replies: 2
Views: 5072
|
Forum: General CCS C Discussion Posted: Wed Jun 26, 2013 1:42 pm Subject: Program memory size issue on 18F14K50? |
That was absolutely right, and it fixed the problem immediately! Thank you.
To answer your question, I am using the PICKit2, which appears to reserve about 5% of the (16K) memory on the 18F14K50 i ... |
Topic: Program memory size issue on 18F14K50? |
laser_scientist
Replies: 2
Views: 5072
|
Forum: General CCS C Discussion Posted: Wed Jun 26, 2013 12:10 pm Subject: Program memory size issue on 18F14K50? |
Hi,
I have been running into an Out of ROM issue with the 18F14K50, and I finally figured out that the compiler seems to think the memory goes up to 0x3CBF, rather than 0x3FFF. I verified this by ... |
|