cancel
Showing results for 
Search instead for 
Did you mean: 

CircleProgress: PainterRGB565Bitmap::render() crash

ALomb
Senior

Hello,

I implemented the demo animation described in the CircleProgress example.

Everything works correctly with the simulator.

On the target, a crash occurs after calling the circleProgress.setValue (nextValue).

The crash occurs even if the initial value of the circle is different from 0 and in this case I don't see anything on the display.

How to solve?

Best Regards

/Antonello

3 REPLIES 3
MM..1
Chief III

Maybe you dont have canvas buffer or is small, try size it up.

ALomb
Senior

Thanks @MM..1​, i tried, but without success!

I selected "Override default buffer size" in Screen1 with the CircleProgess widget. I have tried with very large values (20000).

The CanvasWidgetRenderer::setWriteMemoryUsageReport(true) function in the simulator report "CWR requires 1600 bytes".

scottSD
Lead

When I have had crashing with the painters, it was because I was trying to use an L8 and the painter being generated by the Designer wasn't an L8. This was fixed in version 4.15.0, however.