5415
XL2; 0x800004FF Task error during memory test.
XL200

Title: Record memory test - prevent the 800004FF task error during a long test, keep the display in step with the test, and run it the same way at power-up and from the Diagnostics menu

Affected software: XL200 ClosedLoop, OpenLoop, and HVAC. Must be built against an operating system that includes SCN 5414.

Problem - history: At power-up, and when started from the Diagnostics menu, the controller runs a record memory test that checks -- and where necessary repairs -- the stored records. When that test has a large amount of work to do, for example repairing a damaged record chain, it can keep the processor busy continuously for more than a minute and trip the operating system's 800004FF health check (see SCN 5414), even though the test is working correctly.

Two things made this worse. The test paused briefly now and then to let other work run, but that pause was tied to the on-screen progress bar and stopped happening once the bar reached the end -- so a test that ran past that point stopped giving the processor up at all. And the two ways of starting the test (power-up versus the Diagnostics menu) set task priorities up differently, so behavior was not consistent between them. The screen update also ran at a lower priority than the test, so the progress display could lag behind and show a step other than the one actually being tested.

Likelihood: Uncommon. The test has to run continuously for about a minute, which generally only happens when the stored records need extensive checking or repair. It was observed on a unit in the field.

Solution: The memory test now gives up the processor periodically throughout the entire run, instead of stopping once the progress bar is full, so other tasks keep getting a turn.

Both the power-up and Diagnostics paths now run the test the same way. For the duration of the test the application temporarily takes control of which tasks are allowed to run. The display task is now raised above the test, so the screen keeps up and the step shown on the progress display matches the record chain actually being tested -- previously the display ran below the test and could show a step behind the one really in progress. The debugger is kept responsive, the ordinary tasks are held off, and a dedicated lowest-priority "keep-alive" task runs that uses the new operating-system service (SCN 5414) to satisfy the health check while the test legitimately runs. Because that keep-alive task is the lowest priority of the group, it only gets a turn once everything the application chose to allow has run -- so if the test ever genuinely stopped making progress, the keep-alive task would be starved and 800004FF would still fire as intended.

This change keeps a long but legitimate test from tripping 800004FF and makes the two ways of running it behave the same; it does not change the record checking or repair logic itself.

Model Version Released
XL2CL 5.110.1 10/15/2026
XL2OL 5.110.1 10/15/2026
XL220CL 5.111.0 10/21/2026
XL220OL 5.111.0 10/21/2026
XL2CL 4.110.1 10/15/2026
XL2OL 4.110.1 10/15/2026
XL220CL 4.111.0 10/21/2026
XL220OL 4.111.0 10/21/2026