MPLAB X

Importing generated within MPLAB IDE & related tricks.
Post Reply
resodad
Posts: 71
Joined: Tue Jul 07, 2009 1:06 pm
Location: West Point, New York

MPLAB X

Post by resodad » Tue Aug 09, 2011 5:12 pm

Blockset version 3.6 auto-generates a project folder for Microchip MPLAB X. Thanks Lubin--NICE!
I am a beginner with MPLAB X, but these steps worked for me:

Build the Simulink project and open MPLAB X.
Click the Open Project icon (or File > Open Project… or Ctrl + Shift + O).
Navigate to the Matlab working directory and select the project folder: model_name_dspic.
MPLAB X opens the auto-generated project. Source files are visible.
Click the Debug Project icon (or Debug Menu > Debug Project or Ctrl + F5).
MPLAB X asks for the tool to use. Select your programming device. Mine is PIC32 starter kit.
MPLAB X automatically builds, connects to hardware, programs, and runs the program.
After making changes to the Simulink model and rebuilding, click the “Finish Debugger Session” icon.
And then click the Debug Project icon again to reprogram.
Or to program without the debugger click the icon to “Make and Program Device.”

john
Attachments
Kerhuel Blockset with MPLAB X.pdf
same info but with images
(242.43 KiB) Downloaded 2452 times

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: MPLAB X

Post by LubinKerhuel » Sat Aug 13, 2011 12:15 am

Hi John,

Tanks for taking time to make this tutorial.
I linked it to the wiki to make it accessible more easily, next to your latest tutorial about Cerebot kit.

Lubin

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest