?? readme.mon
字號:
PMON simple S-record monitor, 13-10-2000-------------------------------------------Introduction------------Pmon is a simple monitor that can be placed in an on-chip boot prom,external prom or cache memories (using the boot-cache configuration). Two versions are provided, one to be used for on-chip prom or caches(bprom.c) and one for external proms (eprom.c). The on-chip versionautomatically detects attached memory and configures the memorycontroller register (2). The external version (eprom.c) needs tobe edited first to reflect the current board configuration.Compilation-----------First edit the board-specific parameters in the beging of eprom.cThen compile the monitors with: sparc-rtems-gcc -nostdlib -nostdinc -O2 -Ttext 0 eprom.c -o eprom sparc-rtems-gcc -nostdlib -nostdinc -O2 -Ttext 0 bprom.c -o bpromTo generate a binary image to be used by rom2vhdl, convert as follows: sparc-rtems-objcopy -O binary bprom bprom.bin Conversion to your prom/cache format is left to the user. Notethat you can use sparc-rtems-objcopy to convert PMON to S-records: sparc-rtems-objcopy -O srec eprom eprom.srecUsage-----The monitor writes a boot message on UART1 transmitter and then waits for S-records to be downloaded on UART1 receiver. It recognises two types of S-records: memory contents and startaddress. A memory content S-record is saved to the appropriateaddress in memory, while a start address record will cause themonitor to jump to the indicated address. Applicationscompiled with LEONCCS (a.out) can be converted to a suitable S-recordstream with:sparc-rtems-objcopy -O srec --adjust-vma=0x40000000 --set-start=0 app app.srecFuture ELF versions of LEONCCS will not need the vma adjustments.Good luck, Jiri.(jgais@ws.estec.esa.nl)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -