ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Воскресенье
24 ноября
885071
m16_home (27.11.2018 14:35, просмотров: 15640)
в документе MPLAB PICkit4 User’s Guide есть фраза 
I set my peripheral to NOT freeze on halt, but it is suddenly freezing. What's 
going on?
For dsPIC30F/33F and PIC24F/H devices, a reserved bit in the peripheral control 
register (usually either bit 14 or 5) is used as a Freeze bit by the debugger. If you 
have performed a write to the entire register, you may have overwritten this bit. 
(The bit is user-accessible in Debug mode.)
To avoid this problem, write only to the bits you wish to change for your application 
(BTS, BTC) instead of to the entire register (MOV).
что это за регистр peripheral control register ?