Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Bolt on March 13, 2022, 11:52:25 PM

Title: SGRSTR not working in 2.9.2
Post by: Bolt on March 13, 2022, 11:52:25 PM
I updated a BRX from 2.8.x to 2.9.2 today.  Firmware, Booter, and DmD.  Never installed 2.9.1.  I have discovered that SGRSTR does not actually reset the stages.  I went through and replaced them all with individual SGRST instructions instead, and project seems to function as normal.  I built a quick test program and it's not related to the stage trying to reset itself, it also applies trying to reset a stage not from within itself.
Title: Re: SGRSTR not working in 2.9.2
Post by: BobO on March 14, 2022, 12:00:13 AM
I updated a BRX from 2.8.x to 2.9.2 today.  Firmware, Booter, and DmD.  Never installed 2.9.1.  I have discovered that SGRSTR does not actually reset the stages.  I went through and replaced them all with individual SGRST instructions instead, and project seems to function as normal.  I built a quick test program and it's not related to the stage trying to reset itself, it also applies trying to reset a stage not from within itself.

That?s not good. We?ll check it out.
Title: Re: SGRSTR not working in 2.9.2
Post by: BobO on March 14, 2022, 10:45:52 AM
It worked for me....but....the scan time jumped to 15ms while enabled, which clearly isn't right. Digging deeper.
Title: Re: SGRSTR not working in 2.9.2
Post by: BobO on March 14, 2022, 10:59:23 AM
Yuk. Worked well enough to pass the automated test (sometimes), but definitely broken. We'll get a fix shortly. Side effect of the instantiable program block work.
Title: Re: SGRSTR not working in 2.9.2
Post by: BobO on March 14, 2022, 11:05:32 AM
Easy fix.
Title: Re: SGRSTR not working in 2.9.2
Post by: BobO on March 14, 2022, 12:18:35 PM
Test case was flawed. Has now been updated and is catching the issue.
Title: Re: SGRSTR not working in 2.9.2
Post by: Controls Guy on March 14, 2022, 12:26:48 PM
Dang, from first report to a fix for the problem AND upgrade to the test code in 13hrs (some of which were weekend)!   You guys make me feel like a slowpoke.
Title: Re: SGRSTR not working in 2.9.2
Post by: BobO on March 14, 2022, 12:39:20 PM
Dang, from first report to a fix for the problem AND upgrade to the test code in 13hrs (some of which were weekend)!   You guys make me feel like a slowpoke.

I'm embarrassed the bug got out of the building. Tends to raise the priority.
Title: Re: SGRSTR not working in 2.9.2
Post by: Controls Guy on March 14, 2022, 01:08:37 PM
I'm embarrassed the bug got out of the building. Tends to raise the priority.

Yeah, that's true.   I have one like that from time to time myself.