Newbie XC16 question (jackson_sweden)
I recently started to play with XC16, coming from smaller 8-bit devices using MPASM.Reading the manual for XC16 is says: "Unlike the MPASM™ assembler (for use with 8-bit PIC® MCUs), MPLAB XC16...
View ArticleSoftware Reset for PIC24EP (StevePye)
XC8 comes with a RESET() macro (in xc8debug.h) that's #defined to asm("reset"). Is there an XC16 equivalent macro? Or builtin function equivalent?..
View ArticleCompiling testprogram for dsPIC33CK512MP605 question (jackson_sweden)
Hello I have recently started to try the dsPIC33CK512MP605 and I made a simple testprogram to get familiar with this device.I have a question as below: This is the simple program: .text .global __reset...
View ArticleCombining assembler and C in one project (jackson_sweden)
Since myself is fond of assembler and since MCC offers code generation in C my question is as follows:Can I combine assembler and C in one project?Is it simply put to place both .S and .c files in the...
View Articlenew to microchip / looking for library reference (AZZ)
Hello all,we are moving to PIC24 from other company tools etc. am working in MCPLAB IDE / SC16looking for a library ref for the xc16 compiler and haven't had much luck.I must be missing something...
View ArticleStill trying to wrap my head around codeguard (JPortici)
Long story short for a new project the bootloader must be secure(tm)device is dsPIC33EV256GM106. I can't find a code example that showcases the features (there are old code examples that rely on old...
View ArticleShared program memory constants across Loadables? (mfarver)
Is there a way to specify a constant at a fixed address in program space without having the linker actually generate data for that memory area? Basically in my application I have a const part number...
View ArticleADC1Interrupt not remapped correctly in bootloader application image...
Using MCC (PIC24F-GL-GU_DFP v1.5.121, Core v5.4.11) to enable a PIC24FJ512GL408 with bootloader + application with compiler XC16 (V2.00). Application without bootloader works as expected. When the...
View Article