What need do you feel XC8 would fill that PBP currently does not? I did migrate to MPLABX, but to gain access to 16-bit PICs (with XC16). That was what I had to gain.
Type: Posts; User: mpgmike; Keyword(s):
What need do you feel XC8 would fill that PBP currently does not? I did migrate to MPLABX, but to gain access to 16-bit PICs (with XC16). That was what I had to gain.
You can use multiple Bytes, Words, and even Longs and manually manipulate them (the way ASM would do it). Then just start shuffling out the string, starting with either LOWBYTE or HIGHBYTE. A bit...
I found the best way to learn is to do. Microchip offers Development boards at widely differing price points. The cheapest way to get started is with one of their Curiosity Nano Development Boards,...
The ANSI C programming language has lots of cool tricks that let you do lots of ASM code function with simple commands. When I learned C, I used very basic transitions from BASIC to get the job...
Did you look at the DT Book of Interrupts linked 2 posts ago? In fact, the main page lists you as one of the contributors. The part I contributed focused on what to change to add new chips. Take a...
My suggestion is if you find the need for 16-bit PICs and dsPICs, take the plunge and learn how to use MPLABX and XC16. Microchip University has tutorials on these topics. It will involve a...
Make sure you have the newest U2 software. Just because you have the latest PBP3 doesn't mean the U2 Programmer automatically knows what to do with newer chips. Here is ME Labs' link for the U2...
Darrel Taylor's Instant Interrupts (DT_INTs) changed things for the PBP world. PBP Interrupts are Polled, not actually using the built-in Interrupt hardware. Using ASM somewhat defeated the reason...
16-bit support was PBP v2.xx or even v1.xx and for much older 16-bit parts. Anything worth using today has never been supported. When you look into the 16-bit architecture, it uses 16 Working...
It is called a Trace Inverter. Microchip has Reference Designs, as I'm sure TI and Analog Devices do. The quickest path to success is find a reference design.
Microchip.com then Solutions in...
For most LEDs or SSRs, I found 470 ohms offers a good compromise between response time and effectiveness.
Another trick you might try is to initialize your SFRs, but put a PAUSE 100 before activating anything. This will give time for the power supply to stabilize. You said if you turn it off and turn...
Just a shot in the dark; when I design a power supply for my PICs, I isolate the 5v (or 3.3 or whatever) regulator with a 10 ohm resistor from 12v (or whatever) and place a 10 uF and 0.1 uF cap on...
If I may make a suggestion; I noticed when you were trying to use PORTD for UART, you initialized your TX Pin low (LATD = 0). I initialize my UART TX Pin high, as that is the idle state. Secondly,...
About 7 years ago I decided to get serious about Visual Basic (as opposed to C++) and bought 5 different books on the subject. I'm an old fart (56) and still like paper books. At any rate, about...
Just a thought, since you're using an 8-pin PIC, look at the PIC16F18313. It offers a bunch of features and is probably cheaper than what you're using (unless you have a couple hundred on the shelf...
You could create a bit Flag. When the Button is pressed, the Flag is toggled. When you get to a reasonable point in Code1 Routine, check your Flag. If it has toggled (is now a 1 for example), use...
Just looked at the Data Sheet, and best I can tell, it only offers one speed; 4 MHz.
You are not selecting "Erase User ID" but have selected "Program User ID". The Programming process only clears bits. If you have bits in your programmed User ID that are set, but that bit is...
I'm still in limbo without access to my other laptop, but I modified the code so that if I wanted to debug the VB side without actually connecting, I would click "Cancel" and a new pop-up (which I...
I have Visual Studio Pro 2015 (paid), VS 2017 Community (free), and VS 2022 Community on my computer. I've noticed many of the YouTube tutorials are using 2017, even though it is 2 versions old. ...
I worked with Bob on the PBP output on the FS, especially with the PIC16F versions. The number of Buffers are different than the PIC18F versions, along with addresses, etc. The version I got when I...
The U2 Programmer has a header button that allows you to set your CONFIG settings. Since your PICkit4 and U2 Programmers yield different Clock speeds, the U2 may be using a different default CONFIG...
Don't you have to make one of the External Oscillator pins an Input in the TRISx Register? I'm on the road and can't look at the Data Sheet.
The High Speed Oscillator is shut down in SLEEP Mode, therefore the WDT relies on the 32 kHz LFINTOSC. This can be internal or external. You didn't mention which PIC you're using, but the WDT will...