Quote:
Originally Posted by krudeboy51
ok, I reinstalled windriver and changed the camera feed size to 320x240, but I got the same problem, but this time when I pressed attach debugger another page popped up in windriver called FRC_paramtask with a list of deadbxx: in which xx varies whether a number or letter and after each deadbaxx: it said "Read access not allowed"
|
OK, the deadbxx is a memory poisoning technique to help diagnose problems. The "Read access not allowed" indicates that there is a bad pointer address being accessed by the FRC_paramtask. Now that the debugger is seemingly working, you can now run the debugger (that is launch the robot code as a "debug" run). Make sure that you select to attach to spawned tasks in the debugger set up so you can debug your complete code. It should break on entry to the main code. Set a breakpoint in your robot initialization code where the camera is instantiated and step through the code to see what parameters are being passed. Also, could you post your camera initialization sequence?
HTH,
Mike