The 0336 code is the crank position sensor. I had this code once when my engine stopped abruptly. In my case it was because my foot slipped off the clutch... The 2509 may be the cause of the 0336 in your case. 2509 indicates the ECM/PCM power input signal is intermittent. I am not familiar with how your sixun w/pda hooks into your system but these connections are a good place to start. You may want to remove them, reset the codes and run it long enough for you to determine if they are the cause.
Good luck!