Author |
Message |
Topic: PIC24FJ256GB406 - ICD-U64 programming error |
MikeP
Replies: 19
Views: 35994
|
Forum: General CCS C Discussion Posted: Fri Nov 11, 2016 6:09 pm Subject: PIC24FJ256GB406 - ICD-U64 programming error |
Is your problem fixed? |
Topic: PIC24FJ256GB406 - ICD-U64 programming error |
MikeP
Replies: 19
Views: 35994
|
Forum: General CCS C Discussion Posted: Fri Nov 04, 2016 3:18 pm Subject: PIC24FJ256GB406 - ICD-U64 programming error |
I have support request in with CCS right now with the same issues with most of the PIC24 chips I am trying to use. All are failing to verify.
PIC24EP64GB202
PIC24EP512GU810
PIC24FJ128GA010
I ... |
Topic: DSPIC33EP512GP806 clock setup question |
MikeP
Replies: 9
Views: 13332
|
Forum: General CCS C Discussion Posted: Thu Jun 26, 2014 11:45 pm Subject: DSPIC33EP512GP806 clock setup question |
#use delay(xtal=10m, clock=40Mhz)
Not sure if the PLL can up the xtal by 14x? |
Topic: 16F877A Working Slow( Newbie to CCS and circuits in general) |
MikeP
Replies: 3
Views: 6144
|
Forum: General CCS C Discussion Posted: Thu Jun 26, 2014 11:08 pm Subject: 16F877A Working Slow( Newbie to CCS and circuits in general) |
#use delay(clock=20000000)
I see that your #fuse line is commented out I don't think the clock option will set the HS fuse
The clock option in #use delay should only be used with xtal o ... |
Topic: USB to GLCD project |
MikeP
Replies: 4
Views: 47299
|
Forum: Code Library Posted: Mon May 19, 2014 9:23 am Subject: USB to GLCD project |
No SPI support ATM this time. It would be easy to add. Do you have working drivers for the display?
Do you have a url with info on the display you have? |
Topic: USB to GLCD project |
MikeP
Replies: 4
Views: 47299
|
Forum: Code Library Posted: Tue Jun 04, 2013 4:14 pm Subject: USB to GLCD project |
Project updated for ILI932x based Color GLCDs
Video file added that shows what the LuaLCD program shows on the display when it is running |
Topic: Text draw speed |
MikeP
Replies: 3
Views: 6337
|
Forum: General CCS C Discussion Posted: Mon May 27, 2013 12:46 pm Subject: Text draw speed |
You may be on to something there.
Read all of the font data in for the current row and write them as a bitmap could maybe equal up to a 50% speed up.
draw bitmap 16bit color full screen from USB ... |
Topic: TFT Display Driver - PIC 18F4550 |
MikeP
Replies: 28
Views: 66022
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 5:03 pm Subject: TFT Display Driver - PIC 18F4550 |
Yes, That would be my guess if your wiring matches my defines I posted in the readid() test. |
Topic: Text draw speed |
MikeP
Replies: 3
Views: 6337
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 1:17 pm Subject: Text draw speed |
Using this Color TFT display
// standard ascii 5x7 font
const unsigned char font[] = { // size is 1275
0x00, 0x00, 0x00, 0x00, 0x00,
0x3E, 0x5B, 0x4F, 0x5B, 0x3E,
... |
Topic: TFT Display Driver - PIC 18F4550 |
MikeP
Replies: 28
Views: 66022
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 11:43 am Subject: TFT Display Driver - PIC 18F4550 |
My full driver for my picUSBtoGLCD runs using
#fuses NOWDT,NOPROTECT,NOLVP,NODEBUG,VREGEN,PUT
#use delay(crystal=20M, clock=48M, USB_FULL)
What version of CCS C do you have?
I ca ... |
Topic: TFT Display Driver - PIC 18F4550 |
MikeP
Replies: 28
Views: 66022
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 12:24 am Subject: TFT Display Driver - PIC 18F4550 |
Is that GLCD 5V safe? The PIC is outputting 5V to it. |
Topic: TFT Display Driver - PIC 18F4550 |
MikeP
Replies: 28
Views: 66022
|
Forum: General CCS C Discussion Posted: Sat May 25, 2013 11:04 pm Subject: TFT Display Driver - PIC 18F4550 |
Disconnect DB0-7 from ground when the pic gets to the while line not before.
You should still get the 0x9300 out of it. Then measure pins d0-d7.
You need to leave them connect to ground so the wri ... |
Topic: TFT Display Driver - PIC 18F4550 |
MikeP
Replies: 28
Views: 66022
|
Forum: General CCS C Discussion Posted: Sat May 25, 2013 8:52 pm Subject: TFT Display Driver - PIC 18F4550 |
I cant get the page for your GLCD to load to look at the info on it
It seems to be in 16bit mode, does it default to that mode? What I remember from the quick look I give it the other day you had ... |
Topic: TFT Display Driver - PIC 18F4550 |
MikeP
Replies: 28
Views: 66022
|
Forum: General CCS C Discussion Posted: Fri May 24, 2013 7:49 pm Subject: TFT Display Driver - PIC 18F4550 |
Yes this could be a timing issue. I will think about that more if the following code for you doesn't work. I know this code that I am posting is working I just tested it 2 times once without commentin ... |
Topic: TFT Display Driver - PIC 18F4550 |
MikeP
Replies: 28
Views: 66022
|
Forum: General CCS C Discussion Posted: Fri May 24, 2013 3:13 pm Subject: TFT Display Driver - PIC 18F4550 |
sorry I forgot something, I set port to all output in my glcd_init function.
Do a SET_TRIS_B( 0x00 );
somewhere in your main before calling readID.
I think the tris defaults to 0xFF which is ... |
|