Topic : Asm errors with new sw release

Forum : ST7/STM8

Original Post
Post Information Post
August 27, 2013 - 4:45pm
Guest

Hi all,I finally downloaded the last trial version to evaluate it before buying but I have an issue with compilation of asm blocks.In particular I have this code inside a C project which worked under old releases but now it gives me errors on this asm routine ==============================================================ENTER_HALT SEGMENT CODE DWORDRSEG ENTER_HALTPUBLIC ?Enter_Halt?Enter_Halt: LDW X,#halt_exit NOP NOP HALT JP (X) ADD SP,#9 RIMhalt_exit: NOP RETEND==============================================================Error messages are the following:Building C:\.....\Enter_Halt.asm Running: ST7/STM8 Assembler

Replies
Post Information Post
+1
0
-1
August 28, 2013 - 9:03am
Raisonance Support Team

Hi,

Is it possible to provide us your project or at least the part which give you the asm error.
Can you send it to ?

Best regards,

+1
0
-1
August 28, 2013 - 1:54pm
Guest

Sent you the progect via email. Thank you for your support

+1
0
-1
September 12, 2013 - 11:36am
Raisonance Support Team

It was a STLux patch issue. The STLux is missing in the list of supported uP when creating a new project.

If, on the Ride7, we load an old project (created from old version of RIDE) there is some error during compilation time. When install the old "20110921_RKit-STM8_Patch_STLUX" patch the problem disappears and the STLux appears on the STM8 uP supported list.

This issue appear from time to time.
The work around is to uninstall everything and install the last release of Ride7 then RKit-STM8 to finish with the patch.