Hi pgo, okay I'm not getting the microcontroller mc9s12hz256 add the list of supported devices could help me?
<device family="HCS12" name="MC9S12HZ256">
<clock type="External" />
<memory type="ram">
<memoryRange start="0x1000" end="0x3FFF" />
</memory>
<memory registerAddress="0x0110" type="eeprom" sectorSize="2" alignment="2">
<memoryRange start="0x0400" end="0x07FF" />
</memory>
<memory registerAddress="0x0100" type="flash" securityAddress="0xFF0F" sectorSize="256" alignment="2" >">
<securityEntryRef ref="HCS12-default-security" />
<memoryRange start="0x4000" end="0x7FFF" />
<memoryRange start="0x8000" end="0xBFFF" />
<memoryRange start="0xC000" end="0xFFFF" />
</memory>
<sdid value="0x1403" />
<flashScripts>
<tclScriptRef ref="HCS12-FTMRCK-flash-scripts" />
</flashScripts>
<flashProgramRef ref="HCS12-PMMC-FTMRCK-flash-program" />
to where I am going wrong?
Hi Thiago,
(This is a copy of a reply to a PM - Copy here for reference)
Try to following and see if it is any more successful. Note I don't have a chip to test with.
bye
<device family="HCS12" name="MC9S12HZ256">
<clock type="External" />
<memory type="ram">
<memoryRange start="0x1000" end="0x3FFF" />
</memory>
<memory registerAddress="0x0110" type="eeprom" sectorSize="4" alignment="2">
<memoryRange start="0x000400" end="0x0007FF" />
</memory>
<memory pageAddress="0x0030" registerAddress="0x0100" type="flash" securityAddress="0xFF00" sectorSize="1024" alignment="8">
<securityEntryRef ref="HCS12-default-security" />
<memoryRange start="0x4000" end="0x7FFF" /> <!-- Page 3E -->
<memoryRange start="0x8000" end="0xBFFF" pages="256K" pageEnd="0x3F" />
<memoryRange start="0xC000" end="0xFFFF" /> <!-- Page 3F -->
</memory>
<sdid value="0x1402" />
<sdid value="0x1403" />
<flashProgramRef ref="HCS12-MMCV4-FTS_2-flash-program" />
</device>
If this doesn't work please try running the debug version of the programmer (available in the USBDM installation directory) and then post the log files (available in %APPDATA%\usbdm).
The needed files are FlashProgrammer_HCS12.log, and usbdm.log.
I don;t have this chip to test so it's a bit painful to work out what is wrong.
Thanks