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

PWM Timer count confusion! (Abdul_Wahid)

Hope every one will be fine.I am confused while generating PWM.I am using MPLABX V3.65, XC compiler v1.31, simulator and dsPIC30F2010center aligned mode. I expect thatPORTE should change its state and...

View Article


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


Getting the most out of our 24bit Code space (Riche)

My code is using quite a lot of multiple lookup constant tables for its graphical interface. Since we are only using 2/3 of every 24bit code space for data, I would have thought that the compile would...

View Article

Confused about size of data types INT and UINT for PIC24... (BobAGI)

I am revisiting the issue of data sizes, specifically int and unsigned int.We are using GenericTypeDefs.h to get around the uncertainty of variable sizes and now I have come across a piece of PIC24...

View Article

divide support of dsPIC30F (Abdul_Wahid)

Hello every body.I am using MPLABX 3.55, dsPIC30F2010 and compiler xc16.I am facing a problem which may be a very simple but it is very big for me.want to remove some right most digits from a long...

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

Whys is this not causing an error in the compiler? (BobAGI)

When working on some bit-bang i2c code for a PIC24FJ256GB206 I accidentally introduced a bug when changing a delay call from my own (working via timers) to the compiler built in. This is what I ended...

View Article

PIC24 - C30 endian revisited again... (BobAGI)

In my previous thread about the PIC24 endian-ness the conclusion was that PIC24 is using the same endian as a PC with Intel CPU.Now I am facing a problem since it seems like this does not really always...

View Article


Jump to an absolute address (mcpro)

I need to jump from C to an absolute address locate at a fixed point in program memory but I cannot find the right way: 1) I tried to use the goto statement of the C but I don't know how to declare a...

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

Question on Declaring Unions and Structures of Bit Fields and Debugging in...

I have a fairly large project which is using MPLab IDE 8.86 and the dsPIC 6014A using the C30 compiler. I have declared a union containing bit-lengthed fields so that I can refer to boolean bits with...

View Article

How to remove the licence warning (PicFan41)

When I build for each file of my project I have this warning : Microchip MPLAB C30 License Manager Version v3_02 (Build Date Nov 9 2007). Copyright (c) 2005 Microchip Technology Inc. All rights...

View Article

Can I put _LATC14=_RB14; acceptably? (Spottymaldoon)

Is the use of "_LATC14=_RB14;//repeating CS" in the following snippet OK? while(1) { if(_RB10)//Enable from 32MX { _LATB11=1;B1;//send "ready" to 32MX LED on _LATC14=_RB14;//repeating CS } else...

View Article


DSPIC30F2010 (HARI 123)

PLEASE ANYONE HELP ME FOR THE PROGRAM FOR LCD IN 4BIT MODE INTERFACING WITH DSPIC30F2010.AM USING C30 COMPILER AND MPLAB IDE.I WROTE PROGRAM SUCCESSFULLY BUT I CAN'T GET OUTPUT IN BREADBOARD.HERE IS MY...

View Article

placing object files at specific address (rinke)

Hello community, firstly what i am using: dsPIC33EP512MU810 MPLAB 8.92 MPLABC30, V3.30 The problem: i want to place two object files at the adress 0x0800, then have a gap until 0x1000 an place all the...

View Article


Placing library file at specific address (aodhanc)

My setup:PIC24FJ10246A10MPLABX v4.01XC16 v1.33 The problem:I am trying to place a library (ezbl_lib.a) at a specific location in flash 0x100. I want to do this so that the library resides in low...

View Article

Error: processor ID not specified in generic header file (karan123)

Hello, How I sort out following Errors?in MPLAB C30 In file included from PSV.c:2: C:/Program Files/Microchip/MPLAB C30/support/PIC24H/h/p24Hxxxx.h:170:2: error: #error -- processor ID not specified in...

View Article


Creating Read/Write Parameters for UART (neunited)

Hello there, I wish to read and write parameters using UART for my dsPIC30F3010 to obtain values of particular ints, floats which were declared in my program. I am beginner level and I wanted to...

View Article

DALI timing failure DALI Stack for PIC16F788 (nopodige)

Hi all, We have ported the DALI stack code to PIC16F1788. We are currently facing the below issue. We would like to tweek the DALI stack and correct the DALI timings. Please guide us. Issues are : 1)...

View Article

Half Duplex software UART(bit banging) using single gpio pin? (Vikranth)

I am using Curiosity microchip development board with PIC16F18326 MCU, I am trying to write software bit-banging half-duplex using single GPIO pin, using single gpio pin I need to Tx and Rx. Please...

View Article
Browsing all 304 articles
Browse latest View live


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