I'm working on some firmware for a TMS320F28027 microcontroller. I have a data structure with some structures inside of it. See below for an example (the real structure has more elements which result in a size of 64 bytes). Everything seems to work just fine until I reach a sizeof() size of 64 bytes. If I add one more additional element, the code compiles and programs just fine, but the data inside of the structure is somehow getting corrupted or otherwise adversely affecting the program since it will not run. Looking at the variables in the expressions window doesn't yield any obvious signs of whats going on. Any help would be greatly appreciated.
typedef struct { struct { _iq Test_1; _iq Test_2; _iq Test_3; _iq Test_4; } Example_1; struct { _iq Test_1; } Example_2; struct { uint16_t Count; _iq Test_1; _iq Test_2; _iq Test_3; } Example_3; struct { uint16_t Test_1; uint16_t Test_2; } Example_4; } Example_t;
Thanks,