Author |
Message |
Topic: Fail-Safe Clock Monitor How Too? |
Tom-H-PIC
Replies: 15
Views: 53285
|
Forum: General CCS C Discussion Posted: Tue May 11, 2021 12:21 pm Subject: Fail-Safe Clock Monitor How Too? |
Just a follow up
I sent all the information to CCS support and this what I got back.
I determined the issue was because the compiler isn't generating the OSCFAIL trap vector for this device family. ... |
Topic: Fail-Safe Clock Monitor How Too? |
Tom-H-PIC
Replies: 15
Views: 53285
|
Forum: General CCS C Discussion Posted: Tue May 04, 2021 7:44 am Subject: Fail-Safe Clock Monitor How Too? |
Thank you all for having a look and making suggestions.
Temtronic
Yes there are a number of these circuits around if googled.
I spent about a week prototyping and messing with these circuits and ... |
Topic: Fail-Safe Clock Monitor How Too? |
Tom-H-PIC
Replies: 15
Views: 53285
|
Forum: General CCS C Discussion Posted: Mon May 03, 2021 12:05 pm Subject: Fail-Safe Clock Monitor How Too? |
Hello all
This is where I am now
So shorting the crystal inputs to anything totally stop the processor.
Or the oscillator is not switching over. (This appears to be the situation).
I have now remo ... |
Topic: Fail-Safe Clock Monitor How Too? |
Tom-H-PIC
Replies: 15
Views: 53285
|
Forum: General CCS C Discussion Posted: Wed Apr 28, 2021 12:13 pm Subject: Fail-Safe Clock Monitor How Too? |
Hello all
I'm back to this project after being side tracked.
Ok so I have the code created and I'm up to testing it.
The question how do I simulate a clock failure of the main oscillator?
The bo ... |
Topic: Fail-Safe Clock Monitor How Too? |
Tom-H-PIC
Replies: 15
Views: 53285
|
Forum: General CCS C Discussion Posted: Fri Mar 26, 2021 8:37 am Subject: Fail-Safe Clock Monitor How Too? |
So if I understand you correct.
The only fuse I need is the
#FUSES CKSFSM //Clock Switching is enabled, fail Safe clock monitor is enabled
And I do not need the second setup os ... |
Topic: Fail-Safe Clock Monitor How Too? |
Tom-H-PIC
Replies: 15
Views: 53285
|
Forum: General CCS C Discussion Posted: Fri Mar 26, 2021 8:08 am Subject: Fail-Safe Clock Monitor How Too? |
Hello all
I have searched the forum and googled this a number of times with very poor results.
So I'm looking for some information and help.
Working with DSPIC33EP512GP506 and I have the current c ... |
Topic: File names for software index? |
Tom-H-PIC
Replies: 1
Views: 8882
|
Forum: General CCS C Discussion Posted: Mon Apr 15, 2019 11:57 am Subject: File names for software index? |
Hello All
I'm looking for a way to get the file name of each include file and put it in ROM at the time of compiling.
This would be used for a software configuration index function and printed out s ... |
Topic: Program execution and how to trace? |
Tom-H-PIC
Replies: 3
Views: 11962
|
Forum: General CCS C Discussion Posted: Tue Sep 19, 2017 9:16 am Subject: Program execution and how to trace? |
So the problem that I having now is if I'm not using “#ZERO_RAM” the program will not start and it gets hung-up.
So I'm using the CCS ICD-U64 and I only use it for programing and that is all.
Af ... |
Topic: Program execution and how to trace? |
Tom-H-PIC
Replies: 3
Views: 11962
|
Forum: General CCS C Discussion Posted: Mon Sep 18, 2017 6:50 am Subject: Program execution and how to trace? |
Thank you Ttelmah
I will give it a go! |
Topic: Program execution and how to trace? |
Tom-H-PIC
Replies: 3
Views: 11962
|
Forum: General CCS C Discussion Posted: Wed Sep 13, 2017 7:11 pm Subject: Program execution and how to trace? |
I'm working with the dsPIC33EP512GP506 using compiler 5.072.
I'm having issues with my code either getting lost or it is stuck in some loop that I'm not see and the WDT is resetting.
So I would li ... |
Topic: dsPIC33EP512GP506 WDT and Configuration Bit?? |
Tom-H-PIC
Replies: 2
Views: 9496
|
Forum: General CCS C Discussion Posted: Wed Jun 14, 2017 11:14 am Subject: dsPIC33EP512GP506 WDT and Configuration Bit?? |
Thanks Ttelmah!
All working and have a better understanding.
Tom |
Topic: dsPIC33EP512GP506 WDT and Configuration Bit?? |
Tom-H-PIC
Replies: 2
Views: 9496
|
Forum: General CCS C Discussion Posted: Wed Jun 14, 2017 7:59 am Subject: dsPIC33EP512GP506 WDT and Configuration Bit?? |
I'm working with the dsPIC33EP512GP506, CCS 5.072 and CCSLoad 5.42.
I'm really confused I thought I was in the know on how the WDT work but that is turning out to delusion! Ha
Ok so first things I'm ... |
Topic: Variable that is incremented each time the source is compile |
Tom-H-PIC
Replies: 11
Views: 23957
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2017 8:01 pm Subject: Variable that is incremented each time the source is compile |
First thank you RF_Developer
All I did was to enable the Global Defines in Project Options > Global Defines and save.
Then I put RF_Developer code in my h file close to the top.
Compiled and p ... |
Topic: Variable that is incremented each time the source is compile |
Tom-H-PIC
Replies: 11
Views: 23957
|
Forum: General CCS C Discussion Posted: Wed Feb 15, 2017 7:38 pm Subject: Variable that is incremented each time the source is compile |
The question is there a way to increment a variable in the source each time the source is compiled? |
Topic: board fab for our little PIC projects ? |
Tom-H-PIC
Replies: 21
Views: 50083
|
Forum: General CCS C Discussion Posted: Sun Nov 13, 2016 11:37 am Subject: board fab for our little PIC projects ? |
For Work I use Bay Area Circuits.
http://bayareacircuits.com/
They do an outstanding job.
Go to the "Buy Now" Look for the 2 Layer Special or the Weekend Warrior.
On the 2 layer special ... |
|