cErrLog::SetLogTraceOn ======================================================== SpyOpen, pszFileName='miclog.txt', pszLayers='ghf' Date : 04/17/10 - 10:35:50 ======================================================== ->DiGdiAddCallback(0x200) ->DiGdiAddCallback(0x800) ->DiGdiAddCallback: not used callback (2048) ->DiGdiAddCallback(0x2000) ->DiGdiAddCallback(0x4000) ->DiGdiAddCallback(0x8000) ->DiGdiAddCallback(0x8) DiGdiInitIO versionInfo = 1.5.9 GDI DLL version = 1.5 cErrLog::SetLogTraceOn DLL opened Routine connected STLink device connected Enter SWIM mode DiGdiGetFeatures versionInfo = 1.5.9 InitDaoAccess() m_sDbFileName = C:\Programme\STMicroelectronics\st_toolset\stvd\swim\config\swim_conf.mdb ->DiDirectCommand(extended_features) DiGdiInitRegisterMap Reg[0]: name=PC ID=0 flag=0 Reg[1]: name=SP ID=1 flag=0 Reg[2]: name=A ID=2 flag=0 Reg[3]: name=X ID=3 flag=0 Reg[4]: name=Y ID=4 flag=0 Reg[5]: name=CC ID=5 flag=0 Reg[6]: name=DATE ID=6 flag=0 DATE register not supported by GDI Reg[7]: name=DATE_LIMIT ID=7 flag=0 DATE_LIMIT register not supported by GDI Reg[8]: name=SP_OVERFLOW ID=8 flag=0 Reg[9]: name=SP_UNDERFLOW ID=9 flag=0 Reg[10]: name=NB_INST ID=10 flag=0 NB_INST register not supported by GDI Reg[11]: name=NB_INST_MAX ID=11 flag=0 NB_INST_MAX register not supported by GDI DiGdiSetConfig(STM8S105C6) chip_config_t::SetCurrentMcu(STM8S105C6) InitDaoAccess() m_sDbFileName = C:\Programme\STMicroelectronics\st_toolset\stvd\swim\config\swim_conf.mdb chip_config_t::TraceDumpContent() m_ConfigAlreadySet=1 m_pszName=STM8S105C6 m_DbId=31 m_chipInfo.dieID=0x37394241 m_chipInfo.dieIDAddr=0x67f0 m_chipInfo.stackTop=0x7ff m_chipInfo.stackBottom=0x600 m_chipInfo.core=0x3 dmCellNb=1 baseAddress[0]=0x7f90 m_systVectors.ramTblBaseAddr=0x0 m_systVectors.resetVectAddr=0x8000 m_FCR2_Address=0x505b m_IAPSR_Address=0x505f m_TMU_Ctrl_Address=0x5808 m_mappedRegAddr=0x7f00 m_swimMonitorAddr=0x0 m_swimRegAddr=0x7f80 m_WorkaroundId=0x0 m_WorkaroundParam=0x0 memory_mapping_t::TraceDumpContent [0x000000-0x0007ff]:RAM which is Writeable [0x000800-0x0013ff]:NEM which is Writeable [0x001400-0x0017ff]:NEM which is Writeable [0x001800-0x003fff]:NEM which is Writeable [0x004000-0x0043ff]:EEPROM which is Writeable [0x004400-0x004fff]:NEM which is Writeable [0x005000-0x00581c]:PERIPH which is Writeable [0x00581d-0x005fff]:NEM which is Writeable [0x006000-0x0067ff]:BOOTROM which is Not Writeable [0x006800-0x007fff]:NEM which is Writeable [0x008000-0x00ffff]:Flash which is Writeable flash_prog_t::TraceDumpContent Bootcode C:\Programme\STMicroelectronics\st_toolset\stvd\swim\config\swimStm8.s19 to load at 0x0030 (start from 0x0030); ends at 0x00ff Prog buffer is 4 long from 0x012f; Block size is 128 K) gdiSendChipResetCmd (SWIM ENTRY) ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections gdiCheckDieID Detected chip ID = 0x37394241 IsReadOutProtected ReadOptionBytes (M6Y Flash) IsReadOutProtected ParseOptionBytes gdiSendChipResetCmd (SRST) ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Restore ICC cell values ProgramDebugModuleOptions VerifyDebugModuleOptions Options in DM reg 10: bitMask=0xff, value=0x70 DiGdiGetFeatures versionInfo = 1.5.9 gdiRegisterGetInternalID => PC Read register 0: = 0x00006000 gdiRegisterGetInternalID => SP Read register 1: = 0x000007ff DiMemoryGetMap ->DiDirectCommand(machine version) gdiGetMachineVersion versionInfo = 1.5.9 STM SWIM stm_swim.dll 1.5.9 STLink Firmware 1.03 ->DiDirectCommand(gdb_info) DiMemoryDownload DiMemoryDownload ->gdiStartFeedback(1024, Programming the flash memory) ->gdiSetFeedback(1, Verifying the flash memory) ->gdiStopFeedback() DiMemoryDownload ->gdiStartFeedback(1024, Programming the flash memory) ->gdiSetFeedback(1, Verifying the flash memory) ->gdiStopFeedback() DiMemoryDownload DiExecResetChild gdiSendChipResetCmd (SRST) ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Restore ICC cell values ProgramDebugModuleOptions VerifyDebugModuleOptions gdiRegisterGetInternalID => PC Read register 0: = 0x00006000 gdiRegisterGetInternalID => SP Read register 1: = 0x000007ff ->DiDirectCommand(machine version) gdiGetMachineVersion versionInfo = 1.5.9 STM SWIM stm_swim.dll 1.5.9 STLink Firmware 1.03 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -info) ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -info) ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -set CR 0x00000000 0) ICD cell 0: no bkpt used ICD cell 0: no bkpt used Writing register CR (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -set BK1 0x00000000 0) ICD cell 0: no bkpt used ICD cell 0: no bkpt used Writing register BK1 (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -set BK2 0x00000000 0) ICD cell 0: no bkpt used ICD cell 0: no bkpt used Writing register BK2 (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) gdiRegisterGetInternalID => SP_OVERFLOW Read register 8: = 0x00000600 DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x006000 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x006079 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x0060f3 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x00616e DiExecResetChild gdiSendChipResetCmd (SRST) ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Restore ICC cell values ProgramDebugModuleOptions VerifyDebugModuleOptions gdiRegisterGetInternalID => PC Read register 0: = 0x00006000 gdiRegisterGetInternalID => SP Read register 1: = 0x000007ff gdiRegisterGetInternalID => SP_OVERFLOW Read register 8: = 0x00000600 DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x006000 DiExecContinue ->ManageFlashBeforeGo DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecStop DiExecGetStatus ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Emulator returned status STALLED (stopReason = 0x01 (User stop), ICD cell ID = 0) gdiRegisterGetInternalID => PC Read register 0: = 0x00008460 gdiRegisterGetInternalID => SP Read register 1: = 0x000007f3 DiGdiClose DiGdiClose CWinApp::ExitInstance(): Leave function properly cErrLog::SetLogTraceOn ======================================================== SpyOpen, pszFileName='miclog.txt', pszLayers='ghf' Date : 04/17/10 - 10:39:03 ======================================================== ->DiGdiAddCallback(0x200) ->DiGdiAddCallback(0x800) ->DiGdiAddCallback: not used callback (2048) ->DiGdiAddCallback(0x2000) ->DiGdiAddCallback(0x4000) ->DiGdiAddCallback(0x8000) ->DiGdiAddCallback(0x8) DiGdiInitIO versionInfo = 1.5.9 GDI DLL version = 1.5 cErrLog::SetLogTraceOn DLL opened Routine connected STLink device connected Enter SWIM mode DiGdiGetFeatures versionInfo = 1.5.9 InitDaoAccess() m_sDbFileName = C:\Programme\STMicroelectronics\st_toolset\stvd\swim\config\swim_conf.mdb ->DiDirectCommand(extended_features) DiGdiInitRegisterMap Reg[0]: name=PC ID=0 flag=0 Reg[1]: name=SP ID=1 flag=0 Reg[2]: name=A ID=2 flag=0 Reg[3]: name=X ID=3 flag=0 Reg[4]: name=Y ID=4 flag=0 Reg[5]: name=CC ID=5 flag=0 Reg[6]: name=DATE ID=6 flag=0 DATE register not supported by GDI Reg[7]: name=DATE_LIMIT ID=7 flag=0 DATE_LIMIT register not supported by GDI Reg[8]: name=SP_OVERFLOW ID=8 flag=0 Reg[9]: name=SP_UNDERFLOW ID=9 flag=0 Reg[10]: name=NB_INST ID=10 flag=0 NB_INST register not supported by GDI Reg[11]: name=NB_INST_MAX ID=11 flag=0 NB_INST_MAX register not supported by GDI DiGdiSetConfig(STM8S105C6) chip_config_t::SetCurrentMcu(STM8S105C6) InitDaoAccess() m_sDbFileName = C:\Programme\STMicroelectronics\st_toolset\stvd\swim\config\swim_conf.mdb chip_config_t::TraceDumpContent() m_ConfigAlreadySet=1 m_pszName=STM8S105C6 m_DbId=31 m_chipInfo.dieID=0x37394241 m_chipInfo.dieIDAddr=0x67f0 m_chipInfo.stackTop=0x7ff m_chipInfo.stackBottom=0x600 m_chipInfo.core=0x3 dmCellNb=1 baseAddress[0]=0x7f90 m_systVectors.ramTblBaseAddr=0x0 m_systVectors.resetVectAddr=0x8000 m_FCR2_Address=0x505b m_IAPSR_Address=0x505f m_TMU_Ctrl_Address=0x5808 m_mappedRegAddr=0x7f00 m_swimMonitorAddr=0x0 m_swimRegAddr=0x7f80 m_WorkaroundId=0x0 m_WorkaroundParam=0x0 memory_mapping_t::TraceDumpContent [0x000000-0x0007ff]:RAM which is Writeable [0x000800-0x0013ff]:NEM which is Writeable [0x001400-0x0017ff]:NEM which is Writeable [0x001800-0x003fff]:NEM which is Writeable [0x004000-0x0043ff]:EEPROM which is Writeable [0x004400-0x004fff]:NEM which is Writeable [0x005000-0x00581c]:PERIPH which is Writeable [0x00581d-0x005fff]:NEM which is Writeable [0x006000-0x0067ff]:BOOTROM which is Not Writeable [0x006800-0x007fff]:NEM which is Writeable [0x008000-0x00ffff]:Flash which is Writeable flash_prog_t::TraceDumpContent Bootcode C:\Programme\STMicroelectronics\st_toolset\stvd\swim\config\swimStm8.s19 to load at 0x0030 (start from 0x0030); ends at 0x00ff Prog buffer is 4 long from 0x012f; Block size is 128 K) gdiSendChipResetCmd (SWIM ENTRY) ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections gdiCheckDieID Detected chip ID = 0x37394241 IsReadOutProtected ReadOptionBytes (M6Y Flash) IsReadOutProtected ParseOptionBytes gdiSendChipResetCmd (SRST) ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Restore ICC cell values ProgramDebugModuleOptions VerifyDebugModuleOptions Options in DM reg 10: bitMask=0xff, value=0x70 DiGdiGetFeatures versionInfo = 1.5.9 gdiRegisterGetInternalID => PC Read register 0: = 0x00006000 gdiRegisterGetInternalID => SP Read register 1: = 0x000007ff DiMemoryGetMap ->DiDirectCommand(machine version) gdiGetMachineVersion versionInfo = 1.5.9 STM SWIM stm_swim.dll 1.5.9 STLink Firmware 1.03 ->DiDirectCommand(gdb_info) DiMemoryDownload DiMemoryDownload ->gdiStartFeedback(1024, Programming the flash memory) ->gdiSetFeedback(1, Verifying the flash memory) ->gdiStopFeedback() DiMemoryDownload ->gdiStartFeedback(1024, Programming the flash memory) ->gdiSetFeedback(1, Verifying the flash memory) ->gdiStopFeedback() DiMemoryDownload DiExecResetChild gdiSendChipResetCmd (SRST) ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Restore ICC cell values ProgramDebugModuleOptions VerifyDebugModuleOptions gdiRegisterGetInternalID => PC Read register 0: = 0x00006000 gdiRegisterGetInternalID => SP Read register 1: = 0x000007ff ->DiDirectCommand(machine version) gdiGetMachineVersion versionInfo = 1.5.9 STM SWIM stm_swim.dll 1.5.9 STLink Firmware 1.03 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -info) ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -info) ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -set CR 0x00000000 0) ICD cell 0: no bkpt used ICD cell 0: no bkpt used Writing register CR (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -set BK1 0x00000000 0) ICD cell 0: no bkpt used ICD cell 0: no bkpt used Writing register BK1 (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -set BK2 0x00000000 0) ICD cell 0: no bkpt used ICD cell 0: no bkpt used Writing register BK2 (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) gdiRegisterGetInternalID => SP_OVERFLOW Read register 8: = 0x00000600 DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x006000 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x006079 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x0060f3 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x00616e DiExecResetChild gdiSendChipResetCmd (SRST) ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Restore ICC cell values ProgramDebugModuleOptions VerifyDebugModuleOptions gdiRegisterGetInternalID => PC Read register 0: = 0x00006000 gdiRegisterGetInternalID => SP Read register 1: = 0x000007ff gdiRegisterGetInternalID => SP_OVERFLOW Read register 8: = 0x00000600 DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiMemoryRead gdiMemoryRead : 5 bytes at address 0x006000 DiExecContinue ->ManageFlashBeforeGo DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecGetStatus Emulator returned status RUNNING (stopReason = 0xffb0 (), ICD cell ID = 0) DiExecStop DiExecGetStatus ->ManageFlashAfterBreak ->GetFlashProtectionState M6Y flash is locked M6Y data EEPROM is locked ->DisableMemoryWriteProtections ->GetFlashProtectionState M6Y flash is unlocked M6Y data EEPROM is unlocked <-DisableMemoryWriteProtections <-ManageFlashAfterBreak Emulator returned status STALLED (stopReason = 0x01 (User stop), ICD cell ID = 0) gdiRegisterGetInternalID => PC Read register 0: = 0x00008463 gdiRegisterGetInternalID => SP Read register 1: = 0x000007f3 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008454 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008456 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008458 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008459 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x00845d DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008460 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008461 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008462 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x00845b gdiRegisterGetInternalID => SP_UNDERFLOW Read register 9: = 0x000007ff gdiRegisterGetInternalID => SP_OVERFLOW Read register 8: = 0x00000600 DiMemoryRead gdiMemoryRead : 2 bytes at address 0x0007f6 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ac5 DiMemoryRead gdiMemoryRead : 2 bytes at address 0x0007f6 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ac5 DiMemoryRead gdiMemoryRead : 2 bytes at address 0x0007f6 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ac5 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x0089be DiMemoryRead gdiMemoryRead : 5 bytes at address 0x0089be DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ab5 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ab6 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ab8 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008aba DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008abc DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008abf DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ac0 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ac3 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ac5 DiMemoryRead gdiMemoryRead : 2 bytes at address 0x0007f6 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008ac5 DiMemoryRead gdiMemoryRead : 32 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000011 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000012 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000013 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000014 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000015 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000016 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000017 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000018 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x000019 DiMemoryRead gdiMemoryRead : 1 bytes at address 0x00001a DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008424 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x008429 DiMemoryRead gdiMemoryRead : 5 bytes at address 0x00842b DiMemoryRead gdiMemoryRead : 5 bytes at address 0x00842d DiMemoryRead gdiMemoryRead : 5 bytes at address 0x00842f DiMemoryRead gdiMemoryRead : 124 bytes at address 0x008429 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x0084a1 DiMemoryRead gdiMemoryRead : 124 bytes at address 0x00851c ->DiDirectCommand(icdbreak -info) ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -get CR 0) Reading register CR (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -get BK1 0) Reading register BK1 (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) ->DiDirectCommand(icdbreak -get BK2 0) Reading register BK2 (DM cell 0), value =0x000000 ->DiDirectCommand(gdb_info) DiGdiClose DiGdiClose CWinApp::ExitInstance(): Leave function properly