⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flashblink_ahex.cmd

📁 ti dsp 5402 的BOOT程序。利用此程序实现将代码写入到FLASH 的功能。
💻 CMD
字号:

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

/*
 * $Log: FlashBlink_ahex.cmd,v $
 * Revision 1.2  2001/02/17 14:18:24  heeschen
 * Adding 5510 EVM Blink demo
 *
 * Revision 1.1  2000/12/08 18:39:53  heeschen
 * Added type.h to the package.
 * Added a command file for hex conversion to TI ASCII as
 * well as Motorola. Added file is FlashBlink_ahex.cmd.
 *
 * 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 create a .out file (open
 * the .pjt file using CCS and build the
 * .out file).
 * After that, open a DOS window in the
 * same dir. and type
 *    >hex500 FlashBlink_ahex.cmd
 *
 * to produce FLashBlink.hex for downloading.
 * Use the FlashBurn application to download.
 */

FlashBlink.out             /* Input COFF file */
-a                        /* 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=0x0000, 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -