Main Site Documentation

***ASSERT*** error


#1

an ASSERT was displayed on the Cobra LCD.

I have to reload the firmware as I cannot get out of this.

the error occurs with a bad parameter in DrawImage (I think -1 in opacity).


#2

(I’m guessing a bit here )

If you have to reload the firmware, the chances are that your program if it loads makes NETMF barf. So to get around that you could go into bootloader mode and use MFDeploy to erase, and then redeploy a working app.


#3

Make sure that you use the latest firmware with the latest tinybooter.


#4

no, I could not erase using MFDeploy. Everything was stuck. Firmware is the latest 4.0.1.3.


#5

That’s not the latest firmware… GHI are currently on 4.1.3.0.

You need to double check your board and SDK…

Cheers Ian


#6

sorry, it’s 4.1.3.0. Both versions are the latests.


#7

This is a known issue. For opacity, you should use a value between Bitmap.Transparent and Bitmap.Opaque…