Freemaster : How to access to registry ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Freemaster : How to access to registry ?

Jump to solution
1,392 Views
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 Kudos
Reply
1 Solution
1,356 Views
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 

View solution in original post

1 Reply
1,357 Views
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%20%3A%20How%20to%20access%20to%20registry%20%3F%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%3EI%20would%20like%20to%20know%20if%20Freemaster%20allows%20access%20to%20ARM%20and%20hardware%20registers%20during%20the%20execution%20of%20embedded%20code.%20Can%20we%20perform%20a%20memory%20dump%20of%20an%20application%20and%20thus%20have%20access%20to%20the%20registers%2C%20and%20deduce%20their%20hardware%20representation%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1991800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Freemaster%20%3A%20How%20to%20access%20to%20registry%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1991800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eno%2C%20you%20cannot%20sample%20Core%20registers%20from%20FreeMASTER.%3C%2FP%3E%0A%3CP%3ESampling%20register%20values%20over%20JTAG%20is%20not%20supported.%20And%20in%20case%20of%20communication%20over%20UART%2C%20CAN%20or%20another%20driver%2C%20sampling%20register%20values%20would%20be%20quite%20useless%20as%20most%20of%20the%20values%20would%20be%20set%20to%20values%20related%20to%20the%20driver%20execution.%3C%2FP%3E%0A%3CP%3ESampling%20other%20core%20registers%20and%20special%20registers%20could%20be%20useful%20in%20some%20cases.%20You%20would%20need%20to%20mirror%20their%20values%20to%20variables%20first%20(or%20periodically)%20and%20then%20sample%20the%20variables.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EMichal%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20guess%20it%20would%20make%20no%20sense%20to%20sample%20common%20registers%20as%20they%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBut%20you%20can%20modify%20your%20application%20to%20periodically%20mirror%20them%20to%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E