Keil Logo

Code Banking

When you use the BL51 Linker to create code-banking programs, you must use the OC51 Banked Object File Converter to split the banked object files into absolute object files that contain no more than 64KB. The OH51 Object-HEX Converter may then convert these into HEX files. The HEX files are then programmed separately into the corresponding physical address space of the EPROM.

When you use the extended LX51 Linker, you must use the OHX51 Object-HEX Converter to generate an Intel HEX-386 file that contains the common area and all the code banks. If code bank 0 does not exist in your application, OHX51 skips this memory area.

The following figure shows the HEX file content for the Banking With Four 64 KByte Banks example.   The following figure shows the HEX file content for the Banking With Common Area example.
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.