Quantcast
Browsing all 304 articles
Browse latest View live

HOW TO CLEAR CONTENT OF CHARACTER ARRAY (rupesh9371)

Hello all,i am working on a project in which i am receiving string from com port and storing it in consecutive locations in an char type array ,now when 1st string arrives it is storing in array...

View Article


dsPIC33f 3.7V @ AN4 pin (Emre Bahtiyar)

Hello people, I am trying to get ADC port AN4 to work on my dsPIC33fj06gs202. I am already reading AN0, AN1, AN2 and AN3 without any problem. But AN4 is a different story. Even though I am not giving...

View Article


ways to enable different #defines at compile time (soundscu)

I suspect I'm going about this entirely the wrong way. Any advice is massively appreciated. Please set me on the right path! I have a complex C30 project that can be compiled for many different...

View Article

PROBLEM ON SCROLLING DOT MATRIX DISPLAY (rupesh9371)

Dear sir ,i am working on a 8*16 dot matrix led display project in which i am receiving a string on UART and storing it in an char type array eg: unsigned char MESSAGE1;though i have declared length of...

View Article

dsPIC33 Linker file modification (jolofman)

Hi everybody I'm using the dspic33fj256GP710 microcontroller and i try to develop a bootloader, but i'm experiencing problem to personalize my linker file. Especially how to remap the interrupt vector...

View Article


DSPIC33EP256MU814 flash self write issue! (dubble)

Dear experts, I'm facing with a problem triing to self write the flash memory of a DSPIC33EP256MU814 device unsing a programming enviroment of MPLAB and C30 compiler. I've spent a full day with the...

View Article

C30 attributes and built-in library functions (mshakirshahid)

I am using C30 v3.30 to code for PIC24FJ64GB004. I have declared a function portdata() as follows so that it gets located at address 0x400 in program memory. And, it works. void...

View Article

Where to download MPLab C30 V3.31 Compiler? (lukelspencer)

Does anyone have a source for the C30 v3.31 compiler? I have moved my version of MPLab IDE v8.92 to a new PC. I have installed using the MPLAB CD but is v3.10. The previous thread( ) had a link to the...

View Article


Incorrect complex FFT output of real signal (karanbanthia)

Hi all, I am trying to calculate 2N point FFT of 2N-point real input signal from N-point complex FFT. The first step is forming a complex input signal to the FFT where the real part are the even input...

View Article


Multifile project compiling error (syntax)

Reading the same multidimensional structure element from main file is ok, from another file gives error.All "#include" directives seem correct.I enclose a very short version of the project that shows...

View Article

DSPIC 33f ADC problem (fuzedmass)

Hello , I am a newbie to DSPIC33f, before this I was using PIC18f series. I am currently using DSPIC33fJ128GP710 with XT of 10MHZ. I want to use ADC module of DSPIC33f for color sensing purpose, now I...

View Article

PSV > 32k error - large fonts and memory options (purplepig)

Hi,My 24FJ256DA210 project uses a large number of big font sets, which I have just had to increase due to the customer wanting added languages. I get the dreaded PSV > 32k error when I compile now....

View Article

Where is _Q15sqrt ! (melrose.sean)

Hi I am getting the error 424: undefined reference to `__Q15sqrt' and I have #include short int DC_BUS_A; short int x;DC_BUS_A = _Q15sqrt( x ); what am I doing wrong..

View Article


starter kit bootloader code for dspic33ep512mu810 is not working (Manjunath N N)

Hi All,I am trying to blink led in bootloader code but led is not blinking, because i changed the clock configuration. I don't know why it is like this. Here is my code:...

View Article

Prevent code at specific address range (BOOT SEGMENT) (rianovich96)

Hello friends, On a KA302 device, I need to prevent all (user) code to be located BOOT SEGMENT (from 200h to AFEh) because I wrote a bootloader that is supposed to work with main application. But all...

View Article


issue in RECEIVING MORE THAN 1 STRINGS USING UART PIC 24FJ (rupesh9371)

Hello every one !!!i am working on a project in which we have on testing instrument which performs the application testing and gives the result of testing data on serial port ,this data contains...

View Article

PORTB access (Doralice)

Hi all,I'm using a PIC24FJ64GA006 with MPLAB C30 compiler.Can I access directly the most significant byte of PORTB?For example PORTBH=0x65.I have to do some additional declaration? Thanks in...

View Article


[Resolved] Are registers backed up in ISR? (rickford66)

I have an app written in C and, for a very small section that reads an EEPROM value at regular intervals, there is some inline assembly that addresses W1 & W2. See below... asm("mov %0,W1" :...

View Article

BIt field access (Doralice)

Hi all,I need to access an 8 bit variable like an 8 bit variable and to a single bit.I've used this declaration: union v8bit { unsigned char BTY:8; struct { unsigned bit0 :1; unsigned bit1 :1; unsigned...

View Article

Using __builtin_tblrdl(ADDRESS) (tcross)

I am using __builtin_tblrdl(ADDRESS) to read a table out of program memory. There is no problem with getting to program memory locations 0-FFFF, however I can't access the higher ones. I realize I...

View Article
Browsing all 304 articles
Browse latest View live


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