The motor simply stops running
so simply half of the H-bridge is not switching over.
Can you post those pictures of your stuff where they are freely available and don't have to have a Google account before you can see them.
Get a meter and see what half of the bridge is not switching. Write some code that swaps them over, that code will just run in the same direction all the time.
Why start a new thread when I answered this yesterday?