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
MPLAB X
MPLAB X
- Attachments
-
- Kerhuel Blockset with MPLAB X.pdf
- same info but with images
- (242.43 KiB) Downloaded 2452 times
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: MPLAB X
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
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
Who is online
Users browsing this forum: No registered users and 1 guest