📄 readme
字号:
1. Please see "TriMedia SDE Book 4, Part C. TriMedia Debugger" for details on debugging TriMedia applications using JTAG.2. There are two makefiles in this directory - makefile.unix - for making flashwrite.mi and flashwrite.eeprom on Sun and HP. makefile.win - for making flashwrite.mi and flashwrite.eeprom on Windows using the MKS Make facility. In order to use these makefiles, you must define CC (Host C compiler) and TCS (Trimedia toolset installation directory) appropriately.3. The macros SDRAM_BASE and SDRAM_LIMIT can be modified to suit any customized TriMedia board design. To modify the macros, simply use a text editor and change the SDRAM_BASE value to match your board's SDRAM base address and the SDRAM_LIMIT value to the value of SDRAM_BASE plus the board's SDRAM memory size. NOTE 1: SDRAM_LIMIT should contain an address value that is just one byte beyond the highest SDRAM address. For example, if the SDRAM_BASE is 0xfe000000 and there are 4 mega bytes of SDRAM, then SDRAM_LIMIT should be set to 0xfe400000. NOTE 2: The code in this directory will only work for special DTV stand-alone boards with the AMD Flash Am29F080 part (8 Mb x 4). On these boards, the flash memory appears as part of PCI space (using PCI glue logic) and can be accessed via simple load/store operations. Further, it assumes the flash base address at 0xFF400000 and the flash sector size to be 0x00040000.This specific version is used to program the flash via tmdbg. Compile a program for the final execution environment (i.e. -host nohost and without -g), and download via JTAG with tmdbg.Note that when the standalone system is powered up with this EEPROM, you should wait 20-30 seconds for the flash chip erase to complete, before trying to connect via JTAG. If you did not wait long enough, there's a chance that tmdbg will come back with a time-out error.After the debugger finishes downloading, the program is written into flash. At this point, power off the standalone system - do not reset the board, since (with the fwrite eeprom) that will once again erasethe contents of the flash.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -