Converting files larger than 64KB using hex2c.exe
Anonymous
Not applicable
Dec 19, 2008
12:00 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Dec 19, 2008
12:00 AM
Question: My hex file is larger than 64KB and will not process using the hex2c.exe utility. Can the utility be modified to process files larger than 64KB?
Answer:
Yes, the hex2c utility can be safely modified to process files larger than 64KB. To modify the utility:
1. Open the hex2c.dsw with Visual C++. This project is found under the Cypress\Usb\Utils\hex2c directory.
2. Change #define MAX_FILE_SIZE (64 * 1024) to #define MAX_FILE_SIZE (XXX* 1024) // xxx is some digit larger than 64.
3. Recompile the project.
With the newly-created tool, you can process the bigger hex file.
- Tags:
- usb controllers
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous