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

Is there a way to force C30 generate a Jump Table for a simple switch()...

[some sunday question, again I have a simple switch() with some 8 cases, based upon an enum hence all consecutive: but the compiler still generates a bunch of Comparisons/Branch... no matter what...

View Article


Is it possible to relocate the interrupt vector table? (niwnfyc)

I'm using the dsPIC33FJ256GP710 with the C30 compiler. Is it possible to move the IVT to a different memory address? What I would like to do is setup a bootloader that uses memory locations 0x00000 to...

View Article


SET_TRIS_B() function (cdobuff)

I have just started using PICs again after a 4 year absence! I have previosly used asm to program but my company has provided me with a C assembler. I want to simply set all the pins on port b to...

View Article

MPLABX IDE, C30 compiler issue (Immanuel Raja)

Hi, I am using MPLABX IDE V4.05. and am getting the following error. build/default/production/CM.o(.text+0x174be)c:\program files\microchip\mplabc30\v3.31\bin\bin\..\bin/pic30-elf-ld.exe: Dwarf Error:...

View Article

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 Article


DSPIC33EP512MU810 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 Article

No RSS Feed Item Available

View Article

c++ cross compiler for pic (dspic30f6011a)

is there any c++ cross compiler available for pic micro controller. thanks..

View Article


How 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 Article


DSPIC33EP512MU810 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 Article

What 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 Article

Linker 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 Article

PIC24FJ128GA006 : 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 Article


Do 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 Article

No RSS Feed Item Available

View Article


Where 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 Article

Different HEX files. (mark42)

Hello,I have Source code for PIC24(using C30-V3.30 compiler) written in embedded c.Whenever I try to compare the HEX file of same source code compiled on two different machines(using same compiler with...

View Article


PIC24FJ128GA006 : 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 Article

SET_TRIS_B() function (cdobuff)

I have just started using PICs again after a 4 year absence! I have previosly used asm to program but my company has provided me with a C assembler. I want to simply set all the pins on port b to...

View Article

MPLABX IDE, C30 compiler issue (Immanuel Raja)

Hi, I am using MPLABX IDE V4.05. and am getting the following error. build/default/production/CM.o(.text+0x174be)c:\program files\microchip\mplabc30\v3.31\bin\bin\..\bin/pic30-elf-ld.exe: Dwarf Error:...

View Article
Browsing all 304 articles
Browse latest View live


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