cancel
Showing results for 
Search instead for 
Did you mean: 

BUG: CubeMX allow to set priority for DebugMonitor_IRQn but programing manual NOT

Kamil Duljas
Senior III

In document programmin manual, PM0253,  SHPR1-3 registers allow to set priority for following handlers:

KamilDuljas_0-1690530311011.png

but Debug monitor writes to reserved field PRI_12:

KamilDuljas_1-1690530383485.png

The same ambigious is in Cortex M4 and perhaps in all

 

 
Dudo
1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @Kamil Duljas ,

The PM0253 is aligned with Arm Cortex-M7 Devices Generic User Guide r1p2 description, but we got confirmation, you can use PRI_12 to set of the priority of debug monitor for Cortex-M7, Cortex-M4, Cortex-M3 and Cortex-M33.

Thank you for your contribution in STCommunity.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
KDJEM.1
ST Employee

Hello @Kamil Duljas ,

The PM0253 is aligned with Arm Cortex-M7 Devices Generic User Guide r1p2 description, but we got confirmation, you can use PRI_12 to set of the priority of debug monitor for Cortex-M7, Cortex-M4, Cortex-M3 and Cortex-M33.

Thank you for your contribution in STCommunity.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

12 being Debug Monitor is also inferred here   https://www.keil.com/dd/docs/datashts/arm/cortex_m3/r2p0/ddi0337g_cortex_m3_r2p0_trm.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..