iap: introduce functions (put_u32 and get_u32) to convert a uint32_t to a byte array...