gigiZ: Have you any idea what can cause this reset?
No, sorry.
Read this before posting a programming question