(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 ArticleFunction 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 Articleproblem 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 ArticleHow 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 ArticleReaching 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 ArticleMultifile 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 ArticleDSPIC 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 ArticlePSV > 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 ArticleWhere 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 Articlestarter 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 ArticlePrevent 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 ArticleASM30 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 ArticleAccess 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 ArticleReading 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 ArticleMPLAB 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 ArticleSPI 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 ArticleError: 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 ArticleC30 v3.31 installer for Linux (octal)
Where can I download C30 v3.31 installer for Linux. Microchip archives contains only Windows installer version...
View ArticleData 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 ArticlePROBLEM 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