Author |
Message |
Topic: Debug PIC18F16Q40 with MPlab SNAP programmer |
mengtashou103
Replies: 7
Views: 238
|
Forum: General CCS C Discussion Posted: Wed Jan 22, 2025 4:35 pm Subject: Debug PIC18F16Q40 with MPlab SNAP programmer |
Seems like the problem was solved now.
As I mentioned in the previous post, the config bit of LVP was automatically set to disabled in CCS when it compiled for debugging purposes.
This setting coul ... |
Topic: Debug PIC18F16Q40 with MPlab SNAP programmer |
mengtashou103
Replies: 7
Views: 238
|
Forum: General CCS C Discussion Posted: Mon Jan 20, 2025 7:00 pm Subject: Debug PIC18F16Q40 with MPlab SNAP programmer |
curious, I downloaded the datasheet. have a read of ICSP programming (chapter 43 ? )
I've never used LVP in 2 decades...is it a 'SNAP' requirement ?
edit: OK, found out SNAP is ONLY LVP.....
... |
Topic: Debug PIC18F16Q40 with MPlab SNAP programmer |
mengtashou103
Replies: 7
Views: 238
|
Forum: General CCS C Discussion Posted: Mon Jan 20, 2025 2:51 pm Subject: Debug PIC18F16Q40 with MPlab SNAP programmer |
#include <18F16Q40.h>
#include <stdio.h>
#include <stdlib.h>
#fuses RSTOSC_LFINTRC, LVP, NOWDT
#use delay(clock=32k)
/*
*
*/
void main ()
{
... |
Topic: RS232 not working |
mengtashou103
Replies: 2
Views: 11097
|
Forum: General CCS C Discussion Posted: Sat Jan 27, 2018 4:25 pm Subject: RS232 not working |
#include <16f1719.h>
#include <string.h>
#use delay (clock=20M)
#use rs232 (baud=9600,xmit=PIN_C6,rcv=PIN_C7)
First a slight syntactical change:
#include <1 ... |
Topic: RS232 not working |
mengtashou103
Replies: 2
Views: 11097
|
Forum: General CCS C Discussion Posted: Sat Jan 27, 2018 8:52 am Subject: RS232 not working |
Hi, I am new learner of PIC microcontroller. I am using microchip explore 8 board with PIC16f1719. I wrote a simple program try to send string through RS232 to computer but doesn't work. I have try wi ... |
|