Other Parts Discussed in Thread: HALCOGEN
大家好,
我使用的是RM 48 952芯片,在特权模式下对PMM的PRCKEYREG 写值时,只有0写0x6能写入,其他的值如9h 和fh 都写不进去。 CMM现象就更奇怪了:第一次运行,写不了0xF ,当写入0x6H后就可以写入0xF了,,,,谢谢!!!不胜感激......
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: HALCOGEN
大家好,
我使用的是RM 48 952芯片,在特权模式下对PMM的PRCKEYREG 写值时,只有0写0x6能写入,其他的值如9h 和fh 都写不进去。 CMM现象就更奇怪了:第一次运行,写不了0xF ,当写入0x6H后就可以写入0xF了,,,,谢谢!!!不胜感激......
Hi Ron,
还没有来得及测试,不过TRM里面有这样的描述:
3.3.8.5 PMM Operation During CPU Halt Debug Mode
No compare errors are generated when the CPU is halted in debug mode, regardless of the mode of the
diagnostic compare block. No status flags are updated in this mode. Normal operation of the compare
block is resumed once the CPU exits the debug mode.
不知道你是如何操作的,如果是单步执行,观察寄存器值的话,看来应该是不会有变化的。
是否可以让代码跑起来,点灯或者printf等方式来验证动作?