Just as hint, the code snippet is always overwriting the first 4 bytes with 8 bit values again and again,
all the shifts are probably not doing what you want them too (are either undefined or result in just a 0 value),
and the printf prints the address of pescrcan_buffer, not the content.
Daniel