CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 5 matches
CCS Forum Index
Author Message
  Topic: Debug PIC18F16Q40 with MPlab SNAP programmer
mengtashou103

Replies: 7
Views: 238

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group