It surprises me how little information there is online about how to split ROM images into their LO & HI bytes.
Typically with buses 16-bits and wider, multiple 8-bit ROMs are used to cover the entire width of the bus; thus requiring the firmware binary to be split into parts.
The command line tool
srec_cat can be used to do what we need:
Code:
srec_cat -o LOW.bin -binary ROM.bin -binary -split 2 0
srec_cat -o HIGH.bin -binary ROM.bin -binary -split 2 0
Bonus example: Combining the LO & HI ROM dumps back into a flat binary:
Code:
srec_cat -o ROM.bin -binary LOW.bin -binary -unsplit 2 0 HIGH.bin -binary -unsplit 2 1
For a more in depth explanation, see
my site entry on the topic.