Author Topic: MPLAB X: MCP19111X Plugin-In project has errors  (Read 662 times)

0 Members and 1 Guest are viewing this topic.

Offline PaligstradnieksTopic starter

  • Newbie
  • Posts: 2
  • Country: lv
MPLAB X: MCP19111X Plugin-In project has errors
« on: April 28, 2019, 12:50:55 pm »
Hi!

This is my first post. If this post doesn’t apply to idea of this section, feel free to remove it to other section or delete it. But I hope this is the right place, because I believe that what I have not done right is pretty simple – didn’t install some kind of driver, misspelled something in code etc. maybe someone had some experience with these tools.  :-//

I have a problem with microchip’s MPLAB X “MCP19111X Plugin-In”. I already tried to contact with microchips support, but usually there are some problems (the log in page not working, no answer in support phone number, no reply on e-mail etc.). As last straw, there is Microchip’s forum. I am waiting for moderators to accept my registered account, but when that might happen?

I have development board ADM00397 for MCP19111. My idea was to try programming MCP19111 chip in this board. I am total newbie in C, but I thought “hey, they made Plug-In which generates whole project! Maybe I can do something about it by just using the Plug-In with my PickIt3.”

But when I try to build those projects, I get errors and NOTHING works as, in my opinion, should.
For example, I have set these parameters (first attachment) and the Plug-In generated this project (second attachment).
When I try to build, I get this kind of output (third attachment).

I also have tried to fix all errors by digging in the code(s) and changing some lines (list in fourth attachment). All those errors looked … just … too simple. Of course, when I upload hex of this “fixed” project, the ADM00397 doesn’t work at all.

Tried changing those links C99 vs C90, but no progress. Using latest MPLAB X and XC8.

Usage of registers also seems logical as much I could understand.

The big question is: what I am doing wrong? What is missing here? Wrong versions? Wrong parameters? Wrong karma?
« Last Edit: April 28, 2019, 12:55:06 pm by Paligstradnieks »
 

Offline PaligstradnieksTopic starter

  • Newbie
  • Posts: 2
  • Country: lv
Re: MPLAB X: MCP19111X Plugin-In project has errors
« Reply #1 on: May 05, 2019, 05:18:07 pm »
The problem is kind of solved in other forum. I had to switch to other compiler XC8 version. I the end v1.42 seems the latest to compile projects from MCP1911X Plug-In. At least there are no errors.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf