The flash loader does not appear to support EEPROM write operations. Here a Sample with USBDM TCL Interpreter Everything EEPROM Sector has a size of 32 Bit settarget s12z openbdm setdevice MM9Z1J638 reset NH connect halt ;#every EEPROM Word has its own ECC ;#erasing is only as double word possible ;#Erase 1 Sector (2 Words) rb 0x386 ;#FSTAT if CCIF == 0 Command is running wb 0x386 0x30 ;#FSTAT clear ACCERR & FPVIOL flag in flash status register wb 0x382 1 ;#FCCOBIX 2 COBs used wl 0x38C 0x12100000...
The flash loader does not appear to support EEPROM write operations. Here a Sample with USBDM TCL Interpreter Everything EEPROM Sector has a size of 32 Bit settarget s12z openbdm connect setdevice MM9Z1J638 reset NH ;#Erase Sector rb 0x386 ;#FSTAT if CCIF == 0 Command is running wb 0x386 0x30 ;#FSTAT clear ACCERR & FPVIOL flag in flash status register wb 0x382 1 ;#FCCOBIX 2 COBs used wl 0x38C 0x12100000 ;#FCCOB0+B1 0x12<<24 | 0x100000 COMMAND Erase Sector 0x12 and Address 0x100000 wb 0x386 0x80 ;#FSTAT...
The flash loader does not appear to support EEPROM write operations. Here a Sample with USBDM TCL Interpreter Everything EEPROM Sector has a size of 32 Bit settarget s12z openbdm connect setdevice MM9Z1J638 reset NH ;#Erase Sector rb 0x386 ;#FSTAT if CCIF == 0 Command is running wb 0x386 0x30 ;#FSTAT clear ACCERR & FPVIOL flag in flash status register wb 0x382 1 ;#FCCOBIX 2 COBs used wl 0x38C 0x12100000 ;#FCCOB0+B1 0x12<<24 | 0x100000 COMMAND Erase Sector 0x12 and Address 0x100000 wb 0x386 0x80 ;#FSTAT...
The flash loader does not appear to support EEPROM write operations. Here a Sample with USBDM TCL Interpreter Everything EEPROM Sector has a size of 32 Bit settarget s12z openbdm connect setdevice MM9Z1J638 reset NH ;#Erase Sector rb 0x386 ;#FSTAT if CCIF == 0 Command is running wb 0x386 0x30 ;#FSTAT clear ACCERR & FPVIOL flag in flash status register wb 0x382 1 ;#FCCOBIX 2 COBs used wl 0x38C 0x12100000 ;#FCCOB0+B1 0x12<<24 | 0x100000 COMMAND Erase Sector 0x12 and Address 0x100000 wb 0x386 0x80 ;#FSTAT...
The flash loader does not appear to support EEPROM write operations. Here a Sample with USBDM TCL Interpreter settarget s12z openbdm connect setdevice MM9Z1J638 reset NH ;#Erase Sector rb 0x386 ;#FSTAT if CCIF == 0 Command is running wb 0x386 0x30 ;#FSTAT clear ACCERR & FPVIOL flag in flash status register wb 0x382 1 ;#FCCOBIX 2 COBs used wl 0x38C 0x12100000 ;#FCCOB0+B1 0x12<<24 | 0x100000 COMMAND Erase Sector 0x12 and Address 0x100000 wb 0x386 0x80 ;#FSTAT clear CCIF bit - Start Write ;#Write Sector...
The flash loader does not appear to support EEPROM write operations. Here a Sample with USBDM TCL Interpreter **settarget s12z openbdm connect setdevice MM9Z1J638 reset NH ;#Erase Sector rb 0x386 ;#FSTAT if CCIF == 0 Command is running wb 0x386 0x30 ;#FSTAT clear ACCERR & FPVIOL flag in flash status register wb 0x382 1 ;#FCCOBIX 2 COBs used wl 0x38C 0x12100000 ;#FCCOB0+B1 0x12<<24 | 0x100000 COMMAND Erase Sector 0x12 and Address 0x100000 wb 0x386 0x80 ;#FSTAT clear CCIF bit - Start Write ;#Write...
modification of s12z_devices.xml is sufficient I have also placed a 470nF between GND and Reset.
The flashloader is not optimal, but it works at first glance. I am currently trying to adapt the template to the S12Z of MM9Z1J638.