SPI with DMA is reporting errors (avenkat4)
I have the following code, which is giving error "error: __builtin_dmaoffset() is not supported on this target", while compiling with pic30 v3.31 compiler for device "p33EP128GP502.h" unsigned int...
View ArticleC30 failed handling __eds__ (JohnT)
Goodday, I've (had) a lot of strugglings with combined eds variables and non-eds variables, using the C30 v3.31 compiler. Every time I compile my code, my device handles different. The problem seems to...
View Articlereserving distinct program memory space via C-Code (schroedercn)
Hello, I'm using a PIC24Fj16GA002 and I want to put data (in this case only a simple unsigned int) on an absolute address on the last physical eeprom page that is in User Flash Program Memory area...
View ArticleTable in program memory (JohnM)
I'm trying to establish a data table in program memory using the .word directive.Using ASM30, the program compiles successfully but the table is not in the program. source code: LEDCOLR.TBL:; RSval...
View ArticleLint Info 714 - Ignore global 'not referenced' message for interrupt...
Hi all, If there are any C30 lint users out there could you let me know how to suppress the message 'Info 714 Not Referenced' for each of the interrupt functions in the global wrap-up? The interrupt...
View ArticleInvalid -mcpu option. CPU not reconized. (kholmz)
Hi, I 'm getting a pic30-coff-cc1.exe error when I try to compile "CPU 33EP512GM310 not recognized". I can compile fine when I select a different mcu like dsPIC33FJ256GM506A, but it doesn't like the...
View ArticleLinker Script Program Memory Length (mwill195)
Hi all, I have been battling a bit of a problem where after a small change to my code it failed to return from another function causing an address error trap. This is built with the C30 compiler and...
View ArticleSHA-256 implementation (jeffzzang)
Does anyone know where I can find an implementation of the SHA-256 algorithm for the PIC24? Thanks in advance...
View ArticlePIC24 EEPROM Initial Pre-Programmed Values (assasinsareus)
Hello, In the datasheet for the C30 compiler it states this on page 87 of the manual. To declare an initialized array in data EEPROM without special alignment: int _EEDATA(2) table1[] = {0, 1, 1, 2, 3,...
View ArticleNHD-3.5-320240MF (iman.y)
MPLAB XC16: http://www.microchip.com/forums/fb.ashx?m=819524..
View ArticleHow to disable all interrupts (amccombs)
How do I disable all interrupts? I have pic24HJ256GP610. MPLAB 8.33, C30 v3.12 I have tried the example code in Section 06. Interrupts - PIC24H FRM void disableInterrupts(void) { /* Set CPU IPL to 7,...
View Articleundefined reference error with dsp.h and dspic33e (fram_22)
Hello: I am starting to work on a dsPIC33EP512MU810 with the dsp.h library. I have already used the dsp.h function with the dsPIC30 and dsPIC33 families sucesfully. However I keep receiveng the...
View ArticleCouldn't locate build tool. Check tool locations (Thota_Naga_Suresh)
Hi,I am using Mplab V8.88Compiler Mplab c30 V 3.30 if i am using above configuration for pic30f (16bit) family controllers working fine. if i am using above configutation for PIC24FJ256GA110 showing...
View Articledifference between a*b and __builtin_mulss(a,b) (MPaulHolmes)
I'm not sure if this is the right area to ask this, but I was trying to understand what the 'asr' command is doing. I'm comparing long c = short a * short b to long c = __builtin_mulss(short a, short...
View ArticleEval MPLAB C for PIC24 trashed my MPLAB C for dsPIC install (jyaron)
I've been using MPLAB C for dsPIC Full Edition for over a year Now, I install MPLAB C for PIC24 Standard Eval Version and when I try to compile an older workspace for dsPIC I get the following errors:...
View ArticleChanging FRC speed (zijo)
Using C30 compiler, would it be possible in program to change speed of FRC 7.37Mhz to 4 times higher, then set it back to 7.37...
View Article[Resolved] Error with #ifndef (rickford66)
Why would the C30 compiler not seem to respect #ifndef? I have the following code in a GlobalIncludes.h file...#ifndef __GLOBALINCLUDES_H#define __GLOBALINCLUDES_H //some include files in here, each...
View Articletiming issues with dspic33ep512mu810 (omerzora)
Hi all, My program is a kind of timing problem. i have to optimize the program in speed. So far, i am using optimization level 3 but i have more speed at least. So my first question is, what can i do...
View Article33FJ256MC710 Ouput Compare Pin Mapping (Tronics)
Dear all I have just got my first ever DSPIC33FJ256MC710.It have it soldered on TQFP 100 adapter all soldered up with 3.3v reg on veroboard working Great exited.I have written a Program in C30 to learn...
View Article__memcpyd3extended label? (pic24_user)
I've ran into the label __memcpyd3extended going through some of the disassembly for memory and I'd like to know what library to which it belongs. Does anyone here now?..
View Article