Author |
Message |
Topic: #PIN_SELECT changed in V4.125 |
miketwo
Replies: 9
Views: 11272
|
Forum: General CCS C Discussion Posted: Mon Nov 07, 2011 7:49 pm Subject: #PIN_SELECT changed in V4.125 |
And probably the next... They usually send you a free update when you report a bug like this..
I wanna know who you guys are talking to, cause I've never received good customer service from th ... |
Topic: #PIN_SELECT changed in V4.125 |
miketwo
Replies: 9
Views: 11272
|
Forum: General CCS C Discussion Posted: Mon Nov 07, 2011 5:16 pm Subject: #PIN_SELECT changed in V4.125 |
I take it back. I am pulling my hair out.
Even with the spaces change, there seems to be something wrong with the PIN_SELECTs. I reverted to an older PCD version, and my I/O works -- with the newe ... |
Topic: #PIN_SELECT changed in V4.125 |
miketwo
Replies: 9
Views: 11272
|
Forum: General CCS C Discussion Posted: Mon Nov 07, 2011 4:18 pm Subject: #PIN_SELECT changed in V4.125 |
Thank you, I was about to pull my hair out.
Now I'm just cursing as I remove all tabs everywhere... it's slightly less stressful. |
Topic: SPI #use spi() |
miketwo
Replies: 17
Views: 45069
|
Forum: General CCS C Discussion Posted: Mon Nov 07, 2011 3:39 pm Subject: SPI #use spi() |
Not sure if this will help, but this is the code I use to change spi settings between calls to my flash and my gyro. This is all on a PIC24FJ256GA110, but it should be similar to yours:
ReturnEr ... |
Topic: Default Parameters in Functions |
miketwo
Replies: 2
Views: 5328
|
Forum: General CCS C Discussion Posted: Mon Nov 07, 2011 3:32 pm Subject: Default Parameters in Functions |
Hello everyone.
First, the versions and such:
-- PCD compiler v4.125 (recently updated from 4.124)
-- MPLAB version 8.80 (recently updated from 8.60)
-- Suite_CCSPic plugin (MPLAB plugin connect ... |
Topic: rs232 issue |
miketwo
Replies: 22
Views: 22855
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2011 11:38 am Subject: rs232 issue |
I managed to fix mine too. The key? Enable the interrupts BEFORE using setup_uart(), so they're ready to go as soon as the floodgates are open. |
Topic: PIC24FJ256GB110 SPI Problem ! |
miketwo
Replies: 3
Views: 6587
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2011 11:25 am Subject: PIC24FJ256GB110 SPI Problem ! |
I'm not an expert by any stretch, but I've messed around with SPI stuff before.
It seems like you're mixing and matching different methods. You have some #pin_selects, but no setup_spi(). And yo ... |
Topic: rs232 issue |
miketwo
Replies: 22
Views: 22855
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2011 1:34 pm Subject: rs232 issue |
FWIW, I've experienced a similar problem to the original poster.
I have 2 PIC24F processors hooked up to each other over UART, and the communications between them is seemingly rock-solid with one e ... |
Topic: promotion of literals when compared to a object of type char |
miketwo
Replies: 9
Views: 17064
|
Forum: General CCS C Discussion Posted: Wed Aug 10, 2011 2:01 pm Subject: promotion of literals when compared to a object of type char |
I'm not much of an assembly guy, but I think I've run across the same problem. When I try to compare a char to the hex literal 0xff, it comes back false when it should be true. Ditto for anything wi ... |
Topic: PCD Compiler Manual diff between versions? |
miketwo
Replies: 0
Views: 4188
|
Forum: General CCS C Discussion Posted: Wed Jul 20, 2011 1:54 pm Subject: PCD Compiler Manual diff between versions? |
Hey everyone,
I'm trying to find an easy way to look at the differences between versions of PCD Manuals. I'm using WinMerge with xdocdiff, which is better than a side-by-side visual comparison, bu ... |
Topic: PCD: Help from someone who knows assembly? |
miketwo
Replies: 5
Views: 6161
|
Forum: General CCS C Discussion Posted: Wed Sep 29, 2010 2:15 pm Subject: PCD: Help from someone who knows assembly? |
Thanks so much FvM, especially for the descriptions of what conditions would cause a reboot. That explains why it would run for a little while "correctly."
I just submitted a bug repor ... |
Topic: PCD: Help from someone who knows assembly? |
miketwo
Replies: 5
Views: 6161
|
Forum: General CCS C Discussion Posted: Wed Sep 29, 2010 1:54 pm Subject: PCD: Help from someone who knows assembly? |
Thanks for the responses guys. PCD version is 4.111, the PIC is a 24FJ256GA110.
FvM, you are correct -- the negation does not happen correctly. I think this leads to a math-error-induced reboot i ... |
Topic: PCD: Help from someone who knows assembly? |
miketwo
Replies: 5
Views: 6161
|
Forum: General CCS C Discussion Posted: Tue Sep 28, 2010 5:03 pm Subject: PCD: Help from someone who knows assembly? |
My program was going through reboots for no apparent reason, and after a LOT of debugging I was able to narrow it down to a single line.
Y->Omega_LV_ECI_LV_y = -Compute_Omega_LV_ECI_LV_41_1;
... |
Topic: Write to 0x00 erases memory? |
miketwo
Replies: 7
Views: 10112
|
Forum: General CCS C Discussion Posted: Fri Sep 17, 2010 10:19 am Subject: Write to 0x00 erases memory? |
Well, its not that old. Closer to 4 months.
Hah. Whoops. I think it was a long day for me.
What is your exact problem?
And which compiler version are you using?
Also read ...
Thank you, tha ... |
Topic: Bootloader philosophical question |
miketwo
Replies: 2
Views: 8219
|
Forum: General CCS C Discussion Posted: Thu Sep 16, 2010 4:08 pm Subject: Bootloader philosophical question |
Thanks to this forum and CCS's example files, I've been able to write a bootloader for the PIC24FJ256GA110. Woohoo!
My bootloader reads a hex file from external flash and writes that into the PICs ... |
|