stko / oobd

OOBD- The Open Onboard Diagnostics Toolkit
http://oobd.org
11 stars 8 forks source link

Command prompt is missing in CANraw mode (P 6 3 $FFFF) after changing delay time #217

Open nexulm opened 8 years ago

nexulm commented 8 years ago

Firmware init sequence:

p 1 1 0 0 . p 8 4 0 . p 8 3 3 . p 8 2 3 . p 6 3 $FFFF . 000001230133FF (delayed command prompt ">" return) . 000001230133E0 (firmware hangs now)

No further command prompt and input command possible as firmware seems to be broken???

Maybe misuse do to "p 6 3 0" command should be performed before changing the delay time of the same CAN frame and content!?!

stko commented 8 years ago

6 3 0 is a good idea, as I have no clue what happens when a new sequence overwrites a running one, but nevertheless this crash is a bug

nexulm commented 8 years ago

It seems to occur only if you use the same CAN-ID. If I used another one the firmware doesn't crash and the command prompt is coming up. If the root cause isn't the same CAN-ID maybe the delay time was an issue!?!