cancel
Showing results for 
Search instead for 
Did you mean: 

Creating .hex file from two banks memory of STM32H753

FBern.2
Associate II

Hello,

I have a problem with my .HEX file generated with KEIL 5.

In STM32H753 there are two banks memory:

FIRST BANK MEMORY : 0x08000000-0x080FFFFF

SECOND BANK MEMORY : 0x08100000-0x081FFFFF

My project has this structure:

0x08000000-0x08060000=> My own Boot

0x08060000-0x081FFFFF => My own app

When I obtain .bin file of my project (it was been converted from .hex file) the file is always 1 Mb and it contains the code of FIRST BANK MEMORY.

How can I obtain both .hex file? from first and second bank memory?

thank you.

best regards.

Fabio

22 REPLIES 22
TDK
Guru

If you application fits within the first bank, it's not going to generate any code beyond that.

If you feel a post has answered your question, please click "Accept as Solution".

Unfortunatly, My app doesnt fit in First bank​. It's large 0xc0000

I see no reason why the linker would only generate half of your project. See if the ELF contains everything and if so convert to hex with command line to help debug.
If you feel a post has answered your question, please click "Accept as Solution".