makecrc.bat
来自「GM5621原代码」· Batch 代码 · 共 18 行
BAT
18 行
//Syntax: computeCRC inputFile outputFile /p [option: /Sxxxx /Lyyyy /Czzzz]
//option:
// /p for phoenix; if zzzz is greater than xxxx, for phoenix;
// /Sxxxx -- code starting address xxxx
// /Lyyyy -- code length yyyy
// /Czzzz -- configuration block starting address at zzzz
//Default option: for 52xx, 128K
// computeCRC 52xx_proj.bin 52xx.bin /S256 /L122624 /C0
//Examples:
//Example 1: 128K flash, two 4K sector n-3, n-2 for NVRAM, last 32 byte for configuration
// computeCRC 52xx_proj.bin 52xx.bin /p /S0 /L118784 /C131040
//Example 2: 128K flash, no sector for NVRAM, last 32 byte for configuration
computeCRC 52xx_proj.bin 52xx.bin /p /S0 /L131040 /C131040
//Example 3: 128K flash, two 4K sector 0, 1 for NVRAM, last 32 byte for configuration
// computeCRC 52xx_proj.bin 52xx.bin /p /S8192 /L122848 /C131040
//Example 4: 256K flash, two 4K sector n-3, n-2 for NVRAM, n-1 sector for configuration with valid last 32 byte
// computeCRC 52xx_proj.bin 52xx.bin /p /S0 /L249856 /C262112
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?