Commit 94fe74a
prusa-mk4: set the OTP BOM ID so xBuddy machines boot (#188)
Every xBuddy machine here -- prusa-mk4-*, prusa-mk3-*, prusa-iX-* -- shares the
one OTP_v4 initializer in mk4_init(), which left .bomID unset, i.e. 0. Recent
firmware calls Configuration::check_bom_compatible() (src/hw/xbuddy/
hw_configuration.cpp) before USB is up, and 0 fails it: the machine dies on
bsod("BOM ID not compatible") with a rendered screen but no cdc.log output at
all, which reads as broken logging rather than a stopped firmware.
38 is a shipped customer board. The bound is >=37, plus the legacy 12/14 (not
on MK3.5); iX needs >=1.
Note this is not the "27"/"34" in the datamatrix -- that is the board revision,
a different field. otp_get_bom_id() reads the dedicated byte.
Co-authored-by: D.R.racer <drracer@drracer.eu>
Co-authored-by: vintagepc <53943260+vintagepc@users.noreply.github.com>1 parent f016e89 commit 94fe74a
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
434 | 438 | | |
435 | 439 | | |
436 | 440 | | |
| |||
0 commit comments