用MDK 生成bin 文件1用MDK 生成bin 文件Embest 徐良平在RV MDK 中,默認情況下生成*.hex 的可執行文件,但是當我們要生成*.bin 的可執行文件時怎么辦呢?答案是可以使用RVCT 的fromelf.exe 工具進行轉換。也就是說首先將源文件編譯鏈接成*.axf 的文件,然后使用fromelf.exe 工具將*.axf 格式的文件轉換成*.bin格式的文件。下面將具體說明這個操作步驟:1. 打開Axf_To_Bin 文件中的Axf_To_Bin.uv2 工程文件;2. 打開Options for Target ‘Axf_To_Bin’對話框,選擇User 標簽頁;3. 構選Run User Programs After Build/Rebuild 框中的Run #1 多選框,在后邊的文本框中輸入C:\Keil\ARM\BIN31\fromelf.exe --bin -o ./output/Axf_To_Bin.bin ./output/Axf_To_Bin.axf 命令行;4. 重新編譯文件,在./output/文件夾下生成了Axf_To_Bin.bin 文件。在上面的步驟中,有幾點值得注意的是:1. C:\Keil\ARM\BIN31\表示RV MDK 的安裝目錄;2. fromelf.exe 命令的具體語法格式如下:命令的格式為:fromelf [options] input_file命令選項如下:--help 顯示幫助信息--vsn 顯示版本信息--output file 輸出文件(默認的輸出為文本格式)--nodebug 在生成的映象中不包含調試信息--nolinkview 在生成的映象中不包含段的信息二進制輸出格式:--bin 生成Plain Binary 格式的文件--m32 生成Motorola 32 位十六進制格式的文件--i32 生成Intel 32 位十六進制格式的文件--vhx 面向字節的位十六進制格式的文件t--base addr 設置m32,i32 格式文件的基地址--text 顯示文本信息文本信息的標志-v 打印詳細信息-a 打印數據地址(針對帶調試信息的映象)-d 打印數據段的內容-e 打印表達式表print Exception tables-f 打印消除虛函數的信息-g 打印調試表print debug tables-r 打印重定位信息-s 打印字符表-t 打印字符串表-y 打印動態段的內容-z 打印代碼和數據大小的信息
上傳時間: 2013-12-17
上傳用戶:AbuGe
What s inside :README - this fileINSTALL - installation instructionsstlport - main STLport include directorysrc - source and makefiles for iostreams implementationlib - installation directory for STLport library (if you use STLport iostreams only)test/regression - regression test, using wrapper iostreamstest/eh - Exception handling test using STLport iostreamsetc - miscellanous files (ChangeLog, TODO, scripts, etc.)
標簽: instructionsstlport installation fileINSTALL STLport
上傳時間: 2014-01-19
上傳用戶:1159797854
This firmware translates a PS/2 mouse to a USB mouse. The translator firmware is entirely interrupt driven (with the Exception of sending the data via USB to the host.) An interrupt is generated when the PS/2 start bit is received, at which time the firmware will begin its receive routine. In addition to this interrupt, every 168ms a timer overflow interrupts the main program and implements one state of the mouse state machine. This state machine handles sending bytes to and translating bytes received from the PS/2 mouse automatically. All of this is done in the background while the main program runs in the foreground. The only operation that the main program implements is sending mouse data to the PC via USB.
標簽: firmware mouse translates translator
上傳時間: 2015-04-26
上傳用戶:cuiyashuo
This PNG Delphi version 1.56 documentation (this version is a major rewrite intended to replace the previous version, 1.2). Improvements in this new version includes: This new version allows the programmer to not use Delphi heavy units which will greatly reduce the size of the final executable. Read more about this feature here. Most, if not all, Portable Network Graphics features as CRC checking are now fully performed. Error on broken images are now better handled using new Exception classes. The images may be saved using interlaced mode also. Transparency information won t be discarted after the image is loaded any more. Most of the images are decoded much faster now. The images will be better encoded using fresh new algorithms. IMPORTANT! Now transparency information is used to display images.
標簽: version documentation intended rewrite
上傳時間: 2015-06-28
上傳用戶:qiao8960
Oracle PL/SQL Best Practices is a concise, easy-to-use summary of best practices in the program development process. It covers coding style, writing SQL in PL/SQL, data structures, control structures, Exception handling, program and package construction, and built-in packages.
標簽: easy-to-use Practices practices concise
上傳時間: 2015-07-11
上傳用戶:gonuiln
DWT變換源代碼,As a special Exception, you may use this file as part of a free software library without restriction. Specifically, if other files instantiate templates or use macros or inline functions from this file, or you compile this file and link it with other files to produce an executable, this file does not by itself cause the resulting executable to be covered by the GNU General Public License. This Exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License.
上傳時間: 2014-12-05
上傳用戶:ynsnjs
本書以4個面向來表現C++的本質:procedural(程序性的)、generic(泛型的)、object-based(個別對象的)、object-oriented(面向對象的)。本書的組織圍繞著一系列逐漸繁復的程序問題,以及用以解決這些問題的語言特性。循此方式,你不只學到C++的函數和結構,也會學習到它們的設計目的和基本原理。 你可以由本書發現以下關鍵主題: ● Generic (泛型)編程風格和Standard Template Library(STL) ● Object-based(個別對象)編程風格和class的設計 ● Object-oriented(面向對象)編程風格和classes階層體系的設計 ● Function template 和class template 的設計和運用 ● Exception handling(異常處理)與執行期型別鑒定(Run-Time Type Identification)
標簽: object-oriented object-based procedural generic
上傳時間: 2013-12-30
上傳用戶:362279997
帶進度條的文件上傳(java+ajax源碼) 在寫代碼的時候,還要用到關于servlet的包servlet-api.jar。 寫完后調試的過程中,老報錯:java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream,后來一查才知道少了commons-io-1.2.jar,加上后,就ok了。 關于獲取及顯示進度部分,用了我原來自己寫的一個ajax的應用架構,從中抽取了部分代碼出來,注意,js文件只適用于UTF-8編碼的頁面,因為現在我只寫UTF-8編碼的頁面了,國際化方便。 progressUpload.jar中,包含了commons-fileupload-1.1.1.jar,servlet-api.jar,commons-io-1.2.jar,在progressUpload.jar中,還包含一個屬性文件,里面是一些默認配置,可根據自己的需要修改。 由于有源碼,怎么用可以自己看源碼,此外,那個例子中也寫了,在此不再贅述。例子中只取到了FileItem,再將item保存一下就ok了,示例代碼: File upFile = new File(remoteFilePath) try \{ item.write(upFile) fileInfo.put("infotip", "上傳成功.") } catch (java.lang.Exception e) \{ fileInfo.put("infotip", "上傳失敗.") }
上傳時間: 2015-09-01
上傳用戶:ccclll
tServer task executes functions at low priority (254). serverSend funtion is used to send a request to the tServer to execute a function at the tServer s priority. First tServer task executes the i() system call to print the summary of tShell task. Next an address Exception is caused in tServer task by trying to execute a funtion at non-aligned word boundry. As a result SIGBUS signal is raised automatically. Signals (setjmp() and longjmp()) are used to allow the tServer task to recover gracefully from an address error Exception. For more information about signals, please refer to sigLib manual pages.
標簽: serverSend functions executes priority
上傳時間: 2015-09-21
上傳用戶:tianjinfan
This thorough, hands-on reference for database developers and administrators delivers expert guidance on sophisticated uses of Transact-SQL (T-SQL)¡ ª one of the most familiar and powerful programming languages for SQL Server. Written by a T-SQL guru, this guide focuses on language features and how they are interpreted and processed by the SQL Server execution engine. You¡ ¯ ll get in-depth coverage of the sophisticated uses of T-SQL, including triggers, user-defined functions, Exception handling, and more. The book explains and compares solutions to database-development problems in both SQL Server 2000 and SQL Server 2005, discussing the new T-SQL programming features added to SQL Server 2005 in detail. Includes extensive code samples, table examples, and logic puzzles to help database developers and administrators understand the intricacies and help promote mastery of T-SQL.
標簽: administrators developers reference thorough
上傳時間: 2013-12-29
上傳用戶:Avoid98