Functional test and flash with an error

Please post the actual assert statement that is tripping up. You've given us everything but the test itself!

Regards, Andy Stewart