Trouble bit-banging a 74HC164 shift-register (Spottymaldoon)
I'm bit-banging from a 32MX (80MHz) to a 74HC164 8-bit shift register. My clock is controlled by RA9, data via RA10 and the chip enable is through RB7. Why doesn't the following work please? void...
View Articlec++ cross compiler for pic (dspic30f6011a)
is there any c++ cross compiler available for pic micro controller. thanks..
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 ArticleDSPIC33EP512MU810 ASL2/ASDA2 I2C PROBLEM (Cengizhan)
Hi,In my project I use dsPIC33EP512MU810 and XC30 tool with MPLAB. I try to communicate with I2C protocol between pic and DS1682 ETC sensor the former is master and the latter is slave. From the...
View ArticleWhat does (a!xr) mean in a linker script? (arnold_w)
Below is an excerpt from a standard linker script: data (a!xr) : ORIGIN = 0x800, LENGTH = 0x4000 reset : ORIGIN = 0x0, LENGTH = 0x4 ivt : ORIGIN = 0x4, LENGTH = 0xFC aivt : ORIGIN = 0x104, LENGTH =...
View ArticleLinker Script Error: section .handle problem (asmallri)
I am working on a high memory bootloader for the PIC24F developed using C30. When code origin is set to 0xF000 or below the code links correctly. If the origin is set above the first 64K page, such as...
View ArticleDo we really need the volatile qualifier? (DavidePizzolato)
In the forum, a common answer to solve problems with interrupts is something like “declare the variable as volatile”. I have fully functional softwares with many shared variables and many interrupts,...
View ArticleWhere is: 16-Bit Language Tools Reference Manual (RogerAF)
Where can I Find the "16-Bit Language Tools Reference Manual" (DS50001456). The Reference Manual search turns up no documents...
View Articledspic33ck problems using __builtin_add in interrupt routine (Michiel_D)
Hello, When I use the __builtin_add function inside the main loop it works fine, but when I try to use it in an interrupt routine it doesn't work. Can someone help me out? The __builtin_sac function...
View ArticleNeed a little help in reading assembly code (underdogFTW)
I don't have much of a coding background, so I'd really appreciate a little help here. I found a program on dspic33 product page and I'm trying to understand how it works.In the main file, they called...
View Articlerandom number generator (rianovich96)
Hello, I need a true random number at MCU startup, so I tried capture TMR1 but no success :) the same value returned and I guess this is right, since the same clock involved. I tried also A/D module...
View Articlewarning implicit declaration of function with C30 in MPLABX (dlc@frii.com)
My pardons if this is a duplication, but there was a doubt that I posted this the first time. So just to be sure... Details:PIC24FJ64GA002MPLAB X 5.25C30 3.31Windows 10 Enterprise Yes, this is C30, not...
View ArticledsPIC33 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 ArticleStore Struct in AUX Flash on ds33EPMU806 (Dareon)
How do I get an initialized structure to get placed into the auxflash program memory? I am wanting to place some constants into memory that are accessable to both the bootloader and application....
View Article$100 REWARD for help that solves: Very different compiled program sizes on...
UPDATED: I will Paypal or Venmo $100 to anyone that helps me get optimization=3 to be identical between Windows 7 and Windows 10 machines! My sincere thanks to all the smart people who have a clue...
View ArticleLink Error: Could not allocate section .text (funbotix)
Hi, I'm doing a project with a PIC24HJ128GP510. When I do a build, the build window shows that I've used about 70% of the code space and about 50% of the RAM. However, I also get a few of these error...
View ArticleWhere 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 ArticleRTCC with PIC24F Peripheral Library (Lame_Blacksmith)
Greetings everyone! Great compiler, with some issues though. I've been looking for two days now, how to make the RTCC work. I'm using MPLAB X, last C compiler (to the date of this post) V3.31. I'm...
View ArticleInstall Problems C30 (richi_d)
Hello,need to install C30 compiler for an older project. But I always get this message, it works on another machine, but need it at this computer - Win10 Professional Any ideas?..
View ArticleUnable to turn off PLL when switching clocks PIC24FJ64GA0002 (RoboDLC)
I have searched for this answer, and tried about every method I can think of, but I have a problem with switching the clock on a 24FJ64GA0002. I can switch into the 32MHz FRCPLL mode, but cannot switch...
View Article