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

[RE]MPLAB XC16 v1.61 Released (dan1138)

Web site is broken at the moment. XC16 1.61 Windows direct link XC16 1.61 Linx direct link XC16 1.61 MacOS direct link..

View Article


MPLAB XC16 v1.50 Array Problem? Complier Bug ? (TS9)

Hi, I am trying to copy the two different values in to two different arrays inside the interrupt. volatile int PrintArray1 ; volatile int PrintArray2 ; But if my using only 10 elements from PrintArray1...

View Article


Integration of XC16 into Visual Studio (hairylee)

Hi! Has anyone successfully created a Makefile Project within Visual Studio that utilizes the Makefiles generated by MPLAB X and will build code targeted at a PIC24? Or do I need to create my own...

View Article

Global struct (fraengers)

I want to have a global struct that I can access from anywhere. But it is not working out of the box. I get a 'multiple definition' error. Is there a compiler switch I have to use to make it work?...

View Article

DSP library usable with dsPIC33C? (CarpeCimex)

The xc16 Language Tools Library doc says that the DSP library is "targeted for execution on a dsPIC30F". I have a dsPIC33C and want to know if the library is usable with this controller. I've just...

View Article


Probably stupid question about delay (paolor)

Hello to all!I would like to use this library function "__delay_us(1)" in a routine (not in inerrupt).Because in my project I have multiple PWM interrupt, it happen that the program not execute the...

View Article

Trying to create many arrays in RAM (Albert Hall)

XC16 PIC24EP512GP204I am trying to create some arrays with 1431 elements each:6x char array4x int arrayswhich I think needs a total of 20034 bytes. I get a whole lot of errors, just a small sample...

View Article

XC16: Please help with these errors (StarKnight)

Hi, I am trying to use some code to carry out DSP on the dSPIC33EP512GP806. I'm a newbie and learning as I go along. Product Version: MPLAB X IDE v5.05Java: 1.8.0_144; Java HotSpot(TM) 64-Bit Server VM...

View Article


Format Specfiers for long double and float (fsonnichsen)

XC16 Version 1.6.0 Can someone tell me the appropriate format specifiers for sprintf with: float ADC; long double ADC; Using type %f for both I get different results and both always result in a error...

View Article


long double variables not printing properly after subroutine pass (fsonnichsen)

Does anyone want to venture what I may be doing wrong here? (see attached)I set a "long double" in a subroutine and pass it up to the calling program.In the routine it prints fine but when passed up it...

View Article

Unexpected behavior of atoi() function. (shahab71)

Hi All Unexpected behavior of atoi() function. It is working in some part of my code and returning 0 in other parts, I am using the following code in different parts of application to find the bug of...

View Article

MPLAB 5.45 Debugging Watch Values Not Correct (rnorman3)

I am connected to the PIC-IoT out of the box AC164164 - onboard debugger and pic PIC24FJ128GA705. I'm using the example code from MCC for this board. When I put breakpoints in one of the functions (see...

View Article

CAN transmit request gets stuck with can_tx_message_request_buffer_full...

Hi Iam trying to transmit CAN data (dsPIC33EV32GM104) using MCC Plugin. While debugging the data is not placed in the tramsmit buffer it shows an warning in txCanMsg like...

View Article


Include directory recursive search (neworld)

Is there a gcc command that I could use in the project properties 'C include dirs' dialog that would recursively search a directory. As it stands, each code module needs the sub-directory specified....

View Article

Generic peripheral types (Bremenpl)

Hello,With XC16 I would like to create functions that take peripherals (i.e. UARTs) pointers as input parameters. I am not sure whether that is possible using the API provided with XC16 header files,...

View Article


What is libfx used for? (g1l1t1)

Does anyone know what uses libfx? All the modules in it define the global symbol __GENERIC-16BIT-DA which I believe means they were compiled or assembled for the PIC24FJ series, yet it's optionally...

View Article

how to properly erase/write flash pic24F (jeffswt)

Hello, I need a bit of help with erasing and writing to program memory. I have code working wonderfully on pic24FJ256GB206, however we are now using a different chip pic24FJ256GA406 and the same code...

View Article


XC16 free verssion? (gunzelg)

Helloim actually using MPLAB X and XC8. But I want to try out some 16-bit uC. But I'm not sure if there is also a free XC16 version available? Please helpregardsGerhard..

View Article

C Language (gbarca7)

Hi, I have downloaded software and files for laboratory exercises regarding C language.I followed the instructions as they are described in the pdf files (_Read me first and Getting started) but, on...

View Article

Gap in program memory usage. Linker error? (Ekkehard)

I am very sorry but the forum did not allow my content posted. I will figure out the problem. Meanwhile this Post looks very strange. Greetings Ekkehard I have a problem and it is very hard to explain...

View Article
Browsing all 1508 articles
Browse latest View live


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