📄 atlasmgr2dlg.h
字号:
// AtlasMgr2Dlg.h : header file
//
#if !defined(AFX_ATLASMGR2DLG_H__AB043424_B071_4905_9A52_A1313D3F23A0__INCLUDED_)
#define AFX_ATLASMGR2DLG_H__AB043424_B071_4905_9A52_A1313D3F23A0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAtlasMgr2Dlg dialog
#include "blcommon.h"
#include "inputedit.h"
class CAtlasMgr2Dlg : public CDialog
{
// Construction
public:
bool UpdateNBootByJTAGBS(const char* szFile, const char *szNorflashType);
CAtlasMgr2Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAtlasMgr2Dlg)
enum { IDD = IDD_ATLASMGR2_DIALOG };
CComboBox m_NorFlash_Type;
CComboBox m_combo_com_port;
CInputEdit m_inputEdit;
CEdit m_outputTerminal;
int m_nCs;
int m_nTransPort;
int m_nPort;
CString m_strInput;
UINT m_nDumpNFStart;
UINT m_nDumpNFEnd;
BOOL m_wholechip;
int m_nBaud;
int m_nFlashType;
int m_nChipType;
int m_nGPIOPreLoad1Value;
int m_nGPIOPreLoad1Group;
int m_nGPIOPreLoad1Pins;
int m_nGPIOPreLoad2Value;
int m_nGPIOPreLoad2Group;
int m_nGPIOPreLoad2Pins;
int m_nGPIOPreLoad3Value;
int m_nGPIOPreLoad3Group;
int m_nGPIOPreLoad3Pins;
int m_nNorFlashType;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAtlasMgr2Dlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void UpdateUI();
BOOL DownloadBinFile(LPCSTR strBinFile, DWORD & nLastData, PBYTE pUsbFrameBuf, BOOL bFlush);
BOOL ParseBinInfo(char strBinFiles[BL_MAX_BIN_REGIONS][MAX_PATH], DWORD dwNumBin, MultiBINInfo & multiBinInfo, DWORD & dwCheckSum);
BOOL ParseBinInfo_CE50(char strBinFiles[BL_MAX_BIN_REGIONS][MAX_PATH], DWORD dwNumBin, MultiBINInfo_CE50 & multiBinInfo_ce50, DWORD & dwCheckSum);
BOOL DownloadFrame(PBYTE pUsbFrame);
HICON m_hIcon;
BOOL m_bOpened;
// Generated message map functions
//{{AFX_MSG(CAtlasMgr2Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnCsChange();
afx_msg void OnOpenDevice();
afx_msg void OnUpdateNboot();
afx_msg void OnUpdateEboot();
afx_msg void OnUpdateToc();
afx_msg void OnUpdateNKImage();
afx_msg void OnTransportChanged();
afx_msg void OnFlashTypeChanged();
afx_msg void OnUpdateNandxip();
afx_msg void OnUpdateDm();
afx_msg void OnDumpNboot();
afx_msg void OnDumpEboot();
afx_msg void OnDumpBlocks();
//}}AFX_MSG
afx_msg void OnAtlasDbgOutMessage(WPARAM wParam, LPARAM lParam);
afx_msg void OnAtlasDbgInMessage(WPARAM wParam, LPARAM lParam);
afx_msg void OnAtlasEnterEboot(WPARAM wParam, LPARAM lParam);
afx_msg void OnAtlasDownloadNk5(WPARAM wParam, LPARAM lParam);
afx_msg void OnAtlasDownloadNk4(WPARAM wParam, LPARAM lParam);
afx_msg void OnAtlasDumpNF(WPARAM wParam,LPARAM lParam);
afx_msg void OnAtlasGetOneSectorData(WPARAM wParam,LPARAM lParam);
afx_msg void OnAtlasUSBConnectBroken(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ATLASMGR2DLG_H__AB043424_B071_4905_9A52_A1313D3F23A0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -