Skip to content

MPLAB-Device-Blocks-for-Simulink

Latest

Choose a tag to compare

@LubinKerhuel LubinKerhuel released this 13 Jul 17:11

MPLAB Device Blocks for Simulink v3.63.19

Online documentation: https://mplab-blockset.github.io/MPLAB-Device-Blocks-for-Simulink/

New Features

  • Watchdog/DMT and Reset Status blocks. Window-gated watchdog and dead-man-timer configuration. Reset causes are reported via an optional RCON port and the ResetEvents parameter. Multiple status blocks are supported. DMT availability is gated per device.
  • Alternate Interrupt Vector Table (AIVT) support for classic 16-bit dsPIC (33CK, 33CH, 33EV, 33EP-GS, 33CDV). Configures the AIVT fuse, sets up BSLIM in the Master block, and prefixes all interrupts.
  • Interrupt Read Value block. Reads an interrupt flag from the model. Per-interrupt clear actions select how each flag clears on entry.
  • Programmatic picgui API for scripted logging, acquisition without the GUI.
  • External mode: slider binding is extended to un-promoted tunable parameters.
  • Three board templates: MCLV-48V-300W (dsPIC33AK512MC510, Pegasus DIM), Curiosity dsPIC33CK GP (dsPIC33CK256MP508), and Curiosity Nano EV08P02A (dsPIC33CK256MC005).

Corrections

  • PLL clock startup is corrected on dsPIC33A and PIC32A. Bring-up order is revised and guards are added.
  • UART DMA is corrected on dsPIC33CK and 33CH. Rx Circular DMA selection persists across save and reopen. Tx DMA resend and channel-enable errors are resolved.
  • High-speed 12-bit ADC pin routing is corrected for ADC3, ADC4, and ADC5.
  • The Change Notification block no longer misuses a 32-bit SCCP timer on dsPIC33A and classic dsPIC33C.
  • The high-speed analog comparator (without slope) now reports a clear error on unsupported devices instead of failing at compilation.
  • Programming reliability is improved: native ipecmd invocation, serial-number tool selection, orphan-JVM cleanup, and stale-tool reclaim.
  • PIL robustness is improved. Stale main.o artefacts are removed and PIL_Delay is enforced as numeric. Linux External-Mode COM-port validation and single-tasking scheduler edge cases are corrected.

Toolstrip and Diagnostics

  • Ribbon icons are re-rendered from SVG. PNG assets are smaller. The layout is unchanged.
  • picInfo reports the latest GitHub release and gives an update hint.
  • Build, Deploy, and Start messages are routed to the Diagnostic Viewer.

Requirements

  • MATLAB: R2017b to R2026a
  • Compilers: XC-DSC (dsPIC), XC32 (PIC32/SAM)
  • IDE: MPLAB X IDE

Installation

Install through MATLAB Add-Ons, or download the .mltbx file and run it in MATLAB.