2024-03-22 07:14 AM
Hi,
I think I may have found an error.
When generating a project for STM32L412K8TX (not a board) the default linker file define a RAM LENGTH of 40K.
The STM32L412K8TX have 40K divided in two parts, 32K in RAM1 (0x20000000) and 8K in RAM2 (0x10000000).
Package STM32L4 version 1.17.2
CubeMX version 6.8.1
Here is the header generated, also wrong:
** @brief : Linker script for STM32L412K8Tx Device from STM32L4 series
** 64Kbytes FLASH
** 40Kbytes RAM
** 8Kbytes RAM2
"SRAM1_SIZE_MAX" in stm32l412xx.h is ok, with a value of 0x8000.
Have a good day !
Solved! Go to Solution.
2024-03-22 07:30 AM - edited 2024-03-25 11:53 PM
Hello @svalsesia
Bienvenue à la Communauté :smiling_face_with_smiling_eyes:.
I confirm this typo and I will escalate it to the concerned team for correction (under ticket number 176949 which is just an internal tracking number)
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-22 07:30 AM - edited 2024-03-25 11:53 PM
Hello @svalsesia
Bienvenue à la Communauté :smiling_face_with_smiling_eyes:.
I confirm this typo and I will escalate it to the concerned team for correction (under ticket number 176949 which is just an internal tracking number)
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-22 07:38 AM
Hello,
Merci pour l'accueil.
Careful, there is the "header typo", but also a wrong value in the code.
So the linker think there is 40K too.
Thanks for the fast answer !