Matlab-Simulink device driver Blockset for Microchip dsPIC / PIC24 / PIC32 Microcontrollers

Release Notes

From http://www.kerhuel.eu/wiki - Simulink device driver Blockset for dsPIC / PIC24 / PIC32 Microcontrollers --[[User:LubinKerhuel|LubinKerhuel]] 12:40, 3 September 2009 (UTC)

Jump to: navigation, search

Download the PIC / dsPIC Blockset for Simulink v3.2c (27/07/2010) suporting 81 chips.

Supported microcontroller : 81



See Release Notes and known bug for details

PIC 24F ' PIC 32F** ' PIC 30F ' PIC 30F ' PIC 33FJ GP ' PIC 33FJ MC ' PIC 33FJ GP ' PIC 33FJ MC*
24fJ128GA006 32MX360F256L 30f2010 30f5011 33fJ128GP206 33fJ256MC51033fj128GP20233fj128MC202
24fJ128GA008 32MX360F512L 30f2011 30f5013 33fJ128GP306 33fJ256MC71033fj128GP20433fj128MC204
24fJ128GA010 32MX460F256L 30f2012 30f5015 33fJ128GP310 33fJ64MC50633fj128GP80233fj128MC802
24fJ64GA006 32MX460F512L 30f3010 30f5016 33fJ128GP706 33fJ64MC50833fj128GP80433fj128MC804
24fJ64GA008 30f3011 30f6010A 33fJ128GP708 33fJ64MC51033fj32GP30233fj32MC302
24fJ64GA010 30f3012 30f6011 33fJ128GP710 33fJ64MC70633fj32GP30433fj32MC304
24fJ96GA006 30f3013 30f6012 33fJ256GP506 33fJ64MC71033fj64GP20233fj64MC202
24fJ96GA008 30f3014 30f6013 33fJ256GP510 33fJ128MC50633fj64GP20433fj64MC204
24fJ96GA010 30f4011 30f6014 33fJ256GP710 33fJ128MC51033fj64GP80233fj64MC802
30f4012 30f6015 33fJ64GP206 33fJ128MC70633fj64GP80433fj64MC804
30f4013 33fJ64GP306 33fJ128MC708
33fJ64GP310 33fJ128MC710
33fJ64GP706
33fJ64GP708
33fJ64GP710
* PIC 32F
SPI function not suported yet;
* Compiler known and fixed bugs 
* Check your compiler installation and version 
at the matlab prompt ==> !pic30-gcc -v for pic30 and !pic32-gcc -v for pic32.
**Check pic32 compiler v 1.04 Workaround
**Check pic30 compiler v 3.12 Workaround



























Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


When the model is used with another Matlab version, you should reconfigure the simulink model using this bloc. (see examples in the sample directory of the toolbox)

Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


Thanks to Evidence Srl for providing a Flex Board for Microchip dsPIC based on 33FJ256MC710 allowing to test the toolbox with this chip.

Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


Output Compare is working otherwise

Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


Know BUG : Output Compare PWM generation does not work when Power Save mode is activated on 30f4013 and probably on others chips! Output Compare is working otherwise

Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !


Know bug : before compiling schematic for dsPIC 24f, you must remove the line 56 of Generic.h file which is in "C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F" The line : "typedef enum _BOOL { FALSE = 0, TRUE } BOOL;" does not compile !







Early 2007 : first version released (no date or version number)



admin Template:blocksetVersion Template:blocksetDate Template:blocksetNbrChips Template:picList


Name (required):

Website:

Comment:

Personal tools
Namespaces
Variants
Actions
Blockset
Lubin Kerhuel
Wiki
Toolbox