Hvordan kan vi hjælpe dig i dag?

How to avoid gcc compilation error after upgrade from BMEP584040 to BMEP585040

In CE15.3, a GCC compilation error may occur after changing the CPU in the application from BMEP584040 to BMEP585040 or higher. This issue arises when a few not recommended instructions are used in specific sections.
The compiler utilized in BMEP585040 and higher models differs from the one used for BMEP584040 references and lower. This imposes limitations in ST sections, particularly when 'JMP' instructions are used in an infinite loop (e.g., with labels).
To prevent potential GCC issues, it is strongly advised to replace these 'JMP' instructions in infinite loops with 'While' instructions.

See the following example:

The following code uses label and JMP instructions:

Code uses label and JMP instructions

Can be replaced by this one, doing the same thing, and able to be built by the BMEP585040 compiler:

Code uses while instead

Schneider Electric Danmark

Brug for hjælp?

Brug for hjælp?

Produktvælger

Produktvælger

Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.

Få et tilbud

Få et tilbud

Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.

Find forhandler

Find forhandler

Find den nærmeste Schneider Electric-distributør.

Hjælpecenter

Hjælpecenter

Find supportressourcer til alle dine behov på ét sted.

  • Produktdokumentation
  • Download af software
  • Produktvælger
  • Udskiftning og erstatning af produkter
  • Hjælp og kontaktcenter
  • Find forhandler
  • Projektrådgivning
  • Find vores kontorer
  • Schneider Electric Community
  • Karriere
  • Virksomhedsprofil
  • Rapportér en forseelse
  • Tilgængelighed
  • Presserum
  • Investorer
  • EcoStruxure
  • Jobsøgning
  • Blog
  • Privatlivspolitik
  • Cookiemeddelelse
  • Vilkår for anvendelse
  • Rediger dine cookieindstillinger