Search found 238 matches

by jay_dee
Fri Oct 10, 2025 6:10 pm
Forum: Projects - Embedded
Topic: Setting Register Value in C Code
Replies: 8
Views: 5187

Re: Setting Register Value in C Code

Intersting and make sense but :) if I use the Bitfield name the compiler throws an error. But 'BRGCON1bits.BRP0 = 1' will pass 3698: BRGCON1bits.BRP = 1; ^ (255) not a member of the struct/union "" ^ (182) illegal conversion between types int -> volatile union S783
by jay_dee
Fri Oct 10, 2025 2:47 pm
Forum: Projects - Embedded
Topic: Setting Register Value in C Code
Replies: 8
Views: 5187

Re: Setting Register Value in C Code

Hi, this method of setting values in registers work well for me. REGISTERNAMEbits.BITNAME for example, BRGCON2bits.SAM = 1; // Set the SAM bit to 1 in Register BRGCON2 However if a bit field is longer than one bit, how do I refer to the BitFields name? Do I just refer to the lowest value bit, bit0? ...
by jay_dee
Fri Oct 03, 2025 9:44 am
Forum: General
Topic: Programming Debugging PICkit5 vs PICkit3
Replies: 6
Views: 646

Re: Programming Debugging PICkit5 vs PICkit3

Oh, If the FC team are working on a UART debug feature. Is a compatible AppDev component possible? just a thought. :) J.
by jay_dee
Fri Oct 03, 2025 9:36 am
Forum: General
Topic: Programming Debugging PICkit5 vs PICkit3
Replies: 6
Views: 646

Re: Programming Debugging PICkit5 vs PICkit3

Hi. PICkit5...Well It seems to Work! If you also are new to the PICkit5, DONT just Connect your PICkit5 to your PC. (I did!) A) First Download latest MPLAB IPE. In my case it was v6.25 The installer asked if it should install the latest MPLAB IDE and install the latest 8bit and dsPIC packages etc. I...
by jay_dee
Thu Oct 02, 2025 4:41 pm
Forum: Tips & Tricks
Topic: Display Diagnotic Values from PIC UART
Replies: 0
Views: 676

Display Diagnotic Values from PIC UART

Hi, This program uses AppDeveloper to display Names and Values sent over a Serial COM link. This is usful for Custom microcontroller devices in the field or being debugged, having the program send out internal values can be very helpful. During testing and a 57K baud serial link, I'm getting a relia...
by jay_dee
Thu Oct 02, 2025 9:40 am
Forum: App Developer
Topic: COM Port - Setting Port and Baud within App
Replies: 1
Views: 619

COM Port - Setting Port and Baud within App

Hi, I have an App Developer program which recieves Serial Data from a PIC, this is working well. But how can I Refresh COM Port, Change Port and Change Baud Rate from within a deployed/Running App? I tried to make the properties visible but could not make this work. A Running app wont set focus on t...
by jay_dee
Wed Oct 01, 2025 4:53 pm
Forum: General
Topic: Programming Debugging PICkit5 vs PICkit3
Replies: 6
Views: 646

Re: Programming Debugging PICkit5 vs PICkit3

Thanks Ben, Great update. I always have a UART breakout as I use it to dump Values to a App Dev program or a Terminal, so a UART ICD would be great and very universal. I've taken the jump and have a PICkit5 on the way for £60 from Farnell. So standby for a dumb "what does this error message mea...
by jay_dee
Wed Oct 01, 2025 11:55 am
Forum: General
Topic: Programming Debugging PICkit5 vs PICkit3
Replies: 6
Views: 646

Programming Debugging PICkit5 vs PICkit3

Hi, New project using an dsPIC33EV 256GM102, 5V version dsPIC. I beleive this cannot be programmed with a PICkit3, same for any new PIC devices after June 2019. MPLAB IPE v5.50 finds the PICkit3 but it wont let me apply any dsPIC33 settings to it, so... I think I'll have to upgrade to the PICkit5, a...
by jay_dee
Wed Sep 10, 2025 5:31 pm
Forum: Tips & Tricks
Topic: Simple Watch Dog with 8 bit PIC
Replies: 1
Views: 513

Simple Watch Dog with 8 bit PIC

I recently had a problematic project that would lock up from random excessive noise. Whilst we sorted out the root problem, I wanted to enable a Hardware Watchdog in the embedded project. If the PIC crashed, the PIC would automatically reset and probalby run fine again. I thought implmenting a Watch...
by jay_dee
Fri Aug 22, 2025 10:05 pm
Forum: Feature Requests
Topic: FC11 and commercial licence
Replies: 1
Views: 993

FC11 and commercial licence

I genuinely look forward to new FC releases, for about the last ten years I've paid for the commercial use versions. I think I probably cover that cost these days, with one or two commercial projects a year. I have no issue paying extra to support FC development. (Just look at Matlab costs. haha). F...