watchpoint difficulties

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

watchpoint difficulties

跳至解决方案
2,253 次查看
crez
Contributor I

I am using full chip simulation on version 6.7 build 8127. Whenever I set a watchpoint, I get the message "not all watchpoints can be set". I am new at this, so It's probably a silly mistake on my part. What am I doing wrong? Device : hc908jl3

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,224 次查看
CrasyCat
Specialist III

Hello

 

Then it seems that the simulator is using simulated hardware Breakpoints registers to handle watchpoints.

 

I would recommend you to submit a service request to validate that this is really what is going on and to submit a Change Request to get an extension in today's simulator.

Click here to submit a service request.

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,224 次查看
CrasyCat
Specialist III

Hello

 

For watchpoints to be functional while debugging on hardware you need to have 2 hardware breakpoints available on chip.

 

As far as I know there is not enough hardware breakpoint on the HC08JL3 MCU. So you cannot use watchpoint on this hardware. 

 

CrasyCat

1,224 次查看
crez
Contributor I

Thanks,

   That would make sense if I was running the code in hardware, but I thought that the limitation you mention would not apply when running a full chip simulation.

0 项奖励
回复
1,225 次查看
CrasyCat
Specialist III

Hello

 

Then it seems that the simulator is using simulated hardware Breakpoints registers to handle watchpoints.

 

I would recommend you to submit a service request to validate that this is really what is going on and to submit a Change Request to get an extension in today's simulator.

Click here to submit a service request.

CrasyCat

0 项奖励
回复