Author |
Message |
Topic: PIC18F14k22 and fuses |
jaka
Replies: 4
Views: 1008
|
Forum: General CCS C Discussion Posted: Thu Nov 21, 2024 4:29 am Subject: PIC18F14k22 and fuses |
The only way to have a chip that can be programmed only once, is to have a OTP chip. Current PIC's are not OTP.
The relatively new 18F Q24 family has some OTP config bits, including ICSPDIS. If yo ... |
Topic: [SOLVED] PIC18F26K83 I2C slave problem |
jaka
Replies: 15
Views: 53884
|
Forum: General CCS C Discussion Posted: Fri Apr 15, 2022 7:41 am Subject: [SOLVED] PIC18F26K83 I2C slave problem |
Thank you jaka for the detailed response.
I'm using PIC18LF25K42 with I2C interrupt mode.
Clearing CSTR bit does help when non-matching slave address is used. Both SCL and SDA are high if I clear ... |
Topic: [SOLVED] PIC18F26K83 I2C slave problem |
jaka
Replies: 15
Views: 53884
|
Forum: General CCS C Discussion Posted: Fri Apr 15, 2022 6:07 am Subject: [SOLVED] PIC18F26K83 I2C slave problem |
Honestly a polled I2C slave is never reliable. Unless you are sitting in a tight
loop to do the polling, you may well simply exceed the time that the master
allows between I2C_start, and the followi ... |
Topic: [SOLVED] PIC18F26K83 I2C slave problem |
jaka
Replies: 15
Views: 53884
|
Forum: General CCS C Discussion Posted: Thu Apr 14, 2022 12:31 am Subject: [SOLVED] PIC18F26K83 I2C slave problem |
Are you using PIC18F26K83 also, or some other chip? Are you using the I2C slave with interrupts or in polling mode?
Even though I reported that compiler version 5.097 fixes the problem, there were ... |
Topic: USB GamePad with PIC18F4550 |
jaka
Replies: 69
Views: 162142
|
Forum: General CCS C Discussion Posted: Tue Mar 29, 2022 9:08 am Subject: USB GamePad with PIC18F4550 |
If you plan to use a matrix to connect a lot of buttons, note that you need to add diodes for each switch. Otherwise you will see 'ghosting' effect when pressing down multiple buttons.
FYI, I have ... |
Topic: Programmer opinion request : Solved |
jaka
Replies: 29
Views: 95132
|
Forum: General CCS C Discussion Posted: Wed Feb 16, 2022 2:03 pm Subject: Programmer opinion request : Solved |
You can use PICkit2 or PICkit3 to program 16F18323 and 16F18324, with my free [url=http://kair.us/projects/pickitminus/]PICkit- software. |
Topic: PICkit minus stand-alone software for PICkit2 & 3 |
jaka
Replies: 1
Views: 13292
|
Forum: General CCS C Discussion Posted: Wed Dec 15, 2021 1:48 pm Subject: PICkit minus stand-alone software for PICkit2 & 3 |
Hi all,
I would like to present my hobby project I have been working on for the last 6 months. I already mentioned it briefly in another thread, but decided to post a separate thread to get better ... |
Topic: Quitting MplabX |
jaka
Replies: 24
Views: 61766
|
Forum: General CCS C Discussion Posted: Tue Nov 23, 2021 11:57 pm Subject: Quitting MplabX |
Right now, I'm in the throes of a large project that's also time sensitive (aren't they all?), so I'll stick with my slightly clunky setup THAT WORKS! I'll get elegant with it by using your suggestion ... |
Topic: Quitting MplabX |
jaka
Replies: 24
Views: 61766
|
Forum: General CCS C Discussion Posted: Tue Nov 23, 2021 10:19 am Subject: Quitting MplabX |
Your life will get even more simple if you use ICD3 directly from MPLAB 8.92.
In short, you need to:
- Use driver switcher to switch ICD3 to use MPLAB 8
- Downgrade ICD3 firmware in MPLAB by uplo ... |
Topic: Quitting MplabX |
jaka
Replies: 24
Views: 61766
|
Forum: General CCS C Discussion Posted: Mon Nov 22, 2021 9:23 am Subject: Quitting MplabX |
I always use MPLAB 8.92, if the PIC is supported by it. I use ICD3, which has a big sticker on it "MPLAB 8.92". This is to prevent accidental exposure to MPLAB-X IPE which I sometimes need t ... |
Topic: Compiler command line v5.098 problem? |
jaka
Replies: 24
Views: 55123
|
Forum: General CCS C Discussion Posted: Thu Jan 07, 2021 12:10 am Subject: Compiler command line v5.098 problem? |
5.099 is just released. I tested it, and I am getting exactly same .hex output as with 5.097 on my current project.
So it seems that the optimization bug appeared in 5.098 is fixed. |
Topic: Compiler command line v5.098 problem? |
jaka
Replies: 24
Views: 55123
|
Forum: General CCS C Discussion Posted: Mon Dec 28, 2020 7:02 am Subject: Compiler command line v5.098 problem? |
I am seeing similar things happening. All branches on 5.097 are changed to gotos on 5.098. And my program is small. ROM usage increased from 1178 bytes to 1390, that's 18% increase. This in on 18F26K8 ... |
Topic: Thinking of Buying PCWH(D) |
jaka
Replies: 8
Views: 21499
|
Forum: General CCS C Discussion Posted: Sat Dec 12, 2020 9:37 am Subject: Thinking of Buying PCWH(D) |
2) I have ICD-U80 but have been thinking of getting U64 to see if it would work better. The U80 programs pretty fast, but quite often it goes to mode where it takes up to one minute to program a small ... |
Topic: CMOS & TTL |
jaka
Replies: 6
Views: 20950
|
Forum: General CCS C Discussion Posted: Sat Dec 12, 2020 9:17 am Subject: CMOS & TTL |
Also, on newer PIC devices you can select the input levels of each pin separately to ST or TTL. CCS has function set_input_level_x() for this. |
Topic: 18F4550 USB RE3 sensitive |
jaka
Replies: 19
Views: 45048
|
Forum: General CCS C Discussion Posted: Sat Nov 28, 2020 7:04 am Subject: 18F4550 USB RE3 sensitive |
This is clever solution to the problem.
The root cause of problem is that the RE3 pin doesn't have the internal ESD protection diode clamp to VDD, like all other pins have. This is because the RE3 ... |
|