flashblink_hex.cmd

来自「ti dsp 5402 的BOOT程序。利用此程序实现将代码写入到FLASH 的」· CMD 代码 · 共 66 行

CMD
66
字号

/* FlashBlink_hex.cmd
 *
 *        Adopted from Blink Example for 5402 DSK
 *        Creates a Motorola Hex formatted .hex file.
 *
 */

/*
 * $Log: FlashBlink_hex.cmd,v $
 * Revision 1.3  2001/02/17 14:18:24  heeschen
 * Adding 5510 EVM Blink demo
 *
 * Revision 1.2  2000/11/02 15:03:26  heeschen
 * Minor name changes to make things easier to keep track of.
 *
 * Revision 1.1  2000/11/01 20:57:37  heeschen
 * Initial version tested with FlashBurn v1.003.
 * This is adapted from the 5402 DSK blink application.
 *
 */


/* Use CCS to build the FlashBlink.out program
 * by opening the FlashBlink.pjtk file and selecting
 * Build. After that, open a DOS window in the same
 * directory and type
 *    >hex500 FlashBlink_hex.cmd
 *
 * to produce FLashBlink.hex for downloading.
 * Use the FlashBurn application to download.
 */

FlashBlink.out             /* Input COFF file */
-m1                        /* Select Motorola-S1 */

-map FlashBlink54_hex.map    /* Name hex utility map file */

-o FlashBlink54.hex          /* Name hex output file */

-memwidth 16               /* Set EPROM system memory width */
-romwidth 16               /* Set physical ROM width */

-swwsr 0x7fff              /* Software Wait State Reg value */
-bscr  0x8806              /* Bank-Switch Control Reg */
						   
ROMS
{
    PAGE 0 : ROM : o=0x8000, l=0x10000
}

SECTIONS
{
    .trap      boot
    .vectors   boot
    .fifo      boot
    .stack     boot
    .text      boot
    .cinit     boot
    .cio       boot
    .switch    boot
    .bss       boot
    .const     boot
    .sysmem    boot
}

⌨️ 快捷键说明

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