Getting the most out of our 24bit Code space (Riche)
My code is using quite a lot of multiple lookup constant tables for its graphical interface. Since we are only using 2/3 of every 24bit code space for data, I would have thought that the compile would...
View ArticleConfused about size of data types INT and UINT for PIC24... (BobAGI)
I am revisiting the issue of data sizes, specifically int and unsigned int.We are using GenericTypeDefs.h to get around the uncertainty of variable sizes and now I have come across a piece of PIC24...
View Articledivide support of dsPIC30F (Abdul_Wahid)
Hello every body.I am using MPLABX 3.55, dsPIC30F2010 and compiler xc16.I am facing a problem which may be a very simple but it is very big for me.want to remove some right most digits from a long...
View ArticleHow to set up Linker etc. for Protected Bootloader Section, Godeguard (fkaiser)
Hello Everybody! since a long time, i am trying to make my "unbreakable" Bootloader for dsPIC33F and PIC24H devices. "unbreakable", because i want to use GodeGuard and the Boot Segment Function to make...
View ArticleWhys is this not causing an error in the compiler? (BobAGI)
When working on some bit-bang i2c code for a PIC24FJ256GB206 I accidentally introduced a bug when changing a delay call from my own (working via timers) to the compiler built in. This is what I ended...
View ArticlePIC24 - C30 endian revisited again... (BobAGI)
In my previous thread about the PIC24 endian-ness the conclusion was that PIC24 is using the same endian as a PC with Intel CPU.Now I am facing a problem since it seems like this does not really always...
View ArticleJump to an absolute address (mcpro)
I need to jump from C to an absolute address locate at a fixed point in program memory but I cannot find the right way: 1) I tried to use the goto statement of the C but I don't know how to declare a...
View ArticleHow to place big data array in EDS space with PIC24FJ256GB206? (BobAGI)
I was asking about a problem with using big amounts of RAM in a PIC24 thread and by the responses I was guided towards using EDS memory to get part of the way to my goal.It seems like I had not grasped...
View ArticleUnexpected truncation of function return value (C30 v 3.31 for PIC24FJ) (BobAGI)
I have been trying to understand why I am getting weird results back from an SDcard writing function, so today I put breakpoints in and stepped through the code only to find that somehow the value...
View ArticleErroneous floating point arithmetic results on C30 v3.30b when interrupts are...
Hello, I'm periodically seeing some erroneous floating point arithmetic results when having my interrupts enabled. To be clear, I'm not doing these calculations in an ISR, just in a function...
View ArticlePIC24 Read/Write to Text file Help (patrykk)
Hello everyone, I am working on a capstone project for school and am using the PIC24HJ32GP202 micro-controller. I have used the pic in previous years for school labs but the code was essentially...
View ArticleContext saving before interrupts problem (paltibine)
PIC24HJ256GP210 PIC C30 V3.11 and V3.31 tested I have a problem which I think I have tracked down to an interrupt arriving during the call of a function. The function is called like this:...
View ArticleError: A heap is required, but has not been specified (Varma)
hii I am using MPLAB IDE 8.90..when i am using printf function then it is showing Error: A heap is required, but has not been specified,i attached Error warning below..if i am not using printf function...
View ArticleMPLAB C30 v2.04 Released (DevMod)
MPLAB C30 and the related 16-bit language tools are released and available here. Changes include: Bug fixes to the C compiler, and assembler Bug fixes to device support files MPLAB REAL ICE trace and...
View ArticleMany source codes of MLA include xc.h. (ingenioso)
Hi everyone, I try to use the MLA(v2017_03_06) for making the application through the USB communicated to Android. Many source codes of MLA include xc.h. xc.h does not find in the sub folder under...
View ArticleSonntag Spiel (CinziaG)
Help me find out the quickest and most compact way to perform this: I have a bitfield, actually 3 bitfields each one 2 bits large, stored in the lower 6 bits of a byte variable.I want to check whether...
View Articledspic bootloader and application main file (faddale)
Hello, I want to improve own bootloader. Otherwords, when i start my bootloader, i want to jump my application. My bootloader and app is working. But after bootloader work, it doesn't jump to app. I...
View ArticleEnabling large-arrays in C30 3.31 causes linker to fail, missing malloc &...
Kinda curious I am trying (for the first time) Graphics library as per 2013 on a PIC24FJ256DA210; project compiles but needs a 38 or 76KB array (320x240x4 or 8).Following advices on the forum, I set...
View ArticlePIC24FJ128GA006 : Undefined reference to main (SNTT)
Urgent!!! Help!!! I am new to PIC24, using MPLAB8.10 with Microchip C30 Toolsuite Microchip ASM30 Assembler (pic30-as.exe) to build my assembly source code, but Build failed... c:/program...
View Articledsp library on pic24 (seyyah)
Can we use dsp library with pic24? I particularly need fft library. How can i achieve this? Thanks...
View Article