資源簡介
解碼keil 保存的hex內存數據,轉為一個數組數據,然后通過excel或matlab作為數據分析
1) 將1.txt放入decode.exe的所在目錄下,
1.txt是通過keil的save命令保存指定內存地址間的數據SAVE path\fname startAddr, endAddr
且數據類型為uint32_t 或int32_t
2)點擊decode.exe,生成2.txt數組,然后通過excel或matlab可以生成曲線,觀看數據變化
代碼片段和文件信息
//?decode.cpp?:?定義應用程序的類行為。
//
#include?“stdafx.h“
#include?“decode.h“
#include?“decodeDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CdecodeApp
BEGIN_MESSAGE_MAP(CdecodeApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CdecodeApp?構造
CdecodeApp::CdecodeApp()
{
//?TODO:?在此處添加構造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個?CdecodeApp?對象
CdecodeApp?theApp;
//?CdecodeApp?初始化
BOOL?CdecodeApp::InitInstance()
{
//?如果一個運行在?Windows?XP?上的應用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設置為包括所有要在應用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????884??2015-12-07?17:28??decodehex\decode.sln
????..A..H.?????27648??2017-03-23?09:23??decodehex\decode.suo
?????文件???????5472??2015-12-07?18:25??decodehex\decode\decode.vcproj
?????文件???????2745??2015-12-07?17:28??decodehex\decode\ReadMe.txt
?????文件????????441??2015-12-07?17:28??decodehex\decode\decode.h
?????文件???????1647??2015-12-07?17:28??decodehex\decode\decode.cpp
?????文件???????1796??2015-12-07?17:28??decodehex\decode\stdafx.h
?????文件???????1030??2015-12-07?17:28??decodehex\decode\targetver.h
?????文件????????137??2015-12-07?17:28??decodehex\decode\stdafx.cpp
?????文件???????1427??2017-03-23?09:23??decodehex\decode\decode.vcproj.DP-201211261405.Administrator.user
?????文件????????604??2015-12-07?18:25??decodehex\decode\decodeDlg.h
?????文件????????721??2015-12-17?17:07??decodehex\decode\Resource.h
?????文件???????6024??2017-03-10?11:59??decodehex\decode\decodeDlg.cpp
?????文件????????362??2015-12-07?17:28??decodehex\decode\res\decode.rc2
?????文件??????21630??2003-07-24?09:52??decodehex\decode\res\decode.ico
?????文件???????5105??2017-03-10?10:41??decodehex\decode\decode.rc
?????文件??????58560??2017-03-10?10:41??decodehex\decode\decode.aps
?????文件???????1506??2017-03-10?10:48??decodehex\decode\1.txt
?????文件????????967??2017-03-10?11:31??decodehex\decode\2.txt
?????文件????????321??2018-01-03?16:24??decodehex\新建?文本文檔.txt
?????文件??????69126??2017-03-10?10:08??decodehex\360截圖20170310100854828.jpg
?????文件??????19456??2017-03-23?09:23??decodehex\decode.ncb
?????文件??????41472??2017-03-10?11:59??decodehex\Release\decode.exe
?????文件???????1506??2017-03-10?10:48??decodehex\Release\1.txt
?????文件????????968??2017-03-23?09:34??decodehex\Release\2.txt
?????目錄??????????0??2017-03-10?10:08??decodehex\decode\res
?????目錄??????????0??2017-03-10?10:07??decodehex\decode
?????目錄??????????0??2017-03-10?11:59??decodehex\Release
?????目錄??????????0??2017-03-10?10:07??decodehex
-----------?---------??----------?-----??----
............此處省略2個文件信息
評論
共有 條評論