Guanghui Cheng

Results 2 comments of Guanghui Cheng

> > dmode在非debug模式不可写,保证了不接外部调试器的时候trigger都不会进入debug模式。hart处在debug模式必须有外部调试器配合。在m态通过指令写tdata1.dmode=1,再把hart交给外部调试器,在没有外部调试器的时候hart会表现为卡死。这样,任何m态程序都有主动让hart卡死的能力。 > > 通过trigger进入Debug模式正确的用法是, > > > > 1. 连接外部调试器,让hart通过debug中断进入debug模式; > > 2. 设置trigger并把dmode置1; > > 3. 触发trigger并在debug模式响应。 > > > > [TRANSLATION] > > dmode is not...

> > 另外,请用reset halt代替halt,这样可以让核心停在第一条指令执行之前 > > 请问现在香山对于每个hart的run control状态位功能都实现了吗?(halt request,resume ack,halt-on-reset request,hart reset) > > [TRANSLATION] Also, replace halt with reset halt, which stops the core before the first instruction is...