- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the details about the "Run as Hardware"?
======================================== 1. What is the "Controller logic" or "boot loader" in NiosII side, especilly the JTAG UART? 2. How does it receive data from JTAG cable to volatile memory, such as SRAM or On-chip memory or SDRAM, and then run from the volatile memory?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you select "Run as hardware" from the IDE it does the following:
1) downloads the code to the target using nios2-download. This will set up your uninitialised memory. nios2-download then starts the processor at the entry point specified in the ELF file. 2) starts nios2-terminal to listen on the JTAG UART or UART specified. There is no boot loader on the target (Nios II) side in this case - the download is all done by the JTAG debug core built in to the processor. nios2-download talks to the JTAG debug core, nios2-terminal talks to the JTAG UART. They are separate command line applications which are pulled together by the IDE.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,wombat
How can the JTAG Debug Core download the code into kinds of momery?? Are there extra options during this process? If try to download the code to a external SSRAM, are there any extra works??- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The JTAG debug core uses the processors data master to write to memory, so anything which is accessible from that master can be written. In addition, some on-chip ROMs are writable when the processor is in debug mode.
The options available are displayed if you type `nios2-download --help`.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page