benny

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: objectTracking #1293
    benny
    Member

    Hi,

    I restarted my object tracking project, trying to solve this ‘hanging’ issue.
    Unfortunately I cannot find the source of the problem, I removed the serial debugging statements to make sure this was not interfering with the rest of the code.
    Sometimes the code runs for more then 20 minutes, next time it seems to hang after 15 seconds, it is certainly not repeatable but VERY random.
    I adjusted R1 but this did not make any difference, as far as I can debug the code, it seems to hang in the tv.capture routine.
    If syncselect0 has been toggled, the system works again, do not know if it was restarted or continued from the place where it ‘hung’.

    If there is anyone who can help, this would be great!

    in reply to: objectTracking #865
    benny
    Member

    Hi Michael,

    Thanks for the reply, I will check the LM1881 to see if it losses sync.
    I’ve put in some debug statements and it ALWAYS hangs when calling tv.resume().

    Serial.print(“2”);
    tv.resume();
    Serial.print(“3”);

    If it hangs (I thought it was after 15-20 seconds but sometimes it is much more or much less), it prints 2 at the serial output and never 3 ….

    I’ll keep you posted.

    -ben

    in reply to: objectTracking #948
    benny
    Member

    I did some more testing:

    It lookslike it always hangs after calling tv.resume(); in the mainloop of objectTracking.

    I looked into the code but cannot figure out how it works, anyone a bright idea ?

    -ben

Viewing 3 posts - 1 through 3 (of 3 total)