Hi David, The compiler could be padding bytes in order to align the struct definition. Please see the section 7.1.7 Field/Structure Alignment of the C2x Compiler guide linked here . One way to check this would be to open the CCS Memory Browser (View >> Memory Browser) and check the addresses where each of the float's variables inside the struct are being placed. Are you using one of the linker cmd files from C2000ware? If so, which one? Best Regards, Delaney
↧