Hello,
I am doing a project with MPC 5744P.I need to monitor the stack overflow in it.In data sheet DBCR4 Shall be 1000 but i cant find the peripheral
Hello Lukas
How can i reach the DBCR4,DBCR2,DBCR0 assembly ?
ps:i am using Simulink
BR
Hi,
core registers can be read/write using asm instructions mfspr/mtspr.
Description of instructions can be found in these documents:
https://www.nxp.com/webapp/Download?colCode=EREF_RM&location=null
https://www.nxp.com/docs/en/reference-manual/VLEPEM.pdf
How to read it in simulink - please ask here:
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/bd-p/mbdt
Thanks,
Lukas
Hi,
DBCR4 is a core register, so take a look at the core reference manual:
https://www.nxp.com/webapp/Download?colCode=E200Z4RM&location=null
Core registers are not memory mapped, it’s necessary to use asm instructions.
Take a look at this thread:
Regards,
Lukas