[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-691690-105":59,"doc-detail-691690-en":133,"doc-similar-691690":157},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":64,"keywords":65,"description":66,"schema_data":67,"social_meta":126,"head_meta":128,"extra_data":130,"updated_unix":132},105,"en","infineon-aurix-tc2xx-mpu-memory-protection-1-kit-tc297-tft-training-en","","MPU Memory Protection training for Infineon AURIX TC2xx microcontrollers (KIT_AURIX_TC297_TFT) explains how the MPU restricts memory access for different masters using master IDs and defines data and code protection ranges. It covers protection set activation (PRS), address range boundaries and granularity (8-byte data, 32-byte code), permission logic, and runtime limitations via privilege modes. Hardware setup and example-led CPU read testing are included, along with deterministic buffer guidance for TriCore implementations.",{"@graph":68,"@context":125},[69,83,104],{"@type":70,"itemListElement":71},"BreadcrumbList",[72,76,78,81],{"item":73,"name":74,"@type":75,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":77,"name":9,"@type":75,"position":14},"https://docshare.wps.com/document/",{"item":79,"name":30,"@type":75,"position":80},"https://docshare.wps.com/document/technology/",3,{"item":82,"name":64,"@type":75,"position":19},"https://docshare.wps.com/document/infineon-aurix-tc2xx-mpu-memory-protection-1-kit-tc297-tft-training-en/691690/",{"url":82,"name":64,"@type":84,"image":85,"author":90,"headline":64,"publisher":93,"fileFormat":96,"inLanguage":63,"description":66,"dateModified":97,"datePublished":98,"encodingFormat":96,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":86,"@type":87,"width":88,"height":89},"https://docshare.wps.com/thumbnails/infineon-aurix-tc2xx-mpu-memory-protection-1-kit-tc297-tft-training-en/691690.png","ImageObject",300,407,{"name":91,"@type":92},"Mabel","Person",{"url":73,"name":94,"@type":95},"DocShare","Organization","application/pdf","2026-11-12","2026-11-08",true,{"@type":101,"interactionType":102,"userInteractionCount":14},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117,121],{"name":108,"@type":109,"acceptedAnswer":110},"What is the purpose of the MPU in AURIX TC2xx training?","Question",{"text":111,"@type":112},"The MPU protects part of an array from read/write accesses by restricting which memory ranges masters can access based on master ID and configured permissions.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"How are data and code protection ranges defined and how do they differ?",{"text":116,"@type":112},"Data Protection Ranges use lower/upper boundaries with 8-byte granularity, while Code Protection Ranges use the same boundary concept but with 32-byte granularity.",{"name":118,"@type":109,"acceptedAnswer":119},"When does a CPU trap occur with MPU enabled?",{"text":120,"@type":112},"An instruction or data access outside the MPU ranges selected by the active protection set immediately causes a CPU trap, and optionally an alarm to the Safety Management Unit (SMU).",{"name":122,"@type":109,"acceptedAnswer":123},"Why can user-level tasks not circumvent MPU protection?",{"text":124,"@type":112},"Only supervisor mode can change the active protection set, update protection ranges, or disable MPU monitoring; tasks not running in supervisor mode cannot alter these protections.","https://schema.org",{"og:url":82,"og:type":127,"og:title":64,"og:site_name":94,"og:description":66},"article",{"robots":129,"canonical":82},"index,follow",{"doc_id":131,"site_id":62},691690,1794175731,{"code":4,"msg":5,"data":134},{"doc_id":131,"user_id":135,"nickname":91,"user_avatar":136,"doc_module":4,"category_id":29,"category_name":30,"doc_title":64,"doc_description":66,"doc_content":137,"file_id":138,"file_url":139,"file_type":140,"file_size":141,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":142,"language":143,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":144,"faqs":145,"seo_title":146,"seo_description":66,"update_tm":132,"read_time":147,"preview_page_count":14,"preview_urls":148},7971474920318,"https://ap-avatar.wpscdn.com/avatar/74000ee537e6b0ca360?x-image-process=image/resize,m_fixed,w_180,h_180&k=1788430171632181674","MPU_Memory_Protection for KIT_AURIX_TC297_TFT MPU Memory Protection  \nAURIX™ TC2xx Microcontroller Training V1.0.0  \nPlease read the Important Notice and Warnings at the end of this document  \nScope of Work  \nThe MPU module is used to protect part of an array from read/write accesses.  \nThe MPU module is configured to enable read/write access to the first half of an array.  \nTo test the function of the read protection, each element of the array is read in a loop.  \nTwo LEDs are used to indicate the progression of the CPU read accesses. When the loop reads the last accessible element, the first LED is turned on. The second LED is only turned on if the CPU reads an element which should be protected.  \nIntroduction  \n› Each CPU has a Memory Protection Unit that can restrict what memory ranges are allowed for each master (e.g. DMA, CPU, OCDS) based on a master ID.  \n› The MPU supports 16 data ranges that specify which memory ranges a master is allowed to access for data. You can specify read and write permissions for each range.  \n› The MPU supports 8 code ranges that specify which memory ranges the CPU is allowed to access for instructions.  \n› The CPU has 4 different protection sets (PRS) that specify which combination of data ranges and code ranges are active.  \n› When the MPU is enabled, an instruction or data access outside of the specified MPU ranges selected by the active protection set immediately causes a CPU trap and optionally an alarm to the Safety Management Unit (SMU) .  \n› The CPU Memory Protection Unit is one of many AURIX™ safety mechanisms that helps to protect against random hardware faults as well as systematic faults.  \nIntroduction  \n› The SRAMs monitored by the MPU are:  \n– Program Scratch-Pad SRAM (PSPR) of each CPU  \n– Data Scratch-Pad SRAM (DSPR) of each CPU  \n– Local Bus Memory Unit (LMU), when available in the device  \n› Protection Ranges are defined by a Lower Boundary and an Upper Boundary. An address belongs to the range if:  \n– Lower Boundary \u003C= Address \u003C Upper Boundary  \n› The granularity of the memory protection ranges differ for data and code.  \n– Data protection ranges have a granularity of 8 bytes.  \n– Code protection ranges have a granularity of 32 bytes.  \n› The permission to access a memory location is the logical ‘OR’ of the memory range permissions. Where ranges intersect, the MPU grants the most permissive access.  \nIntroduction  \n› PRS0 automatically becomes active whenever a CPU interrupt or trap begins.  \nFor this reason, it is commonly reserved for OS usage and PRS0 is typically configured to allow access to all valid code and data ranges.  \n› It is possible for software to reconfigure the MPU range registers during runtime, but this takes more time than simply selecting a different active protection set.  \n› A task that is not running in supervisor mode will not be able to change its active protection set, update the protection ranges, or disable the MPU monitoring.  \nThis ensures that user level tasks cannot circumvent the protection in any way.  \nNote: Masters in AURIX™ devices have different levels of privileges, where supervisor mode is the highest. This is a safety measure to ensure that no unintended changes is done to “sensitive”registers or memory areas.  \nNote: To ensure deterministic behavior in all implementations of TriCore™, a region at least twice the size of the largest memory accesses, minus one byte, should be left as a buffer between each memory protection region.  \nHardware Setup  \nThis code example has been developed for the board KIT_AURIX_TC297_TFT_BC-Step.  \nImplementation  \nConfiguration of the MPU  \nTo enable memory protection, the following steps have to be followed:  \n› Define the Data/Code Protection Ranges where access must be granted  \n› Define the type of access to grant in a defined Protection Set  \n– Enable read and/or write in case of definition of a Data Protection Range (DPR)  \n– Enable code execution in case of definition of a Code Protection Rang","cbCaiseUtmQLIc6o","https://ap.wps.com/l/cbCaiseUtmQLIc6o","pdf",637034,15,"English","# Scope of Work\n# Introduction\n## Memory Protection Unit Concepts\n## Monitored SRAMs and Range Definitions\n## Protection Set (PRS) Behavior\n# Hardware Setup\n# Implementation\n## Configuration of the MPU\n## Definition of Data Protection Ranges\n## Definition of Code Protection Ranges\n## Configuration of Read Access for a Data Protection Range","[{\"question\":\"What is the purpose of the MPU in AURIX TC2xx training?\",\"answer\":\"The MPU protects part of an array from read/write accesses by restricting which memory ranges masters can access based on master ID and configured permissions.\"},{\"question\":\"How are data and code protection ranges defined and how do they differ?\",\"answer\":\"Data Protection Ranges use lower/upper boundaries with 8-byte granularity, while Code Protection Ranges use the same boundary concept but with 32-byte granularity.\"},{\"question\":\"When does a CPU trap occur with MPU enabled?\",\"answer\":\"An instruction or data access outside the MPU ranges selected by the active protection set immediately causes a CPU trap, and optionally an alarm to the Safety Management Unit (SMU).\"},{\"question\":\"Why can user-level tasks not circumvent MPU protection?\",\"answer\":\"Only supervisor mode can change the active protection set, update protection ranges, or disable MPU monitoring; tasks not running in supervisor mode cannot alter these protections.\"}]","infineon-aurix-tc2xx-mpu-memory-protection-1-kit-tc297-tft-training-en | PDF",38,[149,153],{"page_no":8,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a684fc82bb6ed8330114dd023547ecb8.webp",983,737,{"page_no":14,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bffdef842cf9da6b7ce67b5ccd1bfba0.webp",982,736,{"list":158,"token":65},[159,165,171,177,183,189,195,201,207,213],{"doc_id":160,"doc_title":161,"file_type":140,"home_preview_img_url":162,"slug":163,"view_count":24,"category_name":30,"create_tm":164},690303,"AURIX™ TC3xx User’s Manual - Version 2 - Open Market 2.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002618334/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=QCANIJRy7BotlUVtLWyS68zQ6R4%3D","aurix-tc3xx-users-manual-version-2-open-market-20",1794162128,{"doc_id":166,"doc_title":167,"file_type":140,"home_preview_img_url":168,"slug":169,"view_count":34,"category_name":30,"create_tm":170},690304,"AURIX™ TC3xx - User's Manual - Open Market Version 2.0 - V2.0.0 2021-02","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002618367/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=swuWt2dEj7xc6t4T9ftAHTgXT6Y%3D","aurix-tc3xx-users-manual-open-market-version-20-v200-2021-02",1794162141,{"doc_id":172,"doc_title":173,"file_type":140,"home_preview_img_url":174,"slug":175,"view_count":24,"category_name":30,"create_tm":176},691688,"HSM - Hardware Security Module - AURIX TC2xx Microcontroller Training V1.1 - Key Features and System Integration","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002681890/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=Fp%2FBUAjcia63deq50hXu%2BmjW0DM%3D","hsm-hardware-security-module-aurix-tc2xx-microcontroller-training-v11-key-features-and-system-integration",1794175730,{"doc_id":178,"doc_title":179,"file_type":140,"home_preview_img_url":180,"slug":181,"view_count":19,"category_name":30,"create_tm":182},700419,"MIPS IP - MIPS ARC MetaWare Toolkit for AURIX TC4x - Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012025418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=%2FV3jrxv7S7EFAutVcskP9nIY2z8%3D","mips-ip-mips-arc-metaware-toolkit-for-aurix-tc4x-datasheet",1794518656,{"doc_id":184,"doc_title":185,"file_type":140,"home_preview_img_url":186,"slug":187,"view_count":19,"category_name":30,"create_tm":188},690329,"AN00151 - Interfacing FlashRunner with Infineon TriCore Devices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002018593/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=UmVGncofvAnUx5x4h7y9YxrZoFU%3D","an00151-interfacing-flashrunner-with-infineon-tricore-devices",1794163199,{"doc_id":190,"doc_title":191,"file_type":140,"home_preview_img_url":192,"slug":193,"view_count":80,"category_name":30,"create_tm":194},721946,"Mapping of OPTIRE G product portfolio with various microcontrollers - Infineon Automotive Division August 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230026210470/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=TPnSBuF2Kya6p4dti%2B80Xf9tZUs%3D","mapping-of-optire-g-product-portfolio-with-various-microcontrollers-infineon-automotive-division-august-2026",1795119821,{"doc_id":196,"doc_title":197,"file_type":140,"home_preview_img_url":198,"slug":199,"view_count":29,"category_name":30,"create_tm":200},670882,"AURIX Unleashed - Getting started with AURIX - Application Note Edition 09-2015","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988352107/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=wD4OY6pv%2B3excsdRCV9o4V1Zx7A%3D","aurix-unleashed-getting-started-with-aurix-application-note-edition-09-2015",1793572463,{"doc_id":202,"doc_title":203,"file_type":140,"home_preview_img_url":204,"slug":205,"view_count":19,"category_name":30,"create_tm":206},691686,"Infineon AURIX - One-stop-shop for Automotive","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002681885/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=AgbB80kVlU3F3U2lawDy2bW0Ibk%3D","infineon-aurix-one-stop-shop-for-automotive",1794175724,{"doc_id":208,"doc_title":209,"file_type":140,"home_preview_img_url":210,"slug":211,"view_count":34,"category_name":30,"create_tm":212},670885,"TTC 2385 Datasheet - Technical Specifications and Interfaces","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988703305/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=Fpsp00aDrzMQd9yE8HN2J32rzBc%3D","ttc-2385-datasheet-technical-specifications-and-interfaces",1793572470,{"doc_id":214,"doc_title":215,"file_type":140,"home_preview_img_url":216,"slug":217,"view_count":19,"category_name":30,"create_tm":218},691889,"Introduction to AURIX - TC375 Safety Lite Kit - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002054143/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796235599&Signature=B94rv9EXkCAbjgS5jzqjoAMQndk%3D","introduction-to-aurix-tc375-safety-lite-kit-overview",1794176700]