Eingrenzung eines Merlin-Errors

... oder wo passierts ...

jomixl
Benutzer
Avatar
Gender:
Posts: 225
Registered: 02 / 2008
Subject:

Eingrenzung eines Merlin-Errors

 · 
Posted: 13.04.2018 - 09:02  ·  #1
Hallo zusammen,
ich musste ein altes Mega16 Programm erweitern und bin jetzt fast an der Flash-Grenze.
Darum hab ich mal den Optimizer probiert. Der schafft zwar ca. 30% Platz aber dafür läuft das Programm auch nicht mehr. Nun will ich versuchen das Problem einzugrenzen.
Das Programm besteht aus mehreren Units und ich hab keinen Plan wie ich jetzt vorgehen soll.
Hab bisher auch keinen Schalter gefunden mit dem ich ein Unit vom Optimizer sperren kann oder hab ich da was übersehen?

Danke für eure Vorschläge
Gruß Joachim
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1409
Registered: 03 / 2005
Subject:

Re: Eingrenzung eines Merlin-Errors

 · 
Posted: 13.04.2018 - 11:11  ·  #2
Hi Jachim.

The optimiser transcends units, so omitting units makes no sense. I have a whole range of options to narrow things down. The attached are in English, I am afraid, but describe how the problem can be narrowed. If you know roughly where the error lies (e.g. in a particular function) you can send the asm and dsm files to me straight away and I will look to see if I can see anything obvious.

There is also a new version of optimiser about to be released this weekend which resolves a few small issues. Again if you send me the asm and dsm files via pm I will run your program against the new version and see if your program is affected.

Regards

Merlin.
Attachments
Filename: Disabling Optimiser Parts.txt
Filesize: 1.57 KB
Title:
Download counter: 44
Filename: special debug mode.txt
Filesize: 907 Byte
Title:
Download counter: 45
jomixl
Benutzer
Avatar
Gender:
Posts: 225
Registered: 02 / 2008
Subject:

Re: Eingrenzung eines Merlin-Errors

 · 
Posted: 13.04.2018 - 11:46  ·  #3
hi merlin,
thanks for your answer! I'll try to findout where the error occures.

joachim
allan
Benutzer
Avatar
Gender: n/a
Age: 64
Posts: 11
Registered: 10 / 2016
Subject:

Re: Eingrenzung eines Merlin-Errors

 · 
Posted: 14.04.2018 - 15:55  ·  #4
Hi Merlin!

Looks like the latest optimizer version 3.5.7.3 corrupts Dataflash SPI driver or something in FlashIO.pas
Something happens with DataFlash address, data is read from wrong location.

regards,
Allan
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1409
Registered: 03 / 2005
Subject:

Re: Eingrenzung eines Merlin-Errors

 · 
Posted: 14.04.2018 - 16:28  ·  #5
Hello Allen.

Thanks for letting me know. Could you send me an example asm and dsm files via pm.

Do you know if earlier versions exhibited this problem?

Thanks

Merlin.
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: 15 · Cache Hits: 15   96   111 · Page-Gen-Time: 0.021332s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI