Keil Logo

Using OC51

To invoke the OC51 Banked Object File Converter from the command prompt, type OC51 along with the name of the banked object file. The OC51 command line must be entered using the following format:

OC51 banked_obj_file

where

banked_obj_file is the name of the banked object file generated by the BL51 Linker.

OC51 creates separate absolute object files for each code bank represented in the banked object file. The names of the created files consist of the basename of the banked object file combined with the file extension Bnn where nn is the bank number 00-31. For example:

OC51 MYPROG

creates the following absolute object files...

  • MYPROG.B00 for code bank 0.
  • MYPROG.B01 for code bank 1.
  • MYPROG.B02 for code bank 2.

...and so on.

Note

  • Use the OC51 Banked Object File Converter only for code banking programs linked with the BL51 Linker. Do not use OC51 if your program does not use code banking or if it was linked with the LX51 Linker.
  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.