How to generate boot code/ C test image in different formats?

Hi,

How can I generate the boot code/C test image in different formats. Right now, boot code format is below.

C4 05 00 20 CC 05 00 20 CC 05 00 20 D4 05 00 20

D4 05 00 20 DC 05 00 20 DC 05 00 20 E4 05 00 20

I want to change it to,

D4050020

CC050020

CC050020

CC050020

E4050020

CC050020

CC050020

CC050020

Can anyone help? I'm using arm-none-ebi-gcc.

Thanks,

Bala

More questions in this forum