- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are using MAX 10 FPGA in our design and we are using the NIOS II processor for implementing intel PFR. Our code and FW are working as expected. The only problem we are facing is we are not able to run .tcl scripts to access the NIOS II processor and do some debugging. We have enabled JTAG debug for NIOS II in platform designer as well. We are getting the following error on running .tcl script.
"master_read_32:com.altera.systemconsole.internal.plugin.jtag.oci.Nios2DebugException:Targt is broken and needs to be reset"
PFA TCL script being used and images showing System console windows.
Please let us know the possible cause for this error. Why tcl scripts are not working if the processor is working as expected?
Regards,
Ashbin
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Get rid of puts in front of your master_read_32 commands. You're sending the command directly through System Console to perform an operation, not sending a text string.
Also, you should be using claim_service instead of open_service. open_service has been deprecated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @sstrell ,
We have tried removing the puts in front of master_read commands and are still getting the same error.
open_service will still work right though deprecated?
Kindly see what could be wrong.
Also what we are currently doing is, we are programming the .pof file to the FPGA and then opening the system console and executing the script. Let us know if this procedure is correct or not.
Regards,
Ashbin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What happens when you enter the commands manually?
Again, open_service is deprecated so using claim_service may fix the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @sstrell ,
We have tried with claim_service as well and the issue is still there.
Kindly assist.
Regards,
Ashbin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
case reopen

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page