Freemaster : How to access to registry ?

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

Freemaster : How to access to registry ?

跳至解决方案
1,382 次查看
Reflexe72Phil
Contributor I

I would like to know if Freemaster allows access to ARM and hardware registers during the execution of embedded code. Can we perform a memory dump of an application and thus have access to the registers, and deduce their hardware representation?

0 项奖励
回复
1 解答
1,346 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello, 

no, you cannot sample Core registers from FreeMASTER.

Sampling register values over JTAG is not supported. And in case of communication over UART, CAN or another driver, sampling register values would be quite useless as most of the values would be set to values related to the driver execution.

Sampling other core registers and special registers could be useful in some cases. You would need to mirror their values to variables first (or periodically) and then sample the variables.

Regards,
Michal

 

 

I guess it would make no sense to sample common registers as they

 

But you can modify your application to periodically mirror them to 

在原帖中查看解决方案

1 回复
1,347 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello, 

no, you cannot sample Core registers from FreeMASTER.

Sampling register values over JTAG is not supported. And in case of communication over UART, CAN or another driver, sampling register values would be quite useless as most of the values would be set to values related to the driver execution.

Sampling other core registers and special registers could be useful in some cases. You would need to mirror their values to variables first (or periodically) and then sample the variables.

Regards,
Michal

 

 

I guess it would make no sense to sample common registers as they

 

But you can modify your application to periodically mirror them to 

%3CLINGO-SUB%20id%3D%22lingo-sub-1991152%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFreemaster%EF%BC%9A%E5%A6%82%E4%BD%95%E8%AE%BF%E9%97%AE%E6%B3%A8%E5%86%8C%E8%A1%A8%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1991152%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3E%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%20Freemaster%20%E6%98%AF%E5%90%A6%E5%85%81%E8%AE%B8%E5%9C%A8%E6%89%A7%E8%A1%8C%E5%B5%8C%E5%85%A5%E5%BC%8F%E4%BB%A3%E7%A0%81%E6%9C%9F%E9%97%B4%E8%AE%BF%E9%97%AE%20ARM%20%E5%92%8C%E7%A1%AC%E4%BB%B6%E5%AF%84%E5%AD%98%E5%99%A8%E3%80%82%E6%88%91%E4%BB%AC%E8%83%BD%E5%90%A6%E6%89%A7%E8%A1%8C%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E7%9A%84%E5%86%85%E5%AD%98%E8%BD%AC%E5%82%A8%EF%BC%8C%E4%BB%8E%E8%80%8C%E8%AE%BF%E9%97%AE%E5%AF%84%E5%AD%98%E5%99%A8%E5%B9%B6%E6%8E%A8%E6%96%AD%E5%85%B6%E7%A1%AC%E4%BB%B6%E8%A1%A8%E7%A4%BA%EF%BC%9F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E