F16_32 Text Files: Merlin Problem

ReadLn(a_file, a_string) reads only zeroes if optimized

bovist
Benutzer
Avatar
Gender:
Age: 64
Homepage: shop.keyboardpartn…
Posts: 34
Registered: 03 / 2006
Subject:

F16_32 Text Files: Merlin Problem

 · 
Posted: 20.07.2018 - 00:10  ·  #1
Hi Merlin,

updated to AVRCo Rev. 5.09.42 and experienced a problem when reading text files from SD card using FAT16_32. Even sample program in Profi Driver manual does not work, ReadLn(a_file, a_string) reads only zeros.

It works when I disable the following Optimizer options:

Code

{$OPTI NO_LOOP_OPT}
{$OPTI NO_BRANCH_OPT}
{$OPTI NO_CSE_OPT}
{$OPTI NO_CALL_FRAME_OPT_LOCAL}


Debug info is attached.
Attachments
Filename: MERLIN_DEBUG.zip
Filesize: 546.44 KB
Title:
Information: Debug info
Download counter: 25
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1409
Registered: 03 / 2005
Subject:

Re: F16_32 Text Files: Merlin Problem

 · 
Posted: 20.07.2018 - 10:47  ·  #2
OK Carsten. I'll look into it.
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1409
Registered: 03 / 2005
Subject:

Re: F16_32 Text Files: Merlin Problem

 · 
Posted: 20.07.2018 - 12:51  ·  #3
Hi Carsten.

I have sent via pm a potential fix. However I need the asm/dsm files to check properly. Can you either send me the asm/dsm files so that I can check, or install the new version and check yourself, and let me know.

Thanks
bovist
Benutzer
Avatar
Gender:
Age: 64
Homepage: shop.keyboardpartn…
Posts: 34
Registered: 03 / 2006
Subject:

Re: F16_32 Text Files: Merlin Problem

 · 
Posted: 23.07.2018 - 15:00  ·  #4
Hallo Merlin,

Mit Optimizer Version v3.5.12.0 funzt es. Danke für die schnelle Hilfe!

Bug fixed with optimizer version v3.5.12.0. Thx!
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   79   94 · Page-Gen-Time: 0.025499s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI