Quantcast
Channel: MPLAB C30 Compiler, ASM30, Link30 forum
Browsing all 304 articles
Browse latest View live
↧

(dsPIC) software driver for double UARTs (reference.design)

hello i am trying to design a generic software driver for multiple UARTs (x2 in case of the p33FJ64MC802 which i am currently using in the microstick) i see from the p33FJ64MC802.h source code that...

View Article


Function in different program memory section (felix007)

HiI'm using a custom USB bootloader on a PIC24FJ256GB108, and there is a flag in the PROG memory at location 0x0000F000, so I can boot in bootloader or in user application. It is working fine since a...

View Article


problem while using 32 bit counter (eAgle_)

Hi all,I was trying to confg timer 2 and timer 3 as 32 bit counter in order to count pulse given to T2CK pin of dsPIC30F4011.I got output approx equal to the given freq up to 65 Khz. First pic shows...

View Article

How to modify AIVT on the PIC24FJ64GA002? (Nightcat)

I need to set the vectors in the AIVT to different locations than the IVT. I cannot figure out how to do it. I tried putting the new addresses in the AIVT section of the .GLD file, but the linker...

View Article

Reaching flash memory by pointer > addr 0x8000 (Daan Schilder)

Hi, I've made a bootloader for the pic24fjda210, works great, except for one thing: i'd like to check if the applciation is present by adding a magic number in the application. this magic number will...

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

ASM30 for PIC24 source file? (leo.leo)

Hi all, It's a long time I'm trying to compile a very simple ASM30 source, but seems I can't.After dowloaded, and installed XC16 compiler and pointed the IDE to its ASM30 executable bin, the IDE still...

View Article

Access data RAM, and .align directive?? (leo.leo)

Hi all,I need another help, please.It's a little time, I'm trying to use the PIC24 family, but I still have some problems.The first of all should be very tricky, but I can't resolve: if I declare a...

View Article


Reading mains 60Hz to sicronismo (Rodrigo Nogy)

Hello. I would like your help regarding a logic for synchronizing the supply voltage with the voltage of an inverter. What would be the best method for the A / D readings? Set the time of sampling...

View Article

MPLAB C for dsPIC (ASabir)

Dear All, I have the full version of the compiler MPLAB C for dsPIC DSCs v. 3.10b, purchased a while back. I intend to use in on MCLV-2 Development Board with dsPIC33EP256MC506. The compiler's...

View Article


SPI Interrupt Flag not Seting up on Writting to SPI1BUF for dsPIC30F3011...

I have this strange problem. I am writing code for dsPIC30F3011 to generate sine-wave with DACTLC5620. As this is one way communication, dsPIC is programmed in master mode. Code is small and it writes...

View Article

Error: undefined reference to `.const' (groschh)

Hi newsgroup, Project is set to "Large Code Model" and "Large data model". What is the possible reason for Error message above? after adding some files to my existing project I'm facing a strange...

View Article


C30 v3.31 installer for Linux (octal)

Where can I download C30 v3.31 installer for Linux. Microchip archives contains only Windows installer version...

View Article

Data type size question, size_t, DWORD and calling assembly subroutine (Chris K)

Using PIC24, C30 what data type is "size_t", is it 16bit?It's the return value from the strlen function and also used in the MDD FSfread function. Also, how are 32bit DWORD values passed to assembly...

View Article

PROBLEM IN RECEIVING STRING USING UART (rupesh9371)

HELLO ALL,I AM TRYING TO RECEIVE A STRING FROM HYPER TERMINAL ,AND SAVING THE STRING INTO A ARRAY ,BUT PROBLEM IS THAT IT SAVING ONLY FIRST FIVE CHARACTERS AND DISCARDING THE REST ,CAN ANY ONE HELP ME...

View Article
Browsing all 304 articles
Browse latest View live


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