6cmd.txt

来自「ti的驱动程序例程」· 文本 代码 · 共 17 行

TXT
17
字号
debug\hello.out
-image                                       /*Specify image mode*/
-map hello_hex.map               /*Generate a map file*/
-fill 0x00000000                         /*Fill holes with value*/
-memwidth 8                     /*Define the system memory word width*/
-romwidth 8                        /*Specify the ROM device width*/
-order l                         /*Output file is in big endian format*/
-i                        /*specify the output file format*/
-boot                    /*Convert all initialized sections intobootable form(use 
                                       instead of a SECTIONSdirective)*/
-bootorg 0x90000000 /*Specify the source address of the boot loader table*/
ROMS
{
  EPROM: origin=0x090000000,len=0xffff,files={hello.hex}
}

这个是我的测试程序的cmd文件,已经成功了,如果的flash是16bit引导的话,就把上面的存储器宽度都改成16,就ok了 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?