typedef struct __attribute__((__packed__))
{
uint8_t op_code;
uint8_t flags;
uint32_t logical_block_addr;
uint8_t group_num;
uint16_t tx_length;
uint8_t control;
} SCSI_READ10_t;
typedef struct __attribute__((__packed__))
{
uint8_t op_code;
uint8_t flags;
uint32_t logical_block_addr;
uint8_t group_num;
uint16_t tx_length;
uint8_t control;
} SCSI_READ10_t;
It looks like your question was answered in the Processors community.
Re: Non aligned access in arm v7 going into exception
Generally, it helps to provide more details about an issue; i.e. compiler type, flags and version and any of the relevant error info.
Thanks!