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

Little issue with watchdog timer (elberto)

Hi to all, I'm converting old projects to XC16 compiler..... On my code I can't use watchdog timer on this simple example.Configuration bits are set for watchdog timeout of about 2 seconds, watchdog...

View Article


New PC - how to move the Licence from XC16 and XC32 (richi_d)

Hello, I have a new computer. The Host ID is different. How do I move the licence from the old computer to the new one? Thanks!..

View Article


Link Error (rdub)

dsPIC30F6015MPLABX v4.01XC16 v1.32 My program consists of several .c files. In one of the files, when I use printf("some text"); there is no problem. But, when I use printf("%u", aVariable); I get the...

View Article

EZBL inline problem (brada)

EZBL v2.04MPLABX v4.01XC16 v1.32bPIC24FJ128GA610 I am using UART_TX_FIFO_printf() and I get the following error message:ezbl_integration/ezbl.h:8539:81: sorry, unimplemented: function...

View Article

XC16 1.30 won't link (Volker)

Hi,i try to compile our project with XC16 V1.30 and the Linker give a lot of messages like this:build/TEST_FW_Pic_V3_8/production/smb.o(.text+0x1a): In function `.L3': : undefined reference to...

View Article


[delete] (Jack_M)

Please delete...

View Article

Device memory configuration constants (GoEk)

Hi,are there any constants or macros available that describes the devices' memory configuration, e.g. start address and size of program memory area?..

View Article

Link Error: ....is not compatible with previous references. (DavidLee74)

What does this error mean?Link Error: reference to __Vacopy in xprintf_cdnopsuxX.DAeo is not compatible with previous references. make: *** Error 255 make: *** Error 2 make: *** Error 2 What previous...

View Article


Creating a special section of program memory (GoEk)

Hi,I am creating a Self Program function that updates my code from an external SPI FLASH. The plan is to place the updater code in a special section located at a specific PIC24FJ256GB210 FLASH memory...

View Article


XC16 v1.33 available (RISC)

Hi,Just downloaded XC16 v1.33 from RSS feed :http://ww1.microchip.com/downloads/en/DeviceDoc/xc16-v1.33-full-install-windows-installer.exeRegards..

View Article

Internal error on link (vsimkus)

Good afternoon Just downloaded and installed 1.33. On clean and build I get an error below. Everything works fine on the 1.32 toolchain. Let me know what further information I can provide to help....

View Article

Map ISR routine to a specific memory section (clarossi)

Hi allI want to map my ISR function to a specific section named .bootSect in flash memory.I'm tring to use __attribute__ directive to do this: __attribute__...

View Article

Code stopped working between xc16 v1.1 and xc16 v1.32B (NateG)

Hi Everyone,I have an interesting little problem. I used to develop code using xc16 v1.1 (for windows) for the PIC16FJ128GC010 and recently was tying to switch to the newer compiler xc16 v1.32B (for...

View Article


extern uint8_t var not recognized in MCC generated code when compiled (brada)

I have a project that has MCC generated code in a subdirectory. I want to access a variable that is declared in code in the parent directory. Why is the extern declaration not recognized or accepted?...

View Article

Unable to find include file (Charlie E)

Trying to move to v1.33 and my project now gives me errors of Unable to find file on#include #include #include I have installed the peripheral libraries, and then are in the support directory for 1.33,...

View Article


SPI on PIC24FJGA704 (jlehman)

MPLAB X IDE v4.05XC16 v1.33PIC24FJ64GA704 I have done PIC24 many times but just started with a new part PIC24FJ64GA704. The SPI does not seem to work. When I run in debug the SPI registers are all 0...

View Article

Compiler throws error on dsp code part (Daimonion)

Hi I'm trying to compile a math library which was developed under c30 v3.30. One function works with some dsp function like __builtin_sac,__builtin_mac, etc. The function defines at the top a variable...

View Article


Possible EDS address issue (Wieschebrock)

If a large array exceeds the 0xFFFF address range e.g. __eds__ char activeLanguage __attribute__((address(0x8000),space(eds))); __eds__ char* ptractiveLanguage=&activeLanguage; determining this...

View Article

Link Error: Could not allocate section after changing to 1.31 (Antoxa)

Hi Everyone, I'm trying to compile my project which was developed under XC16 v1.24 with XC16 1.31 and get this error: Link Error: Could not allocate section '_03C69360_at_address_00000200' at 0x200...

View Article

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
Browsing all 1508 articles
Browse latest View live


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