|
Message
From: kobegpfan at yahoo.com<kobegpfan@y...>
Date: Thu Jul 24 10:39:46 CEST 2008
Subject: [openrisc] Need explanation for bin download (JTAG+GDB)
With JTAG and GDB, our bin file can be downloaded into a board. I am just curious about how these command work? Would you please explain the meaning of each step I listed below?
1. type "./jp1-xilinx 9999" or "./jp1-xess 9999" Q: What does this command do? From the screen information I guess this command starts a JTAG proxy server in my host, and the server use TCP port 9999 to communicate with other applications, e.g. GDB. Is this guess correct?
2. in screen, "Connected to parallel port at 378" Q: It seems the JTAG proxy server connected to the parallel port. But what does "378" means? It is time or port number?
3. In screen info, there are several key words: "read / expected / npc / ppc / rl" Q: first what does npc/ppc/rl mean? and what is read & expected. Why they are different? I remember they should be same then it works properly.
4. "or32-uclinux-gdb hello.or32" No question.
5. "target jtag jtag://localhost:9999" Q: Does it connect 9999 port?
6. "load" Q: Does it load the bin?
7. "set $pc=0x100" "c" No question.
8. Are there any way to do the same thing in Windows OS? I have not installed Linux in my test PC.
Best regards Kobe
|
 |