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

PIC24FJ128Ga106 MLA file I/O (yo123)

$
0
0
hi, i want interface sd card with PIC24FJ128Ga106 , but as i have search i found that MLA fileio library is used for interfacing sd card . can anybody tell me the flow of MLA library for sd card interface.thanks in advance...

V1.36: recipe for target failed (Wieschebrock)

$
0
0
Hi, I have installed the XC16 V1.36 and tested with some of my projects (dsPIC30, dsPIC33, PIC24)I always got nbproject/Makefile-xxxPROCESSORXXX.mk:407: recipe for target 'build/xxxPROCESSORXXX/production/YYYFILEYYY' failedThe process fails on different p..

how do I cancel my rolling license subscription? (mchahn)

$
0
0
The web page "Software Downloads, Keys and Licensing" shows my XC16 license subscription, but I can't find any way to cancel it. What am I missing?..

Allocating Y Memory Space (rontaylor)

$
0
0
I've written a DSP Radio Transceiver back end that compiles and runs successfully on the dsPIC33FJ64GP306A. I'm currently attempting to port it onto the dsPIC33EP512GP806 to take advantage of the higher through put and data RAM of this device however, I'v..

Do XC16 1.36 executables have a virus/trojan? (RDS Cliff)

$
0
0
Just tried installing XC16 on a new computer and my antivirus (Bitdefender) says there is a trojan in the .exe files. Went to the XC compiler download page to re-download the installation program in case I had a bad copy and it looks like the XC16 install..

XC16, v1.36 clarification (RicksterPIC)

$
0
0
In the “what’s “ new, what does this mean? Is “clobbering” supposed to be a good thing (?), or is this a warning? Or does disable now act entirely differently than previous and set DISICNT to max, and then enable set DISICNT=0 (in which case, this reall..

troubles using typedef from another header __SOLVED__ (hermallorn)

$
0
0
I have defined an eusart buffer structure in eusart.h to share it with eusart1.h and eusart2.h, code below: #ifndef _EUSART_H
#define _EUSART_H

#include "mcc.h"

#ifdef __cplusplus
extern "C" {
#endif

#define..

MPLABX 4.20, XC16 v1.35/1.36. Can’t seem to create Array of Enum in Struct (RicksterPIC)

$
0
0
PIC24FJ256GB410 I have run into an issue that is either the compiler (XC-16, V1.35, V1.36), MPLABX (4.20), or me misunderstanding C. I’m trying to create an array of a typedefed enum in a struct. Without success. typedef enum _TEST_ENUM { TEST_ENUM_..

XC16 and printf of floats and doubles (RicksterPIC)

$
0
0
PIC24FJ256GB410 XC16 v1.35, v1.36 I’m having trouble with printf of floats giving me garbage. Googling reveals vague allusions to printf of floats being “broken” going back many years. Does anyone know the details? Workarounds? Simple example fl..

DSPIC33 CAN INTERRUPT XC 16 (Manoj3341)

$
0
0
Dear Sir, I am using dspic33 sarter kit, it code. I want to print a message on UART whenever i reciev one frame from CAN. I tried this in "void__attribute__((interrupt, no_auto_psv))_C1Interrupt(void)" but i am not getting the output. Please help me rega..

PIC24FJ256GA702 DMA decrements DMACNTx and increments DMADSTx upon changing DMADSTx value (rikotech)

$
0
0
I don't know why it automatically changes these values when my code try to change the transfer COUNT value. I use code generator for the initialization.: void DMA_Initialize(void)
{
// DMASIDL disabled; DMAEN enabled; PRSSEL Fixed priority; <..

The MPLAB XC16 v1.36 release was removed. (follower)

$
0
0
Please add a comment to the original announcement thread that the MPLAB XC16 v1.36 release has been pulled/removed...

Cannot get SPI1 to work with dsPIC33FJ128GP802 (ezedhill)

$
0
0
I have tried so many things and it still doesn't work. I know I'm over looking something, but I can't see it. Maybe someone else can see what I'm doing wrong. Here is the source; // must be defined before libpic30.h is included
#define FCY 7370000UL ..

Key for swxc16 is not valid anymore passing from 1.24 to 1.36 (guido53)

$
0
0
Dear sirs,the workstation key I have for product "swxc16-pro version:1.0" is not valid anymore passing from 1.24 version to 1.34.Can you tell me why?Best regardsGuido Grandi..

Help with uart (ezedhill)

$
0
0
I'm trying to get a response from an XBEE Pro module. I first send the string of "+++" to put the XBEE into AT command mode. I then send a string of "AT", and then the '0x0d' character (CR). I should get an response of "OK". But I get no response. I have ..

CAN buffers on dsPIC33EP128MC502 (geoffj)

$
0
0
Hi,I want to use code that runs fine on a dsPIC33EP256MU806 on a dsPIC33EP128MC502. The only problem I seem to have at the moment is how to declare the message buffers on the new device.On the 806 I declare them as__eds__ ECAN1MSGBUF ecan1msgBuf __attribu..

MLA GFX: Double buffering does not always work (Wieschebrock)

$
0
0
Hi,I'm using a 320*240 LCD on an PIC24FJ256DA210 design that based on the microchip dev board. I am using MPLABX 5.15 with XC16 (v1.35) and MLA v2018_11_26 with additional VGDD plugin The screen works fine with double buffering disabled, but it is flick..

dspic33ep256mu806 ISR in library (linpez)

$
0
0
Hello, currently i'm working on a Hardware Abstraction Layer for a dsPIC33EP256MU806 which should be as easy as possible to integrate in other projects. For simplicity reasons, i thought i build this HAL as a library and provide it to other persons. But a..

XC16 to XC8 conversion discrepancy "signed char" to "unsigned int" (u741)

$
0
0
ATTENTION when moving code from XC8 to XC16: there is a discrepancy in converting "signed char" to "unsigned int" between XC8 and XC16 (v.135). XC8 always converts a "signed char" to "unsigned int" by adding 8 zero-bits to the left (that's what I would ex..

very strange behavior, xc1 (auldin)

$
0
0
So say I have a function like this working fine:Code (Text): void func_1(){ printf("hello world!\n"); } Then and I need write another function for other stuff:Code (Text): void func_2(){ printf("do other stuff.\n"); } Two functions can wor..
Viewing all 1508 articles
Browse latest View live