Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) PIC Chip Support (Read 41579 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: PIC Chip Support
Reply #20 - Dec 18th, 2013 at 10:07pm
Print Post  
Ok thanks. 

Forgot to add a link to the mpide download page. doh!

http://chipkit.net/started/install-chipkit-software/install-mpide-windows/


  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: PIC Chip Support - HOW TO INSTALL CHIPKIT SUPPORT (ALPHA)
Reply #21 - Dec 19th, 2013 at 12:35am
Print Post  
@fatboyatdesk Sorry this took so long!

How to add support for mpide to Visual Micro



Thanks to PeterM for preparing most of the MPIDE configuration!
« Last Edit: Dec 22nd, 2013 at 4:15pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Daniel Riches
Junior Member
**
Offline


Posts: 12
Joined: Nov 11th, 2013
Re: PIC Chip Support
Reply #22 - Dec 19th, 2013 at 5:33pm
Print Post  
Hi Tim,
Nice work! Unfortunately for me the Fubarino SD board doesn't work which is what mine is based upon, the others MAX32, UNO32 work fine. I have two versions of board which use the MX440F512 and the MX460F512. The later is fine as I can use another defined board and just change a few pins regarding the LED and BTN which is used to switch to programming mode after a reset. 
My current board however uses the 440F512 part which I can't get to work, although it works fine under MPIDE. 

I looked at all the differences there could be and it seems it'll be the board_data and board_defs in the variants folder. It's also possibly the 440F512 linked file for that processor.

I tried changing the board type to Fubarino SD so it's not using my possibly broken setup and that gave the exact same results. My trial period expires in 9 days so I'll probably buy a full license in the new year once the mayhem of Christmas is over!

I know you're busy so I won't pester any more, here's the output from visual studio:

EDIT: now solved admin removed for easier reading of this thread

Again, thanks for your huge effort on this! If you do get it working and want me to test anything let me know, I'll be glad to help.

Have fun, Dan
« Last Edit: Dec 22nd, 2013 at 4:14pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: PIC Chip Support
Reply #23 - Dec 19th, 2013 at 5:41pm
Print Post  
Great to hear the chipkit boards work. There needs to be some work to support the rest of the mpide boards. Hopefully this can be done prior to the next release in a few weeks.

I think the easiest solution will be to alter Visual Micro so that it strips the double colons from the mpide config files for properties such as cpp flags. It looks like if we do this we can use more of the mpide config which should then ensure the correct properties for boards such as yours. 

I will have a tinker when I get time. Thanks for the feed back
  
Back to top
WWW  
IP Logged
 
Daniel Riches
Junior Member
**
Offline


Posts: 12
Joined: Nov 11th, 2013
Re: PIC Chip Support
Reply #24 - Dec 19th, 2013 at 5:44pm
Print Post  
Now that's rather curious! I changed my code after selecting the fubarino sd board, then commented out all the Serial IO such as Serial.begin(9600) and the Serial.Prints. It now compiles! It also compiles on my version of the fubarino board which is called fubarino sdr
« Last Edit: Dec 22nd, 2013 at 4:13pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Daniel Riches
Junior Member
**
Offline


Posts: 12
Joined: Nov 11th, 2013
Re: PIC Chip Support
Reply #25 - Dec 19th, 2013 at 5:46pm
Print Post  
Outstanding, thanks Tim!!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: PIC Chip Support
Reply #26 - Dec 20th, 2013 at 9:39pm
Print Post  
Hi,

I have just done more testing it looks like all the Pic32 boards are compiling correctly.

It's possible that your eariler compile attempts cached the compiled mpide core which still contained the wrong settings. If you are still having any problems please click "Build>Clean Solution" then try the compile again.

Please confirm if Serial is then working with your Pic board. 

Thanks
  
Back to top
WWW  
IP Logged
 
Daniel Riches
Junior Member
**
Offline


Posts: 12
Joined: Nov 11th, 2013
Re: PIC Chip Support
Reply #27 - Dec 22nd, 2013 at 1:22pm
Print Post  
Hi Tim, Great work chap. I'll give this a good testing on Monday evening and let you know how it all goes. I did have a quick chance to perform a clean build and this worked first time with my new board defines, I don't know why I didn't try that before.

Have fun, Dan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint