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

problem with the size of the hex file obtained from the code banking application

hi friends ,

I m a R & D engineer working for a company i have encountered an amazing problem with my linker . I am using a BL51 Linker and i m using L51_BANK.A51 file for the appropriate settings of my files.
i have FOUR files in my source project
1. C_ROOT.A51
2. C_BANK0.A51
3. C_BANK1.A51
4. L51_BANK.A51

i have used B_MODE =0

I filled the two bank files to the optimum limit with 64k of dummy data the linker linked it but the size of HEX FILE that it has generated is of 180KB

now the basic problem is that i have a 128k eeprom only
how do i program such a big hex file in that.????!!
CAN SOMEBODY HELP ME OUT

Parents
  • i have encountered an amazing problem with my linker

    Not really. You formed wrong expectations based on incorrect understanding of the tools. And while that absolutely should be amazing, looking at the postings we see here, is not.

    Your incorrect assumptions are that:

    1) a hex file's size equals the size of the memory image it contains. That's wrong by almost a factor of three.

    2) code banking and data banking are the same thing. They're not.

Reply
  • i have encountered an amazing problem with my linker

    Not really. You formed wrong expectations based on incorrect understanding of the tools. And while that absolutely should be amazing, looking at the postings we see here, is not.

    Your incorrect assumptions are that:

    1) a hex file's size equals the size of the memory image it contains. That's wrong by almost a factor of three.

    2) code banking and data banking are the same thing. They're not.

Children