I'm using the EEERead and EEEWrite block to store data to nonvolatile memory. Reading from the address is not a problem. However I'm seeing only the last 8 bit being written. I have 3 uint16 variables, They are stored using the flash EEEWrite block with offset 0x0000, 0x0002, 0x0004. Using FreeMaster I only see the last 8 bit of 0x14000000, 0x14000002, and 0x14000004 change, but the first 8 bit always remains 11111111, effectively losing the first 8 bits when I am reading from those addresses again.
I have tried setting the type to uint32 but it's still only the last 8 bits that gets saved.
I have attached the freemaster and simulink files as reference.