Author |
Message |
Topic: CDC USB crashes upon printing numbers ( PIC24, PCD ) |
Rogier
Replies: 12
Views: 46329
|
Forum: General CCS C Discussion Posted: Wed Jan 19, 2022 1:09 am Subject: Re: possible solution! For me too |
Hi Gary
Try adding #build (stack=256) after the fuses. It seems to have alleviated the problem in the one quick test I have done - fingers crossed!
Let me know how you get on! Thanks for everyon ... |
Topic: ex_usb_serial2.c with 24JF64GB002 but NOT with 24JF128GB202 |
Rogier
Replies: 5
Views: 16968
|
Forum: General CCS C Discussion Posted: Wed Dec 01, 2021 9:55 am Subject: ex_usb_serial2.c with 24JF64GB002 but NOT with 24JF128GB202 |
Yes, and it seems that for using the PIC's USB as a device I have to use the VBUS pin (or at least make it permanently high) and I cannot use it for for RP6/CN24/RB6 function...
|
Topic: ex_usb_serial2.c with 24JF64GB002 but NOT with 24JF128GB202 |
Rogier
Replies: 5
Views: 16968
|
Forum: General CCS C Discussion Posted: Wed Dec 01, 2021 2:29 am Subject: ex_usb_serial2.c with 24JF64GB002 but NOT with 24JF128GB202 |
Thanks for your reply
I checked the schematics earlier this morning and it has something to do with the Vbus pin.
I use the SOIC package.
Pin 15 of the 24JF64GB002 is the Vbus pin, this is con ... |
Topic: ex_usb_serial2.c with 24JF64GB002 but NOT with 24JF128GB202 |
Rogier
Replies: 5
Views: 16968
|
Forum: General CCS C Discussion Posted: Tue Nov 30, 2021 12:20 pm Subject: ex_usb_serial2.c with 24JF64GB002 but NOT with 24JF128GB202 |
I work with USB with 18F etc for years, but now I have a project with a PIC24FJ128GB202 were I want to use an USB thumbdrive bootloader to upload a hex file. But this is a complete other topic. And it ... |
Topic: Original CDC USB bootloader will not compile PIC16F1459 |
Rogier
Replies: 3
Views: 10830
|
Forum: General CCS C Discussion Posted: Thu Mar 23, 2017 4:09 pm Subject: Original CDC USB bootloader will not compile PIC16F1459 |
Thanks PCM programmer for testing.
Interesting... Does it mean that it's simply not possible to compile with earlier versions? So I have to upgrade to newest version? |
Topic: Original CDC USB bootloader will not compile PIC16F1459 |
Rogier
Replies: 3
Views: 10830
|
Forum: General CCS C Discussion Posted: Wed Mar 22, 2017 7:24 pm Subject: Original CDC USB bootloader will not compile PIC16F1459 |
Hi,
I use the USB CDC Bootloader a lot on PIC18, but I'm new to the PIC16F1459. I wanted to compile the USB CDC bootloader for it, so I started to compile it for a development kit (USB_HW_CCS_16F14 ... |
Topic: RFM73 problem |
Rogier
Replies: 6
Views: 31133
|
Forum: General CCS C Discussion Posted: Wed May 04, 2016 9:52 am Subject: RFM73 problem |
You are right about that.
I used the RFM sofware earlier on old Hitech compiler, use of STATUS gave some errors. It works on CCS. |
Topic: RFM73 problem |
Rogier
Replies: 6
Views: 31133
|
Forum: General CCS C Discussion Posted: Tue May 03, 2016 3:22 am Subject: RFM73 problem |
Thanks @PCM programmer
- The story about 'long' and int32 did the trick for me, therefore I always use ( unsigned) INT1/8/16/32, that's clear for everybody!
- notice in the RFM source code of th ... |
Topic: EM4095 library can not run with PIC18F??? |
Rogier
Replies: 4
Views: 10261
|
Forum: General CCS C Discussion Posted: Thu May 08, 2014 3:25 pm Subject: EM4095 library can not run with PIC18F??? |
Thanks for your reply. As far as I know the used pins of PIC18F14k50 connected to EM4095 has the following functions:
DEMOD_OUT = RC5/CCP1/P1A/T0CKI
I used this in software:
SET_TRIS_c(0b01 ... |
Topic: EM4095 library can not run with PIC18F??? |
Rogier
Replies: 4
Views: 10261
|
Forum: General CCS C Discussion Posted: Thu May 08, 2014 2:45 am Subject: EM4095 library can not run with PIC18F??? |
I have the same problem. I have used the EM4095 application on many PIC16F devices. Usually on 16Mhz internal RC. Works great.
Now I ported this to a PIC18F14K50 without success.
Used 16Mhz, 48Mhz ... |
Topic: PIC24 INT_RDA does not work |
Rogier
Replies: 10
Views: 10286
|
Forum: General CCS C Discussion Posted: Sun Feb 26, 2012 12:06 pm Subject: PIC24 INT_RDA does not work |
Even when fill in another stream name it still doesn't work. I do it manually now and it works ok!
Here the SFR for the other UARTS of the PIC24FJ64GB106:
#word U1STA = 0x0222 // SFR
#wo ... |
Topic: PIC24 INT_RDA does not work |
Rogier
Replies: 10
Views: 10286
|
Forum: General CCS C Discussion Posted: Sun Feb 26, 2012 4:22 am Subject: PIC24 INT_RDA does not work |
I have the same problems with a PIC24 with a CCS version 4.104. I think there is a bug in the kbhit command when using hardware UART. When I set FORCE_SW it works.
I found out in the disassembly l ... |
|