X-death25 / MD-Dumper_old_stm32F4

Sega Megadrive Dumper based on STM32F4 (BluePillV2)
GNU General Public License v3.0
8 stars 1 forks source link

.text starting at 0x08004000? #5

Closed Chandler-Kluser closed 1 year ago

Chandler-Kluser commented 1 year ago

Building Firmware from source using OPENCM3_DIR to the latest build of libopencm3 with this build of arm-none-eabi-gcc:

arm-none-eabi-gcc (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 12.2.1 20221205
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I was able to fully compile the MD Dumper firmware, but something caught me before I flash into my blackpill:

image

Notice that the .text starts at 0x08004000 instead of 0x08000000, can someone confirm that?

Thanks in advance!

X-death25 commented 1 year ago

Hi, just read the code stm32f401.ld line 26 rom (rx) : ORIGIN = 0x08004000, LENGTH = 512K

Chandler-Kluser commented 1 year ago

I truly read that, but I though it was some kind of mistyping. Never mind