mapellil
mapellil

Reputation: 1

ThreadX module size

assuming i've a ThreadX module flashed (or downloaded) is there a way to retrieve at run time from the Module Manager resident application the Module code and data size ? Thank you in advance, best regards

Upvotes: 0

Views: 122

Answers (2)

mapellil
mapellil

Reputation: 1

Maybe i found the answer: in the C typedef description of module preamble (TXM_MODULE_PREAMBLE in txm_module.h) i've found:

ULONG txm_module_preamble_code_size; /* Module Instruction Area Size / ULONG txm_module_preamble_data_size; / Module Data Area Size */

Upvotes: 0

Scott Larson
Scott Larson

Reputation: 1

Yes, those values are in the preamble of the module.

Upvotes: 0

Related Questions