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 369 matches
CCS Forum Index
Author Message
  Topic: Hardware UART, interrupt handler for RDA and TBE
rikotech8

Replies: 7
Views: 23444

PostForum: General CCS C Discussion   Posted: Wed Oct 10, 2018 10:46 am   Subject: Hardware UART, interrupt handler for RDA and TBE
It seems that CCS designers change their minds quite frequently Smile.
Nevertheless, I still find this compiler useful when I have to write simple program within a restricted time frame. Almost no data ...
  Topic: Hardware UART, interrupt handler for RDA and TBE
rikotech8

Replies: 7
Views: 23444

PostForum: General CCS C Discussion   Posted: Wed Oct 10, 2018 9:25 am   Subject: Hardware UART, interrupt handler for RDA and TBE
Thank you guys for your responses.
I am still not quite sure how CCS decides to use the hardware UART module instead of creating software instance.

From this text FORCE_SW
Will generate software ...
  Topic: Hardware UART, interrupt handler for RDA and TBE
rikotech8

Replies: 7
Views: 23444

PostForum: General CCS C Discussion   Posted: Tue Oct 09, 2018 12:27 pm   Subject: Hardware UART, interrupt handler for RDA and TBE
Ouch what a stupid mistake. The processor constantly re-enters the TBE ISR. I should disable the TBE interrupt once the string is sent.
Remains the question: Did I succeed to configure the RS232 d ...
  Topic: Hardware UART, interrupt handler for RDA and TBE
rikotech8

Replies: 7
Views: 23444

PostForum: General CCS C Discussion   Posted: Tue Oct 09, 2018 12:22 pm   Subject: Hardware UART, interrupt handler for RDA and TBE
Hi all!
MCU: PIC16LF1825
Compiler: PCM v5.051

I am trying to configure my device to run the hardware UART module, and utilize the TBE and RDA interrupts. I am facing some troubles though.

This ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Fri May 25, 2018 11:33 am   Subject: PIC12F508 gives different times
@temtronic:
Yes there is 10K between these two pins.

All:
It seems that the problem may be caused by bad PICKit3 firmware. The micro within controls the VPP boost circuits. I will upgrade the MP ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Fri May 25, 2018 10:00 am   Subject: PIC12F508 gives different times
No LVP. Nothing connected. The experimental board is like this <http://www.prodctodc.com/bmz_cache/3/38fe401e7cff9a868cb556fd077fa1a7.image.300x300.jpg>

Just the programmer wires and bare uC. ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Fri May 25, 2018 9:11 am   Subject: PIC12F508 gives different times
OK, I switched to 12F683, and imagine my happy face when I got the same error. There is definitely something wrong with the programmer. I scoped the clock - ok, the data -ok, the VDD is stable during ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Fri May 25, 2018 3:23 am   Subject: PIC12F508 gives different times
Yes of course! There are two considerations for my project.

The first one is that the chip must comply with the schematics(which is already printed), hence the pinout should be the same as those on ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Fri May 25, 2018 1:06 am   Subject: PIC12F508 gives different times
Thank you guys. Buying another PIC12 is relatively less expensive than buying PICKit2. So I will throw away 12f508 and buy other PIC.
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Thu May 24, 2018 9:24 am   Subject: PIC12F508 gives different times
@PCM programmer: Thank you for your response. I checked the checkbox for Allow PICkit3 to program calibration memory but when hit the program button I still get the error: Programming...
The followi ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Thu May 24, 2018 2:20 am   Subject: PIC12F508 gives different times
@PCM programmer
The MPLab version is 8.89.

@Ttelmah:
Could you please explain little bit more detailed how can I change the "top instruction in the ROM"?

#ROM. May be this could do ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Thu May 24, 2018 2:04 am   Subject: PIC12F508 gives different times
@PCM programmer
The MPLab version is 8.89.

@Ttelmah:
Could you please explain little bit more detailed how can I change the "top instruction in the ROM"?

#ROM. May be this could do ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Wed May 23, 2018 11:50 am   Subject: PIC12F508 gives different times
Thank you for your response. Could that value be something like 25 (like the expected value from my second quote). Isnt the compiler that generates the instructions including the one that is on the ...
  Topic: PIC12F508 gives different times
rikotech8

Replies: 20
Views: 52331

PostForum: General CCS C Discussion   Posted: Wed May 23, 2018 10:35 am   Subject: PIC12F508 gives different times
When I use MPLAB to program the chip I get the message The target has invalid calibration data (fff). then when I try to program the chip I get this message: The following memory regions failed to pro ...
  Topic: Can't make pulse with timer0 pic12f508 [Solved]
rikotech8

Replies: 1
Views: 9073

PostForum: General CCS C Discussion   Posted: Wed May 23, 2018 9:54 am   Subject: Can't make pulse with timer0 pic12f508 [Solved]
Sorry It was a hardware problem
 
Page 1 of 25 Goto page 1, 2, 3 ... 23, 24, 25  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group