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

📄 readme

📁 嵌入式开发板连接程序源码
💻
字号:
JTAG PROGRAMMING UTILITY README FOR OPENRISC 1000INTRODUCTIONJP1 is a proprietary JTAG protocol. It is very simple, and perhapsits biggest advantage is that no special HW is needed -- only aparallel port cable and some buffers. It is compatible with XilinxParallel Cable III.Gdb is capable of connecting, controlling and debugging the boardvia JP1. Currently jp1 has support only for Linux.USAGEjp1 [cable] [port] <cable options>The cable parameter selects the cable to use for communicateing with the board.At the time of writting, cable may be one of xpc3, xess, rtl_sim or vpi.  xpc3assumes a xillinx parallel cable 3, rtl_sim connects to a rtl simulator,communicateing with it via files (slow), vpi connects to a rtl simulator via thevpi (faster).  The port parameter specified designates TCP/IP port address wherethe server starts.  Run jp1 without arguments for a list of cable specificoptions.First, start the jp1 program in root mode, e.g.:./jp1 xpc3 9999 Then start gdb and connect to it,using e.g.:$ or32-rtems-gdb test.or32(gdb) target jtag jtag://localhost:9999Then load the program into the memory:(gdb) loadand start it up:(gdb) set $pc=0x100You can write stepi or si, to see if things are workingcorrectly:(gdb) stepiIf the program counter increases, we can set the breakpointand run the program with command 'continue' or 'c'.AUTHORSSimons Srot, simons@opencores.orgMarko Mlinar, markom@opencores.org

⌨️ 快捷键说明

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