Expand full-chip simulation: more S12/S12X peripheral models #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CodeWarrior's full-chip simulator models the complete on-chip peripheral set for each supported device (ADC, PWM, ECT/TIM, SPI, SCI, CAN, I2C, RTC, flash controller, etc.) with per-device register maps and timing. This repo's
gdb-simmodels only a handful of peripherals, so most S12/S12X firmware cannot be exercised on the host.Current state
m68hc11sio,m68hc11tim,m68hc11spi,m68hc11eepr,nvram).patches/sim-s12-peripherals.patch+patches/sim-model/*):s12sci1(SCI1 @ 0xD0),s12tim0(TIM0 @ 0x80),s12gpio(Port B @ 0x01). The MC68HC12 EEPROM was moved to 0x4000-0x47FF (patches/sim-m68hc12-eeprom.patch).tests/s12/run-vectors.shnotes one vector is "mock-only" becauseuart.writehas no hardware counterpart.Motivation
Proposed scope
sim/m68hc11, matching the existings12_*.c/dv-*.cdevice pattern:Acceptance criteria
-m68hc12/-m9s12xand passes a byte-diff/register-trace test undertarget sim(same pattern astests/s12/run-vectors.sh).vec3intests/s12/run-vectors.sh.check-sim-*ands12-*checks inflake.nix.References
patches/sim-s12-peripherals.patch,patches/sim-model/*patches/sim-m68hc12-eeprom.patchtests/sim-model/*,tests/s12/*(harness)pkgs/gdb-sim.nix(device wiring)