Nov 04, 2020
07:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 04, 2020
07:51 AM
Hello Community,
I ran into a very weird issue.
I have authorized all sections to run/read/write in my Memory Protection Set, but a certain line still causes Trap 1 (TIN 2, meaning read protection) 😞
I would very appreciate if someone could help me take a look at this, I'll add screenshots from my debugger:
Line the causes the Trap Jump

Register State before Trap:

Here is the Register State after the Trap is activated + The DEADD Register:

And Here is the Memory Protection Set With upper and lower bounds:


*PROTEN is enabled and PRS is Set0
Many Thanks for your help!
I ran into a very weird issue.
I have authorized all sections to run/read/write in my Memory Protection Set, but a certain line still causes Trap 1 (TIN 2, meaning read protection) 😞
I would very appreciate if someone could help me take a look at this, I'll add screenshots from my debugger:
Line the causes the Trap Jump
Register State before Trap:
Here is the Register State after the Trap is activated + The DEADD Register:
And Here is the Memory Protection Set With upper and lower bounds:
*PROTEN is enabled and PRS is Set0
Many Thanks for your help!
2 Replies
Nov 04, 2020
01:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 04, 2020
01:54 PM
But isn't A5=8000E4B7 before the trap? That looks outside of your ranges. Odd that DEADD is something else though.
Nov 06, 2020
12:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 06, 2020
12:37 AM
DPR2 section is defined only until 0x8000E498 therefore 0x8000E4B7 is out of this range and not defined in another range. This result in the protection trap. After change this there will be occur an alignment trap if the address is not corrected to a 16 bit aligned address.