Skip to main content
ALomb
Senior
December 4, 2020
Question

CircleProgress: PainterRGB565Bitmap::render() crash

  • December 4, 2020
  • 3 replies
  • 1625 views

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

This topic has been closed for replies.

3 replies

MM..1
Chief III
December 4, 2020

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

ALomb
ALombAuthor
Senior
December 7, 2020

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
Senior III
December 31, 2020

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.