I am using the TI MSP430 C compiler on an embedded project. I am writing test scripts in javascript for that code. I need to be able to access the fields within a C struct. How o I do this from DSS? I am able to get the address of the struct as a whole, but I am unable to get the addresses of individual fields within the struct. I do not want to hard code the offsets in javascript, as that would create a maintenence headache whenever the C code defining the struct changed. Can anyone help me with this?
Thanks!