2022-08-09 04:30 AM
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:7 in tx_timer_initialize.o(.text._tx_timer_initialize) with respect to Veneer$$LitPool. Value(0xfffff21f) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:11 in tx_timer_initialize.o(.text._tx_timer_initialize) with respect to Veneer$$LitPool. Value(0xfffff219) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:12 in tx_timer_initialize.o(.text._tx_timer_initialize) with respect to Veneer$$LitPool. Value(0xfffff218) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:0 in tx_timer_system_activate.o(.text._tx_timer_system_activate) with respect to Veneer$$LitPool. Value(0xfffff208) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:1 in tx_timer_system_activate.o(.text._tx_timer_system_activate) with respect to Veneer$$LitPool. Value(0xfffff23b) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:2 in tx_timer_system_activate.o(.text._tx_timer_system_activate) with respect to Veneer$$LitPool. Value(0xfffff23a) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:0 in user_task_f_base.o(.text.dev_draw_rect) with respect to Veneer$$LitPool. Value(0xfffff026) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:0 in dev_encrypt.o(.text.dev_id_adr_init) with respect to Veneer$$LitPool. Value(0xfffff023) out of range(0 - 0xff) for (R_ARM_THM_PC8)
sld_809_g070rbt\sld_809_cnt_g070rbt.axf: Error: L6286E: Relocation #REL:1 in dev_encrypt.o(.text.dev_id_adr_init) with respect to Veneer$$LitPool. Value(0xfffff023) out of range(0 - 0xff) for (R_ARM_THM_PC8)
Not enough information to list load addresses in the image map.
Finished: 1 information, 0 warning and 9 error messages.
"sld_809_g070rbt\sld_809_cnt_g070rbt.axf" - 9 Error(s), 0 Warning(s).
2022-08-09 04:33 AM
Dear guys, can anyone help to find out what the problem is, this error occurs frequently, and this kind of problem has not occurred on stm32f303, stm32h7 chips
2022-08-09 05:35 AM
Perhaps look more carefully at how the libraries were initially built, the options and the settings, and model of MCU.
As the CM0 has a more limited instruction set it is more difficult to patch the code in the linker to account for external references.
If you can't resolve these, perhaps a conversation with Keil Support.
2022-08-09 05:41 PM
The ac5 linker does not have this problem, but because the project needs to use threadx rtos and touchgfx, when cubemx generates the project, the default is the ac6 compiler, there should be link options to eliminate this error, but check the manual , no suitable solution was found
2022-08-12 06:05 PM
Has anyone come across this problem and haven't found an answer yet, thanks for your help
2022-08-12 06:32 PM
I'm not in a position to review the files/issues.
No idea what your compiler settings are.
Open a Support Case with Keil, it's not an ST, or STM32 issue.
2022-08-12 07:16 PM
By the time you get to the linker it's probably too late to fix.
With the Linker you can direct placement of objects via the scatter file.Have you tried that?
Most likely you'll need to address at the compiler stage where it creates the objects and relocation forms used later down stream.
Looks mostly to be complaining about literal pools, so perhaps look at object/function setting, or changing optimization.
Inspect the objects, get some understanding of the underlying issue/complaint.
2022-08-15 03:56 AM
The program is compiled in ac5, and there is no problem with linking, but the program generated by cube is ac6 by default, and the project also uses threadx rtos. This problem lies in the ac6 compiler. What parameters to set to ensure that the link does not have this error,
thanks a lot
2022-08-15 03:57 AM
Sometimes the optimization level of the compiler is changed to -0 , there is no problem
2022-08-15 06:03 AM
What does Keil Support say? Or is there some reason not to involve the one company with the power to fix the issue?
Show screen short of compiler setting that aren't working..