cancel
Showing results for 
Search instead for 
Did you mean: 

Assembler error after upgrade to Ver 2.1: bad instruction `rtc ldr sp,=_estack'

erastusC
Associate III

Good day,

After I did an upgrade to the latest version when I compile I get this error.

Where can I get documentation on this.

Never did an upgrade without issues.

make -j48 all

arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32f411ceux.d" -MT"Startup/startup_stm32f411ceux.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32f411ceux.o" "../Startup/startup_stm32f411ceux.s"

../Startup/startup_stm32f411ceux.s: Assembler messages:

../Startup/startup_stm32f411ceux.s:61: Error: bad instruction `rtc ldr sp,=_estack'

make: *** [Startup/subdir.mk:19: Startup/startup_stm32f411ceux.o] Error 1

11 REPLIES 11

Thanks Andrew,

I did not know this:  You can mention multiple people in a post using '@'

You're welcome!

 


@erastusC wrote:

not sure where that came from.


Probably as @TDK suggested:

 


@Andrew Neil wrote:


@TDK wrote:

Maybe that window was active when you didn't expect.


Possibly due to this long-running issue: Jumping to random file after pressing Run button

@erastusC - Specifically, this.


 


@erastusC wrote:

I copied your software and voila it


Would be better to go back to the original startup_stm32f411ceux.s file - what I posted was from a different part.

This is where a Version Control System (VCS, or SVCS) really comes into play!

If you're not using one, I strongly suggest that you start now !

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.