Lubin,
I imagine this does not work with the demo version does it.
Search found 23 matches
- Sat Jan 14, 2012 6:30 pm
- Forum: General Remark and Questions
- Topic: how to use custom c source code
- Replies: 9
- Views: 30922
- Tue Jan 03, 2012 6:21 am
- Forum: General Remark and Questions
- Topic: PIC12f
- Replies: 1
- Views: 12704
Re: PIC12f
To my knolewdge, the blockset developed by Lubbin only suports PIC24, 30, 33 and 32 whereas the one developed by microchip only suports 30 and 33. So currently none of the 8 bit controller is suported.
- Wed Dec 28, 2011 7:21 pm
- Forum: General Remark and Questions
- Topic: PIC32MX360F512L and MCP4922
- Replies: 1
- Views: 13037
Re: PIC32MX360F512L and MCP4922
I think the problem is with the configuration of the SPI of the PIC32 in the blockset itself. though You can configure SPI1 and compile it without error, when fired in the microcontroller it does not produce any result in fact it stops in the place mentioned in the comment. Worse still if you try to...
- Thu Jun 23, 2011 9:53 am
- Forum: General Remark and Questions
- Topic: Difference btw MATLAB Device Blocks for MPLAB IDE
- Replies: 2
- Views: 15129
Re: Difference btw MATLAB Device Blocks for MPLAB IDE
Just to give you one reason which comes to my mind. The microchip blocksets only incorporate DSPIC30 and 33 where Lubbin's, on top of the above two, it incorporates PIC32 as well. This is a big difference for me. On top of that, Lubbin developed his blocksets if I remember well before microchip. So ...
- Mon Nov 29, 2010 8:14 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Dear Lubin, I am sure of the link but I think this is the one: http://lubink.free.fr/projelectro/Protocole_PIC_Matlab_Labview/Protocole_PIC_Matlab_Labview_FR.html It says I quote:"Les ports COM disparaissant peu à peu des PC et notamment des portables, on peut utiliser des adaptateurs série=>USB ave...
- Sun Nov 28, 2010 8:22 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Dear Lubin, I am using rs232gui to read data from the PIC32 through its UART. Because I am using LAPTOP where it only has USB connections, the data could only be read through com3 as it is specified on your site. Things which I did and the connection was established: Connecting... May take few secon...
- Tue Nov 23, 2010 11:03 am
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Thank you Lubin,
I will give it a try and see.
I will give it a try and see.
- Mon Nov 22, 2010 8:40 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Dear Lubin, Thank you very much for your help. Yes I finally got to the final hurdle, where I loaded the application into MPLAB and compiled it successfully as you mentioned then loaded it into the PIC32 and it worked fine. But I have a small problem. I am trying to follow the program using step by ...
- Sun Nov 21, 2010 11:01 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Hi Lubin, I wrote a small program in simulink just as a test, which reads a couple of switches and sends them back to a couple of LEDs. Then I compiled it, and imported it into MPLAB using hex file and it works perfectly. But When I created a MPLAB project and tried to link the bits and pieces as it...
- Tue Nov 09, 2010 11:23 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Lubbin,
I have tried the new version 3.3 but it is still giving me the same error message:
Load Main Project (or) Set Main Project as Active Project
Failed to import Generated Files. Check the Build Window to know the Status of Build. No message was reported in the matlab build window??
I have tried the new version 3.3 but it is still giving me the same error message:
Load Main Project (or) Set Main Project as Active Project
Failed to import Generated Files. Check the Build Window to know the Status of Build. No message was reported in the matlab build window??
- Sat Nov 06, 2010 1:41 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Thank you Lubin for your valuable info.
- Fri Nov 05, 2010 8:11 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
Re: rs232gui and PIC32 starter kit
Thank you lubbin. I tried to find a way how to downlad the hex file using PIC32 starter kit from MPLAB but I did not find out how to do it. So I tried to import the file into MPLAB using TOOLS then MATLAB/SIMULINK then specify the file name which was opened successfully. Then GENERATE CODE which is ...
- Mon Nov 01, 2010 12:27 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: rs232gui and PIC32 starter kit
- Replies: 16
- Views: 32033
rs232gui and PIC32 starter kit
Dear Lubin, I want to download a matlab application to the PIC32 using PIC32 starter kit. I looked at the rs232gui. It only has the com ports but no USB port, which is used on the starter kit to program the PIC32. Is there a way to how I could get round this problem? What about if I am using the PIC...
- Sat Jan 17, 2009 1:07 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: fuzzy logic
- Replies: 8
- Views: 21347
Re: fuzzy logic
Dear malife I am using the DSPIC30F5014. It has a considarble memory. If fact I checked the memory used: It using 5906 from the program memory which is: 49152 and using 2934 from 8192 available. so there is still a considerable memory. I think the problem is how to relocate the stack and how to incr...
- Fri Jan 16, 2009 6:17 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: fuzzy logic
- Replies: 8
- Views: 21347
Re: fuzzy logic
Dear Malife, What I am basically doing is to use MATLAB fuzzy logic. The number of rules implemented is 25 rules. As a guess, when the program is compiled in MATLAB then transfered to MPLAB, and built, those rules probably introduce too many loops which requires a larger stack. And that is probably ...
- Mon Jan 12, 2009 1:03 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: fuzzy logic
- Replies: 8
- Views: 21347
Re: fuzzy logic
Dear Mario thanx for you help In the next step by step and what happened in W14 and w15 and where it jumps, probably you figure out the bug I executed the program in step by step mode. the instruction at address 686 is: 00686 FA1B48 lnk #0x1b48 Before execution the registers contents are: W14 = 137C...
- Wed Jan 07, 2009 11:38 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: fuzzy logic
- Replies: 8
- Views: 21347
Re: fuzzy logic
Dear Lubbin,
What I did, is to build the model in the MATLAB using the your blocksets. Then I built the system successfully.
Then I loaded the resulting files into the MPLAB V8.15a in the way is explained in your tutorial. Then I tried to run it. I was faced with dilema the I mentioned to you.
What I did, is to build the model in the MATLAB using the your blocksets. Then I built the system successfully.
Then I loaded the resulting files into the MPLAB V8.15a in the way is explained in your tutorial. Then I tried to run it. I was faced with dilema the I mentioned to you.
- Wed Jan 07, 2009 9:48 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: fuzzy logic
- Replies: 8
- Views: 21347
fuzzy logic
Dear Lubin, I have tried to simulate a controller of the speed of a motor using fuzzy logic. After developing the model in MATLAB and transfer it to MPLAB V8.15a and build it. All went ok. But when i fired the program into the DSPIC30F6014 and tried to run it using microchip ICD2, it starts to run b...
- Wed Oct 15, 2008 9:54 pm
- Forum: Request for new functions / Peripheral / Chip support
- Topic: fuzzy logic
- Replies: 5
- Views: 17449
Re: PIC32MX360
that is exactly what the message says
- Fri Oct 10, 2008 8:57 am
- Forum: Request for new functions / Peripheral / Chip support
- Topic: fuzzy logic
- Replies: 5
- Views: 17449
Re: PIC32MX360
Dear Lubbin, I am trying to develop a simulink simple model using PIC32, but unfortunately i get the following message: [ color=#FF4000]process_begin: CreateProcess(NULL, pic30-gcc -c -mcpu=32MX360F512L -O3 -fschedule-insns -fschedule-insns2 -O -I. -I..\.. -IC:\PROGRA~1\MATLAB\R2007b/simulink/includ...
- Mon Sep 15, 2008 9:16 am
- Forum: Request for new functions / Peripheral / Chip support
- Topic: fuzzy logic
- Replies: 5
- Views: 17449
fuzzy logic
Dear Lubin, I have tried to simulate a controller of the speed of a motor using fuzzy logic. After developing the model in MATLAB and transfer it to MPLAB V8.15a and building it. All went good. But when i fired the program into the DSPIC30F6014 and i tried to run it, it stops. I then run it in step ...
- Tue Jun 03, 2008 5:49 pm
- Forum: Requirement, Installation & Configuration
- Topic: blocksets do not appear in simulink
- Replies: 3
- Views: 12503
blocksets do not appear in simulink
Dear Lubin, I have just baught a new laptop with windows XP installed. I installed MATLAB R2007B, as well as MPLAB 8.10 and microchip C30 students version. Then I tried to install the block sets into simulink by finding the directory which contains install _dsPIC_R2007b. I excuted it. Then the insta...
- Tue Apr 08, 2008 8:04 pm
- Forum: Requirement, Installation & Configuration
- Topic: MPLAB matlab
- Replies: 2
- Views: 10200
Re: MPLAB matlab
Thank you so much Lubin
i would like to compliment you. you really did an excellent job BRAVO
For the problem i had solved it
i would like to compliment you. you really did an excellent job BRAVO
For the problem i had solved it