Resolved Memory Overlap Issue on ESP32 with Zephyr, Seeking Long-Term Solution #72637
Unanswered
c3pStefano
asked this question in
Q&A
Replies: 1 comment
-
@c3pStefano, thanks for reporting this. The issue lies somewhere else. We will handle this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I recently encountered a memory overlap problem while working on a Zephyr project with an ESP32 using the https://docs.zephyrproject.org/latest/samples/subsys/display/cfb/README.html . During the binary generation process, a fatal error occurred because two segments were loaded into the same 64KB flash mapping area. This was the specific error message:
A fatal error occurred: Segment loaded at 0x3f40490c lands in the same 64KB flash mapping as segment loaded at 0x3f400000. Can't generate binary. Suggest changing linker script or ELF to merge sections.
I managed to bypass this issue by commenting out a line in the linker script that was apparently causing the overlap:
// #zephyr_linker_sources_ifdef(CONFIG_CHARACTER_FRAMEBUFFER DATA_SECTIONS check_cfb_fonts.ld)
While this solution worked for me, I am aware that it might be more of a temporary fix, possibly bypassing important configurations for different project setups. Therefore, I'm reaching out to the community:
How should one properly resolve this issue to ensure a robust and scalable solution?
I would like to mention that I don't have much experience with memory management. Any suggestions or explanations are greatly appreciated and would be very helpful to me.
Best regards,
Stefan
Here's a summary of the development environment:
Environment Setup:
Toolchain and Tools:
C:/Users/name/zephyr-sdk-0.16.6
.Device:
esp32_devkitc_wroom/esp32/procpu
Beta Was this translation helpful? Give feedback.
All reactions