Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F103RCT6 : bad linker file #47

Open
tosichouse opened this issue Jan 8, 2024 · 0 comments
Open

STM32F103RCT6 : bad linker file #47

tosichouse opened this issue Jan 8, 2024 · 0 comments

Comments

@tosichouse
Copy link

The software was not stable. I compiled software for MACH3 bob board, and I had strange behaviour. (option no compiler optimisation). I found the following error in the STM32F103RCTX_FLASH.ld :
EEPROM_EMUL(xrw) : ORIGIN = 0x802F000 -> is inside the firmware space
FLASH(rx) : ORIGIN = 0x8000000+LD_VECT_TAB_OFFSET, LENGTH = 256K-2K-LD_VECT_TAB_OFFSET -> reserved Flash memory siez is 4K and not 2k.

you must have :
MEMORY
{
RAM(xrw) : ORIGIN = 0x20000000, LENGTH = 48K
EEPROM_EMUL(xrw) : ORIGIN = 0x803F000, LENGTH = 4K
FLASH(rx) : ORIGIN = 0x8000000+LD_VECT_TAB_OFFSET, LENGTH = 256K-4K-LD_VECT_TAB_OFFSET
}

This modifications solve the problem.

@terjeio terjeio transferred this issue from grblHAL/core Jan 12, 2024
terjeio added a commit that referenced this issue Jan 12, 2024
NOTE: this moves settings storage to the end of available flash, if updating backup and restore your settings!
Further updates for assigning optional signals to aux input ports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant