Quantcast
Channel: MPLAB XC32
Browsing all 1537 articles
Browse latest View live
↧

Compiler weirdness 1.20 and 1.21 (gweb)

I cannot understand what is happening, I am porting uip to pic32 I have the following code: static void send_discover(void) { u8_t *end; struct dhcp_msg *m = (struct dhcp_msg *)uip_appda

View Article


How do I show the Value of a #define at Compile time? (floatingpoint)

Searched Hi and Lo. This area is not my strong point. XC32 V1.2, PIC32MX460 and MX695 MPLAB V8.90 TCPIP Stack V5.42 Due to a large number of projects using TCPIP stack on both MRF24WBOM and ENC424J600...

View Article


loadables application and bootloader (levvek)

I can't compile my project that includes bootloader and application without error (using the loadables option of MplabX 1.60). I have followed few tips found on this forum (config bits defined in only...

View Article

PIC32 Starter Kit & DBPRINTF (PeterRQ)

Using the PIC32 Ethernet Starter Kit with MPLAB X 1.60, XC32 1.20 If I compile and link main.c with the usual DBINIT(), DBPRINTF(), #define PIC32_STARTER_KIT then if I debug the application I can see...

View Article

long long int with sscanf (swissembedded)

Hi I'm working with jansson on the PIC32MX695F512L with XC32 (v1.21 / windows 7 64bit) and have problems with larger integer values. I tried to get long long int working, but without luck. It seems...

View Article


Timer Question (jkellynpfd)

I've written a basic program for my PIC32MX250F128B processor. It simply blinks an LED every second. I'm using the timer module but it doesn't seem to be working as I intended. I'm having some real...

View Article

PIC32 & Core timer (jkellynpfd)

I have a very basic question, but I'm trying to get my feet wet with the Xc32 compiler and my PIC32MX250128B chip. Right now I have an LED tied to an output and I'm simply want to blink it every 1...

View Article

xc32, c++ strange error (mistree)

I've met a very strange problem while using Mplab x 1.8 with xc32 1.2 (c++). The problem is IDE keeps telling me "Unable to resolve identifier vector" "Unable to resolve identifier xxxxx" when there's...

View Article


Interrupt vector numbers (BDD)

Hi All in p32mx_795f512l.h we have a bunch of defines for interrupt vectors numbers in int_5xx_6xx_7xx.h we have an enum for interrupt vector numbers. I think I do not understand the vector...

View Article


Help me - "The target device is not ready for debugging" (sebincicco)

hi, i've a problem with MPLAB XC32 and ICD3. When I run "debug main project" get the following results: "Connecting to MPLAB ICD 3...Firmware Suite Version.....01.28.57Firmware...

View Article

Documentation is not clear and enough (seyyah)

At first there were macros for interrupts e.g. like: mU3ASetIntEnable() then there is a better way like: INTSetVectorPriority(INT_SPI_4_VECTOR, INT_PRIORITY_LEVEL_3);...

View Article

Is this right for SPI interrupt? (seyyah)

Setup: INTSetVectorPriority(INT_SPI_4_VECTOR, INT_PRIORITY_LEVEL_3); INTSetVectorSubPriority(INT_SPI_4_VECTOR, INT_SUB_PRIORITY_LEVEL_1); INTClearFlag(INT_SPI4E); INTClearFlag(INT_SPI4TX);...

View Article

type cast for dummies (BDD)

Hi All I'm failing to understand what is happening here. INT8 is defined as typedef signed char. This I grasp with the usb stack there is a function. void getsUSBUSART( char * buffer, BYTE Length );

View Article


Free XC32++ licence error mac adress (willyp)

http://img802.imageshack.us/img802/1169/licenceerrormicrochip.jpg Uploaded with ImageShack.us Anyone know what Im doing

View Article

PMP on my PIC32MX795F512 (Valentin_G)

Hello I Am a french student, I have an Ethernet StarterKit with MPLABX and my compiler is XC32 I would like to know how can I define an adress for a variable in my program. Exemple value_lcd @ 0X4000 I...

View Article


Requesting support for _Static_assert (ch)

Hi, C11 has a new feature called static assertions, and it'd be great to have this in XC32. It is my understanding that GCC 4.6 has implemented support for this, but it's not in 4.5 :( Thanks for...

View Article

xc32 graphics library missing terminating ' (grahamst)

Hi, I am trying to port an app which was originally written using the C30 compiler, to the XC32. It calls in drvTFT001.h but then regularly gives me an error :...

View Article


Where is the "PIC32MX Configuration Settings" document? (twdorris)

There are various other documents that list the "PIC32MX Configuration Settings" document in their "Recommended Reading" section. For example, the MPLAB XC32 C/C++ Compiler User's Guide...it says this...

View Article

TestPrint.X.production.elf section `.config_BFC02FF4' will not fit in region...

When i compile the project,it show the following errors: c:/program files/microchip/xc32/v1.20/bin/../lib/gcc/pic32mx/4.5.2/../../../../pic32mx/bin/ld.exe:...

View Article

Question about structs under parallel branches with same-named leaf structs...

XC32 1.21 I have a question about something which hopefully is basic C, but it is keeping me scratching my head in my large project. I have structures with some depth in my application. See the simple exa

View Article
Browsing all 1537 articles
Browse latest View live


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