Do you get the MAV also in debuging mode, or do you get a diffrent message with it?
Try to locate the error:
Insert an END command right after the start of the program. then run it. When there's no MAV, move the END down in the source, until you get the MAV again. If the MAV occurs when the main loop has been executed one time or more, you need a coutner that will count how many times the main loop was executed.
This is the method I use to locate strange MAVs.
Try to locate the error:
Insert an END command right after the start of the program. then run it. When there's no MAV, move the END down in the source, until you get the MAV again. If the MAV occurs when the main loop has been executed one time or more, you need a coutner that will count how many times the main loop was executed.
This is the method I use to locate strange MAVs.