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

"Unable to resolve identifier" error where it should not be . (dogusural)

Hello people , ı am having a weird error on some of my functions , the function does not recognise it's parameter and throws me"Unable to resolve identifier" error. I made sure that there is no typo or...

View Article


I am looking for hexadecimal to decimal in C for PIC24 (Navin N.Luthria)

I am looking for hexadecimal to decimal in C for PIC24. Complier XC16.Mr Navin Luthria.R&D Engineer.Mumbai, INDIA...

View Article


new venture (PIC24FJ64GA002) pherisperical pin configuration newby...

Hi, yesterday i stepped over from 8 bit (pic18f1320/pic18F252/pic18f452) to the 16 bit PIC24FJ64GA002, i followed a tutorial to blink a led and it worked instantly, but now i'm trying to use the UART...

View Article

Uart setup help needed. (NaturalDemon)

i finally got a working opto coupler in the setup(pic24FJ64GA002) on 3.33 volt, but now i need some help to configuring it for MIDI. in the 'old' day on the pic18f1320/pic18F252/pic18F452 your midi...

View Article

About _FLASH_ROW const for PIC24FJ128GA702 (viktor_shemyakin)

In fileProgram Files\Microchip\xc16\v1.31\support\PIC24F\h\p24FJ128GA702.hthere is declaration, which defines flash row size in program words#define _FLASH_ROW 0xc0which seems strange. According to...

View Article


What means "Warning: Invalid FBSLIM setting" (viktor_shemyakin)

I try to compile simple project for PIC24FJ128GA702,using MPLAB-X 3.60 , xc-16It compiles OK, but shows warningc:\program files\microchip\xc16\v1.31\bin\bin/elf-ld.exe: Warning: Invalid FBSLIM setting....

View Article

PIC24FV32KA301, UART2 Bug in the Processor? (BioSniper)

Datasheet (U2STA):bit 9 UTXBF: Transmit Buffer Full Status bit (read-only) 1 = Transmit buffer is full 0 = Transmit buffer is not full, at least one more character can be written void sndRS232 (const...

View Article

Problem with Microchip 16-bit Self-Test Library and PIC24EP (aekalman)

Looking for some insight -- this one has me really stumped. Tools / Conditions: XC16 v1.25, MPLAB X IDE v3.15, Microchip 16-bit CPU Self-test Library (the last release was in 2015), PIC24EP256MC206,...

View Article


If you use the "MPLAB X IDE" are debugging, it would forcibly stopped...

Use the "MPLAB X IDE" in you are debugging, you in trouble will be forcibly stopped unintentionally. When you kill you will see the following message in the "Debugger Console"....

View Article


Some experience how to handle fixed point (Nikolay_Po)

Hello peoples!I'm a beginner in PIC24 and C both. Have spent some time figuring out how handle the trigonometry functions and how fast they are on non-ds PIC.Here is some code and test results of...

View Article

Serial port – data on 16bit (viki2000)

I want to repeat and follow next example:http://www.microchip.com/.rums/m790718.aspx#989435I struggle to get the data on proper format and worse only with 8bit resolution.I used MPLABX provided project...

View Article

linker errors with DMA (mrosenfield)

I have a project built around the PIC24EP512GP806, that has compiled and linked fine.Now I am adding ECAN and DMA functionality, and having problems linking the dual-port RAM.By adding this line:...

View Article

MPLAB XIDE PK3 Skids (fk0032)

I use MPLAB XIDE version=3.51XC16 version=1.30But, I find MPLAB XIDE big bug. MPLAB XIDE can not process BTSC and BTSS instruction. Please see wq1.jpg and wq2.jpg files. wq3.jpg and wq4.jpg, The C...

View Article


"undefined reference to `.dconst'" problems. (marcov)

Last week I updated my XC16 to v1.31 and an old problem is still playing up. I get "undefined reference to `.dconst'" while linking. The problem seems to be writeuart2(" "); when writeuart2 is declared...

View Article

XC16: Not licensed or error (Rowlandski)

I'm using:MPLABX v3.55Win7XC16 V1.31 (free version) I keep getting a message about the compiler, "Not licensed or error". There is a "click to manage your license on mySoftware", which selected I get a...

View Article


PIC24F32KA302 comparator module? (RodoPIC)

Hi all,This is for mplabx v3.51 and xc16 v1.31 in Win7 64-bit.I'm trying to set up comparator 1 to trigger an interrupt when the inverting input (C1INB/RB2) goes below the Vref level in the...

View Article

dspic33ep256mc204 oscillator problem (omerzora)

Hello, I have a board with that dspic and could not make pll work. I am suspicious about the crystal so i need to clarify that my code has not any problem. Is there any problem with my code?? #pragma...

View Article


dsPIC33EV32GM104 missing peripheral libraries? (Aversa76)

We have created a new project based on dsPIC33EV32GM104 but now that the board is ready with great disappointment we found that there are no peripheral libraries in XC16 compiler! The entire...

View Article

MPLABX / XC16: printf(); - HOW TO? (Rowlandski)

HI,Could I please have an example of how to use the printf(); ? I'm using MPLABX v3.61XC16 V1.31 Which window do i need to open to see printf()'s output? Regards, >R...

View Article

#define ENABLE_OFF while(PORTBbits.RB15){LATBbits.LATB15 = LOW;} Bad idea,...

I've just been told using a #define like:#define LOW 0#define ENABLE_OFF while(PORTBbits.RB15){LATBbits.LATB15 = LOW;} Is a bad idea. Ok, but why....? Regards, Rowland..

View Article
Browsing all 1508 articles
Browse latest View live


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