[Optimiser Bug]

Thomas.AC
Benutzer
Avatar
Gender: n/a
Age: 43
Posts: 308
Registered: 07 / 2013
Subject:

[Optimiser Bug]

 · 
Posted: 15.01.2018 - 12:43  ·  #1
Hallo,
nach Update von AVRPascal
Compiler Ver: 5.9.26
Optimiser Ver: 3.4.8.1
funktioniert meine firmware nicht mehr mit Optimiser

Das Testprogramm gibt das Wort 'Start' über Serport aus. Das lässt sich im Simulator nicht
nachvollziehen. Siehe Bild.

Code

program Test;

Device = mega2560, VCC=5;

Import SysTick, SerPort1;

Define
  ProcClock      = 16000000;
  SysTick        = 10;
  StackSize      = 128, iData;
  FrameSize      = 128, iData;
  SerPort1       = 19200, Stop1;
  RxBuffer1      = 64, iData;
  TxBuffer1      = 64, iData;


Implementation

{$IDATA}

begin
  EnableInts;
  loop
    Writeln(Serout1, 'Start');
    mDelay(100);
  endloop;
end.
Attachments
[Optimiser Bug]
Filename: optiBug.png
Filesize: 7.05 KB
Title:
Download counter: 103
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: [Optimiser Bug]

 · 
Posted: 15.01.2018 - 14:46  ·  #2
Hallo Thomas
Bitte eine pm an Merlin senden.
rolf
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1409
Registered: 03 / 2005
Subject:

Re: [Optimiser Bug]

 · 
Posted: 15.01.2018 - 15:53  ·  #3
Hello Thomas.

Yes, there is an issue, which the about to be released optimiser fixes. I attach so you and others can download before that.

There is some debug code in the attachment (now deleted).

If you downloaded, please download the later version below.

Thanks.
Thomas.AC
Benutzer
Avatar
Gender: n/a
Age: 43
Posts: 308
Registered: 07 / 2013
Subject:

Re: [Optimiser Bug]

 · 
Posted: 16.01.2018 - 17:26  ·  #4
Thank you.


I've noticed your warning, thanks.
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1409
Registered: 03 / 2005
Subject:

Re: [Optimiser Bug]

 · 
Posted: 17.01.2018 - 16:03  ·  #5
My apologies.

Some debug code accidentally got left in optimiser. Please find attached correct version.
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 16 · Cache Hits: 15   95   110 · Page-Gen-Time: 0.035022s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI