Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi Dave
I implemented the jtag mm master, and i do believe that it encompasses all memory, but my original triggering problem still exists: when i use the master_write_from_file in system console, that seems to jam up the following nios code: printf("waiting for trigger...\n"); while(IORD_32DIRECT(TRIGGERBUFFER,0) != triggerCaptureVal ) { delay = 0; while(delay < 100000000) { delay++; } printf("\nTriggerReg is %08x\n",TRIGGERBUFFER); verifyTriggerSet = (IORD_32DIRECT(TRIGGERBUFFER,0)); printf("\nTriggerVal is %08x\n",verifyTriggerSet); } I can watch each loop output text, but the second that i run the master_write_from_file $myMaster "c:/mydir/bitStream34.bin" 0x20000004 the loop stops printing. no errors, just hang up. Any ideas? I just need to be able to load up a bunch of commands to memory before this trigger occurs. i was hoping that the master_write_from_file would be the answer. Any other ideas on how to do this? or possibly pause the nios from checking that memory (in case there is an access contention)? attached is an updated qsys just incase you see something there thanks!