Hi all,
in the meantime I've ordered a ST-Link/V2-Programmer and an Olimex STM32-H103 Board and installed the "ST-Link Utility" tool.
Now, I wanted to program the application and the bootloader.
Therefore, I downloaded for both the *.bin file as well as the *.hex file.
But what was surprising to me: All files, when loaded into the "ST-Link Utility" tool, have different starting addresses:
The "stm32_sine.bin" file comes up with starting address 0x0000 0000, the "stm32_sine.hex" with 0x0800 1000.
Also the "stm32_loader.bin" file comes up with starting address 0x0000 0000, the "stm32_sine.hex" however with 0x0800 0000.
From my understanding, the bootloader should start at 0x0000 0000 and the application at 0x0800 0000.
Or am I completely wrong?
What is the reason for the different addresses?
Could someone help and tell me the correct programming addresses for the bootloader and the application?
Unfortunately, I erased the original Olimex-Programming (bootloader?) before saving it to disk.
Does this cause any problem at all?
Thanks to all,
Fabian.
Flash addresses?
Re: Flash addresses?
boot loader starts @ 0x08000000
flash starts @ 0x08001000
.bin do not have address info coded .hex do.
flash starts @ 0x08001000
.bin do not have address info coded .hex do.
Re: Flash addresses?
Thanks dima for the information.
Now it is clear, why both *.bin files come up with address 0x0000 0000.
As I wrote, I unfortunately erased the initial programming of the Olimex, does this may cause any problems or side-effects?
Is the initial programming or parts of it needed for the correct functionality of the inverter?
Thanks,
Fabian.
Now it is clear, why both *.bin files come up with address 0x0000 0000.
As I wrote, I unfortunately erased the initial programming of the Olimex, does this may cause any problems or side-effects?
Is the initial programming or parts of it needed for the correct functionality of the inverter?
Thanks,
Fabian.
- johu
- Site Admin
- Posts: 5824
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1044 times
- Contact:
Re: Flash addresses?
You can use completely blank device, no initial stuff needed.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9