Get both versions of m16c-flasher.de, beta can read, release can write
[Controller]
Name=M32C@0xFC0000
Group=Generic
BaseAdr=FC0000
Blocks=1
From=FC0000
Size=40000
[end]
And select this controller in the menu.
If I recall correctly, you need to Null modem TX & RX between the TTL adapter the the MCU.
Doesn't that go in MCU.ini not M16C-Ctrl.cfgvtl wrote: ↑10 Sep 2021, 08:33 Yes. And this: viewtopic.php?p=575090#p575090
Get both versions of m16c-flasher.de, beta can read, release can writeAdd next to the config file:
[Controller]
Name=M32C@0xFC0000
Group=Generic
BaseAdr=FC0000
Blocks=1
From=FC0000
Size=40000
[end]
And select this controller in the menu.

Code: Select all
;; CPU clocks match !match
LAB_000012fc
000012fc 20 39 00 move.l (DAT_00ffd02c).l,D0
ff d0 2c
00001302 54 80 addq.l #0x2,D0
00001304 2d 40 ff f8 move.l D0,(-0x8,A6)
00001308 78 01 moveq #0x1,D4
0000130a 74 06 moveq #0x6,D2
LAB_0000130c
0000130c 20 6e ff f8 movea.l (-0x8,A6),A0
00001310 52 ae ff f8 addq.l #0x1,(-0x8,A6)
00001314 10 10 move.b (A0),D0b
00001316 20 6e ff fc movea.l (-0x4,A6),A0
0000131a 52 ae ff fc addq.l #0x1,(-0x4,A6)
0000131e b0 10 cmp.b (A0),D0b
00001320 67 02 beq.b LAB_00001324 ;; 10 8
00001322 42 44 clr.w D4w ;; - 4
LAB_00001324
00001324 53 42 subq.w #0x1,D2w
00001326 4a 42 tst.w D2w
00001328 66 e2 bne.b LAB_0000130c
0000132a 4a 44 tst.w D4w
0000132c 66 0a bne.b LAB_00001338
0000132e 33 fc 00 move.w #0x1,(DAT_00ffd050).l
01 00 ff
d0 50
00001336 60 06 bra.b LAB_0000133e
LAB_00001338
00001338 42 79 00 clr.w (DAT_00ffd050).l
ff d0 50
LAB_0000133e