vome101 opened a new issue, #8780:
URL: https://github.com/apache/nuttx/issues/8780

   I made a protected build on NXP 1052 chip which uses the ARMV7-M MCU. The 
user region has a base address of 0x80800048 with a size of 0xd15620. The 
alignedbase is 0x80000000 because the l2size is 0x19. The system will crash 
shortly after I enable the MPU. When I decrease the size of the user, the 
alignedbase is 0x8080000 and the device runs normally. I don't think the 
calculation for the aligned base is correct for all situations. I'm using nuttx 
10.2.0.
   
   
![1052_MPU](https://user-images.githubusercontent.com/88166609/224115175-3b6947f1-cc0a-424f-837a-d09e0d60a592.jpg)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to