📄 debugtooldlg.h
字号:
// DebugToolDlg.h : header file
//
#if !defined(AFX_DEBUGTOOLDLG_H__1A94F70A_97DA_414B_9F41_18D17B821903__INCLUDED_)
#define AFX_DEBUGTOOLDLG_H__1A94F70A_97DA_414B_9F41_18D17B821903__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDebugToolDlg dialog
void __cdecl checkprogrammeover();
class CDebugToolDlg : public CDialog
{
// Construction
public:
CDebugToolDlg(CWnd* pParent = NULL); // standard constructor
friend void checkover();
// Dialog Data
//{{AFX_DATA(CDebugToolDlg)
enum { IDD = IDD_DEBUGTOOL_DIALOG };
CListBox m_pc;
CListBox m_Disas;
CListBox m_list;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDebugToolDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
private:
int m_pcindex;
int m_index;
bool m_inbp;
int m_bpAddr;
int m_prePc;
CString m_svfName;
CString m_sFwName;
char m_svfPath[100];
BOOL m_bOpen;
void msg(int index, CString msg);
void showV8(int index, CString disas);
void showpc(int index, CString str);
void delpc(int index);
void delay(int i);
BYTE NibbleToHex(CString charStr );
int StrToHex( CString char4Str );
int StrToDec( CString char4Str );
long ExamineJtagChain(long portID);
void DetectIRLength(long tapid); // kenichi 03 2007.7.27 >>
void ipTest(CString ipname); // kenichi 0815
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDebugToolDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnRead();
afx_msg void OnOpen();
afx_msg void OnClose();
afx_msg void OnWrite();
afx_msg void OnOpenFile();
afx_msg void OnDown();
afx_msg void OnClear();
afx_msg void OnRun();
afx_msg void OnFlashDown();
afx_msg void OnFlashWrite();
afx_msg void OnFlashRead();
afx_msg void OnErase();
afx_msg void OnStep();
afx_msg void OnSetBP();
afx_msg void OnOpenSvf();
afx_msg void OnUploadSvf();
afx_msg void OnUpLoadSvf();
afx_msg void OnSch();
afx_msg void OnSms4();
afx_msg void OnTimer();
afx_msg void OnFlash();
afx_msg void OnI2c();
afx_msg void OnXram();
afx_msg void OnGpio();
afx_msg void OnStop();
afx_msg void OnApbuart();
afx_msg void OnSysReg();
afx_msg void On7816();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEBUGTOOLDLG_H__1A94F70A_97DA_414B_9F41_18D17B821903__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -