Quantcast
Channel: MPLAB XC16
Browsing all 1508 articles
Browse latest View live
↧

Linux: xc16 doesnt't see peripherial libraries (cwanish)

Hello,I have problem with legacy peripherial libraries.I install the whole IDE on Ubuntu the finrt time. I got the IDE wornikg, compiler installed.Llegacy peripherial libraries installed from the...

View Article


Basic project file include structure (zetharx)

Can someone explain what I am doing wrong here? I feel like this should be simple, but I cannot get these to compile as a project and link together properly. I understand that you only #include header...

View Article


XCLM: No configuration file found (zetharx)

I am pretty green on the embedded scene, google has failed me on this particular error/warning I am getting, so I thought this community might be able to help. What do I need to do in order "find" the...

View Article

_write_flash24() etc. documentation (nwetter)

I've seen plenty of references online to _write_flash24() and associated functions for writing to program memory, but can't for the life of me find their actual documentation. I've Googled, searched...

View Article

Bad compiler output but no debug produced so hard to locate - XC16 not to be...

I'm working on general timer routines compiled for both the dsPIC33EP265MU806 and the PIC24FJ256GB106 micros. So I started to test the results of my timers on both, in both cases compiled with the XC16...

View Article


Trying to create a large array using XC16 and MPLAB X for the...

I am new to these tools but have used previous MPLABs and C30 on PIC24 parts before. I chose the FJ256 part because it has 96kB RAM. As an exercise in working with the part I tried creating a very...

View Article

Link Error: Could not allocate section ... on dsPIC33EP512MU810 (Geri)

Hello I try to compile a project for dsPIC33xxx controller. If I set controller in project options to dsPIC33FJ128MC810, the program compiles successfully.If I set dsPIC33EP512MU810, I get a compiler...

View Article

H and L SPI Registers (dekk______0)

Forum, Pulled the following read/write examples from another post:void SPIPut(unsigned char v) { while(!SPI2STATbits.SPITBE); // wait for TX buffer to empty SPI2BUF=v; // write byte to TX buffer...

View Article


Help understanding pointers (dekk______0)

Forum, Function SPI1_Exchange (taken from SD card current MLA example) (see below) employs pointers. The following is my attempt at sending and receiving data from SPI1_exchange. #include #include // I...

View Article


looking to import image data: MPLABX V3.5, MLA PIC 24 (ksMTI)

I am trying to import graphic images in a mla project. WYSIWYG is not critical. Is there a tool to import images into the graphics PIC24 project?..

View Article

Microchip Ethernet and NMEA 2000 (CAN) Development Baords (dekk______0)

Forum, Would someone please recommend one or two of the following type of development boards:1. Ethernet,2. NMEA 2000 (CAN with custom maritime messages). Need something quick and easy to use to both...

View Article

/Makefile-impl.mk:39: recipe for target '.build-impl' failed (EH)

Dear Community, I defined in my header file this global variable:extern unsigned int ScreenMem ; and this procedure:void SetColor (unsigned int X, unsigned int Y, unsigned int col); And I use the...

View Article

PIC24FJ128GA202 - Initializing micro SD card - baby steps (dekk______0)

16Oct Update - Posted updated project capture solution to problem #1. Existing Problems:1. I can see data coming from the micro SD card via an oscope though I cannot detect it in code,2. The data that...

View Article


PIC24FJ16GA004 running RTCC, but with fast internal oscillator (MPicSte)

Hello! Am I right in thinking that on PIC24FJ16GA004, if using the RTCC, then the main core has to share the RTCC's (SOSC) clock? Is it not possible to clock the core as fast as possible (8M+PLL) and...

View Article

C30 to XC16 Problem (Psychic)

I have an old thoroughly tested C project that was built in MpLab 8.7 using the C30 compiler for a PIC24FJ256GA106 I now want to continue work on this project in the latest MpLabX using the latest XC16...

View Article


PIC24FJ128GA202 - Initializing micro SD card - baby steps after CMD0...

Setup:Panasonic, 4GB, SDHC, RP-SMKC04, V3.01.PIC24FJ128GA202MSD card and PIC are connected via TI tx0304Added 10kohm pull up resistors all SPI ports on PIC side. I am using "SD Specifications Part 1...

View Article

Slow Data transmission in SENT Protocol: dsPIC33EV (nharshiin)

Hi, I am using dsPIC33EV 5V CAN-LIN STARTER KIT (Part Number: DM330018) and the demo code from Microchip website. The example code did not include slow data transmission. I need help in writing the...

View Article


XC16 1.25 and RTCC library (lelsteph)

HelloXC 16 1.25 does not come with the peripherals libraries anymore, they must be downloaded separatetly which I did.Using the RTCC function, I noticed it is no more working. Selecting XC 1.22 works....

View Article

Large code model (JanJansen)

Hi, i wanto set the large code model for the DSPICFJ128GP802 in XC16, as suggested in another topic.I looked in the XC16 manual, it says it exists a few times only i can not find how to set it. Can the...

View Article

Problem Writing to external SRAM (winikul)

Hello I am using Development board for PIC24FJ256DA210. Trying to write External SRAM using EPMP .But could not write to it I ma attaching my code alongPleas let me know what is the reasonThanx in...

View Article
Browsing all 1508 articles
Browse latest View live


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