Quantcast
Channel: MPLAB XC16
Browsing all 1508 articles
Browse latest View live
↧

EZBL - Porting and using ezbl_tool (sjb741)

Hi all, I found EZBL, which I hope will allow in-field firmware updates for PIC24FV32xx. The documentation is very well written, but I feel there should be more of it - eg on using devices other than...

View Article


EDS Memory PIC24F (hichamrol)

Heii everyone , so i want to access to my EDS memory of my pic , And read and write Data , from it , as datasheet said that is two register DSRPAG and DSWPAG , and the total if uper Data Memory is...

View Article


UART - Sending multiple characters? (Mr_White)

PIC24EP512GU810 Currently I am transmitting through UART and wanting to validate results obtained from my RTC but ran into the issue of only being able to send one character at a time. Yes, I have used...

View Article

Help Setting up PPS on dsPIC33EP (kparrent)

Good morning, I spent the last day trying to take the spi_lpbk (Example ce416) and reconfigure it to use PPS and place the SPI output signals on RP65/RP66/RP67. I spent quite a bit of time searching...

View Article

PIC24FJ256GB410 SPI Loopback - Slave not receiving data (kparrent)

Good afternoon, I am working on modifying the EZBL UART project for use with SPI instead of UART. I'm new to this device, so my first step is to just do a SPI loopback on the board. So I have SPI-2...

View Article


Getting :recipe for target '.build-conf' failed and recipe for target...

Hi,I am trying to port my source code from MPLAB 8(C30 compiler) to MPLAB X(XC16 compiler) for PIC24.While trying to port i am getting following issues.Please help. make: *** Error 2 make: *** Error 2...

View Article

Can't load - Peripheral Lib download for Mac OS - pps.h (Mr_White)

I am trying to download the Peripheral Lib for PIC24EP512GU810 to make use of libraries such as , however, it comes up with "does not contain XC16 compiler installation" when I try add a directory. Has...

View Article

Wrong operating frequency (K3PTO)

I have two identical circuits using the same model PIC, 24FV32KA302, and one seems to be running at 1/2 the speed of the other. I am using an external 8MHz oscillator into OCSI and generating 1Hz...

View Article


PIC34E - Timer1 external interrupt 32kHz (Mr_White)

PIC24EP512GU810 I am using the DS3231 external RTCC and trying to implement the 32kHz clock to send a timer interrupt at a period of 1Hz. Whenever the interrupt has not flagged the PIC should go in...

View Article


MPLAB XC16 v1.40 Released (DevMod1)

MPLAB XC16 C-Compiler v1.40 is now available for download here. This release contains: Code CoverageDefault code, data and scalar memory model information for the device will be output in the memory...

View Article

Clarification of Interrupt Control with p33FJ128MC706A...

I noticed some code with interrupt disable and enable inside code which would be called in the main context and in the interrupt context. (It kinda wigged me out to see this... I usually separate out...

View Article

Change in output in 1.40 vs 1.32 (vsimkus)

Good afternoon v1.32 of the X16 tool chain used to produce an interrupt vector map as part of its build output (see below). Due to some past traumatic experiences with linker weirdness and interrupt...

View Article

Linker script not offsetting reset / interrupt vector (paulmtcuk)

I'm trying to offset an application program to location 0x2000, i.e. reset should be at 0x2000 and everything else offset. This is for a boot loader application. The PIC is dsPIC33EP256MC202 Linker...

View Article


Linker script always includes Interrupt vector table (jstout)

I have one project with a Bootloader, and another project with an Application. They both work fine on their own. The Bootloader project uses the Interrupt Vector Table (ivt) and the Application project...

View Article

TRAPS_ADDRESS_ERR when running application over bootloader (paulmtcuk)

Hello I've successfully been able to program the bootloader with an application but I am running into an "address trap" error when running the application. It only seems to occur after I have...

View Article


Compiler managed access to program flash (BHeyneman)

Is there any way to get the compiler managed access to program flash to read the upper MSB of flash through the use of the __psv__ or __prog__ variable qualifiers? XC16 v1.23, dsPIC33EP512GM310 /*...

View Article

"Undefined reference to" error (vra)

Hi all, how are you?. Since yesterday I have a problem, my code was working well and suddenly after doing some commits and merge's then when I try to compile the project to run the code it says this:...

View Article


"Undefined reference to" error (vra)

Hi all, how are you?. Since yesterday I have a problem, my code was working well and suddenly after doing some commits and merge's then when I try to compile the project to run the code it says this:...

View Article

error making a post (vra)

I'm trying to make a post and the page is giving the following message when I try to publish: Access DeniedYou don't have permission to access "http://www.microchip.com/forums/post.aspx?" on this...

View Article

CAN interface does not works properly on XC16 1.4 (jmachm)

I have try the CAN module in loopback mode using XC16 ver. 1.4 on dspic33ck32mp505 and I can not receive the response.The same code compiled with XC16 ver. 1.36 works correctly: 64 bytes are received....

View Article
Browsing all 1508 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>