Hi
My µC is C8051F122.
In µVision2 (version V2.40a and C51 V7.50) i create 2 Lib files. One for code bank 1 and one for the common bank.
These .lib files are linked into a project in Silicon Laboratories IDE. During to the .M51 file the code is located correct in the selected code bank.
I use BL51 linker and with OC51+OH51 i generate .H1, .H2 and .H3 files. Is there any way to create a single hex file instead? According to the Keil homepage it can be done by using HEX2BIN + BIN2HEX. Here i get an error (unable to open hexfile). The file name is 1 character in length.
Then i tried to use the LX51 linker instead, but then i get the following error: L204 invalid keyword, POS 606 in one of the .lib files. When the error message appear a character in path is missing (please note that the path is identical to the one used when BL51 linker is used)
Any one with any ideas to creat either a single hex file from the 3 hex files, or how to get rid of the L204 error message when using LX51 linker?
Hey
I need the hex file for the bootloader.
By using HEX2BIN and BIN2HEX i have my hex file organised as:
0x00000-0x07FFF Common 0x08000-0x0FFFF Bank 1 0x10000-0x17FFF Common 0x18000-0x1FFFF Bank 2 0x20000-0x27FFF Common 0x28000-0x2FFFF Bank 3
I just will skip the 2nd and 3rd common area in the hex file