Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.241

Navigation: Plugins > Architecture-specific plugins > PowerPC

Scroll Prev Top Next More

SMPU

In this topic:

Introduction

Requirements

Opening the SMPU window

Toolbar

Columns information

SMPU Error

Context menu

 

 

Introduction

SMPU plugin is a SoC specific plugin and it offers enhanced view of the System Memory Protection Unit (SMPU) entries and errors. SMPU registers of the e200 cores are memory mapped. It is supported on PowerPC SoCs, e.g. PPC56xx, PPC57xx, PPC58xx.

winIDEA supports display of one SMPU on SoCs, where multiple SPMUs are present, e.g. SPC58NH - Chorus10M.

 

Warning_orange

Easy to restrict access to memories from which code to be executed is fetched or data to be used by embedded application is read/written.

 

 

Requirements

winIDEA 9.12.159 or greater

Enabled SMPU

Set read permission on the SMPU registers

 

 

Opening the SMPU window

Select View menu / [<device>.COREn].PowePC / SMPU to load the plugin window.

 

Plugin-e200mem-smpuWindow

Information is displayed when CPU is in STOP mode.

 

 

Toolbar

Icon

Description

Plugin-tricore-autoRefresh

Enable automatic update which is indicated by a [Rt] in the plugin title

HWtoolsPlugin-rh850timePerformance-refresh

Manual refresh

dirtyPlugin-e200cacheViewer-tick

Display only valid entries

Plugin-e200cacheViewer-tree

Expands the SMPU nodes

ButtonHelp

Go to winIDEA Help

Plugin-e200mem-tlb1Pid

Show all error Bus masters  in the SMPU Error Window

 

 

Columns information

Column

Description

REGION DESCRIPTOR

Lists the System Memory Protection Units (SMPU), Region Descriptors (RD) and Bus Masters (BM)

VALID

States, whether the region descriptor is valid. Using the "View only valid Region descriptors" button filters the display to only valid region descriptors

Read-Only

States, whether the region descriptor is read-only, cannot be manipulated once it is configured

CI

States, whether references to this region cannot be cached

Permissions

Shows the region description format and bus master permissions

 

Examples:

SPC56EC74:

First 4 BMs Read, Write, eXecute per execution mode (user, supervisor)

Second 4 BMs Read, Write

SPC58EC80: Read, Write for all BMs

START ADDR

Displays the byte start address of the memory region

END ADDR

Displays the byte end address of the memory region

PID

ID compared with process ID when searching for match (not supported on SPC58EC80 for example)

PID Mask

Mask to determine which process ID bits will be checked

 

i-icon

To display or hide columns, right-click on a column header and select what you want to see.

 

 

SMPU Error

Select View menu / <core> PowePC / SMPU and press on the Plugin-e200mem-tlb1Pid button to load the plugin window.

 

Plugin-e200mem-smpuErrorWindow

 

 

Toolbar

Icon

Description

Plugin-tricore-autoRefresh

Enable automatic update which is indicated by a [Rt] in the plugin title

HWtoolsPlugin-rh850timePerformance-refresh

Refresh the window

Plugin-e200cacheViewer-tree

Expands the SMPU nodes

PluginOptionbutton

Open the Edit Options dialog

ButtonHelp

Go to Online Help

 

 

Columns information

Column

Description

BUS MASTER

Displays the bus master, on which the violation occurred

ERROR TYPE

Displays the type of the error (read or write)

ERROR ATTRIBUTE

Indicates attribute information about the faulting reference

UI

User mode, instruction access

UD

User mode, data access

SI

Supervisor mode, instruction access

SD

Supervisor mode, data access

ERROR ADDR

Displays the reference address from bus master that generated the access error

REGION DESCRIPTOR

Displays the list of memory descriptors with the access error

PID

Process ID

Overrun

Number 1 indicates that another error occurred before previous error was handled

 

i-icon

To display or hide columns, right-click on a column header and select what you want to see.

 

 

Context menu

Right-click in the plugin window to open the context menu.

Copy Python access snippet - Copy SDK code snippet to extract the content from the plugin window.

Auto Fit - Arrange all the columns to fit in the plugin window.

Options - Set colors and fonts.

Help - Open winIDEA Help.

 

 

 

Copyright © 2024 TASKING Germany GmbH