To obtain your registration code, please send an email to [email protected]
Magic Tuner error
Important weaknesses in the implementation of Magic tuner (for Paccar)
Several areas are risky or incomplete:
It erases from StartAddr all the way to 0x2FEFFF, regardless of the supplied EndAddr.
It performs no explicit validation that the input file length matches the requested flash range.
It performs no read-back verification.
It usually checks only the first positive-response byte.
Several wait loops have weak timeout/error handling.
It ignores detailed routine-result status.
No tester-present message is sent during the long calibration transfer loop.
The loader request uses 0xFFFF but transfers 0x10000 bytes; this depends on PACCAR’s inclusive-length convention.
The code does not prevent an incorrect starting address from erasing an unexpectedly large range.
Several areas are risky or incomplete:
It erases from StartAddr all the way to 0x2FEFFF, regardless of the supplied EndAddr.
It performs no explicit validation that the input file length matches the requested flash range.
It performs no read-back verification.
It usually checks only the first positive-response byte.
Several wait loops have weak timeout/error handling.
It ignores detailed routine-result status.
No tester-present message is sent during the long calibration transfer loop.
The loader request uses 0xFFFF but transfers 0x10000 bytes; this depends on PACCAR’s inclusive-length convention.
The code does not prevent an incorrect starting address from erasing an unexpectedly large range.
Labor omnia vincit
Possibly Related Threads…
Users browsing this thread: 1 Guest(s)

