This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Banking

Individual HEX File for Each Code Bank

If you require a single HEX file for each code bank, you must create a batch program that runs OHX51 once for each code bank. The contents of the batch file will be similar to:

OHX51 my_program RANGE (B0:0 - B0:0xFFFF) HEXFILE (my_program.H00)
OHX51 my_program RANGE (B1:0 - B1:0xFFFF) HEXFILE (my_program.H01) OFFSET (-0x10000)
OHX51 my_program RANGE (B2:0 - B2:0xFFFF) HEXFILE (my_program.H02) OFFSET (-0x20000)
This effectively generates the same output files as the BL51 Linker using the OC51 and OH51 utilities.

MORE INFORMATION

Question?
--------
What's format of the my_program (file extension) using LX51 and ohx51?