Mastercard logo  
 
Visa logo  
 
American Express logo  
 
 
 
Supported Processors
 
 
 MAJIC FAQs about

 Firmware Version Numbers

 Error Messages

 JTAG Connections

 Ethernet Problems

 Startup Problems

 Problems Tracing

   
 

Error messages

101.   What are these "invalid device" messages trying to tell me?
"COMM ERR: cannot open majic3 channel, invalid device name"
"ERROR: Invalid serial channel device name majic99"


102.   What does "CPU Unsupported" mean?

103.   What does "Reset operation failed" mean?

104.   What does "Software breakpoint converted to hardware breakpoint" mean?

105.   What does "The emulator experienced an internal failure" mean?

106.   What does "Static IP address setting will take effect after emulator is rebooted" mean?

107.   What does "At least one trace point has been detected" mean?

108.   What does "JTAG operation failed--target connection or power lost" mean?

109.   What does "JTAG operation timed out" mean?

110.   What does "Logical connection established to the only TAP on the JTAG chain" mean?

111.   What does "Logical connection established to TAP x of the y TAP JTAG chain" mean?

112.   What does "Warning: TAP x is already in use" mean?

113.   What does "TAP x on the JTAG scan chain has a surprisingly short IR of b bits" mean?

114.   What does "TAP x on the JTAG scan chain has an excessively long IR" mean?

115.   What does "Raw mode JTAG BYPASS test FAILED" mean?

116.   What does "Illegal JTAG condition: 0 bit IR detected" mean?

117.   What does "Excessive stall condition has been detected" mean?

118.   What does "Trace acquisition has been triggered" mean?

119.   What does "Trace acquisition stopped due to trigger event" mean?


 
101. What are these "invalid device" messages trying to tell me?
"COMM ERR: cannot open majic3 channel, invalid device name"
"ERROR: Invalid serial channel device name majic99"
Answer: The debugger thinks that you want to use a serial port, but the name you provided is not a valid serial port name.
If you are trying to use a serial port, make sure the port name is spelled correctly, and that the selected port is available on your computer.
If you are trying to use ethernet, make sure to append :e to the host name (or IP address).
 
102. What does "CPU Unsupported" mean?
Answer: The MAJIC needs to know what type of processor you are using in order to communicate with it. The processor type is set with the -vXXXX switch on the debugger invocation line (typically set in the program's shortcut). Usually an unsupported CPU message means that the -v switch is missing or misspelled.
Note: MONICE displays all of the CPU types that it supports if -vH is specified. Bear in mind, though, that the MAJIC series supports a subset of these processors.
 
103. What does "Reset operation failed" mean?
Answer: After attempting to reset the target processor, the MAJIC found the processor in an unexpected state, and was unable to take control of it. The error message text provides a clue to the failure mode, but since there are many possible causes, it cannot identify the exact cause.

1. Many times, this is caused by an improper connection between the MAJIC and the target system. Please be sure to check that the JTAG cable is securely connected on both ends, and that it is properly oriented.

2. Some processors begin executing their boot code when reset by MAJIC. If a bug in the boot code or hardware locks up the processor before the MAJIC can take control, then it may not be possible to complete the reset operation successfully. Programming a branch-to-self instruction at the reset vector, or maybe even just erasing the PROMs, should avoid this situation.

3. If the program under test locks up the memory controller on your board, then a processor reset may not clear the error. You may need to reset the whole board with an RT command or your reset button in order to regain control.

 
104. What does "Software breakpoint converted to hardware breakpoint" mean?
Answer: A software breakpoint is a special instruction that is written into the program's code space. If a software breakpoint is set in non-writeable memory, and a hardware breakpoint resource is available, the MAJIC will automatically upgrade the software breakpoint to a hardware breakpoint and display this warning message.

If you know that the breakpoint is in read-only memory, then you can simply ignore this message. If you think that the breakpoint address is in RAM, then this message usually means there is some problem in the memory system or memory controller setup.

 
105. What does "The emulator experienced an internal failure" mean?
Answer: This message means that an internal operation failed to complete. Usually this is a second level failure; there should be one or more messages preceeding this one to report the original problem.
 
106. What does "Static IP address setting will take effect after emulator is rebooted" mean?
Answer: After setting or changing the static IP address, the MAJIC must be rebooted by turning it off and then back on again. It is best to quit the debugger first.
 
107. What does "At least one trace point has been detected" mean?
Answer: If tracing is enabled on a MAJIC-Plus, this message is displayed when the first Trace Point is reported by the processor.

For MIPS processors, a trace point is a special type of hardware breakpoint.

For ARM processors, it's the ETM trigger.

If you get this message when there are no trace points set, then there is probably a timing or signal quality problem with the trace signals.

 
108. What does "JTAG operation failed--target disconnected or target power lost" mean?
Answer: This message means that MAJIC detected loss of target power just as it was initiating a JTAG operation. It means that the target system was depowered, or that the JTAG cable is not connected correctly.
 
109. What does "JTAG operation timed out" mean?
Answer: This message means that MAJIC was unable to complete a JTAG operation. This typically indicates an internal problem in the MAJIC's JTAG controller. You should report this to EPI technical support, with as much detail as possible about what you were attempting to do. Please also run the support.cmd file and send us the resultant support.out file. Meanwhile, you may want to try slowing down the JTAG clock or disabling it all together by setting the Ice_Jtag_Clock_Freq option.
 
110. "Logical connection established to the only TAP on the JTAG chain"
Answer: This message means that the MAJIC has successfully connected to the processor's TAP controller (the 'state machine' part of the JTAG interface) and has detected exactly one TAP controller on the JTAG scan chain. Prior to this point, it is not possible to access the processor under test.
 
111. What does "Logical connection established to TAP x of the y TAP JTAG chain" mean?
Answer: This message is displayed after the Ice_Jtag_Tap_Select option is set AND the MAJIC has successfully connected to the processor's TAP controller (the 'state machine' part of the JTAG interface). Prior to this point, it is not possible to access the processor under test.
 
112. What does "Warning: TAP x is already in use" mean?
Answer: When working with a system that has a more than one TAP controller (the 'state machine' part of the JTAG interface) on the JTAG scan chain, the Ice_Jtag_Tap_Select option specifies which TAP controller corresponds to the processor under test. This message means that the specified TAP [controller] was already selected in another debug session. The new debug session cannot connect to this TAP [controller], and the other debug session is unaffected.

Note: If a prior debug session was terminated without properly disconnecting itself, then it is necessary to reboot the MAJIC by cycling power to clear this condition.

 
113. What does "TAP x on the JTAG scan chain has a surprisingly short IR of b bits" mean?
Answer: This is a warning that a particular TAP controller (the 'state machine' part of the JTAG interface) has an instruction register width that is shorter than the JTAG specification allows. The MAJIC will still attempt to use the JTAG port, but this message usually indicates that there is a problem on the JTAG interface, so the JTAG connection may not be reliable.

If the JTAG connection has no further problems, you can ignore this message. Otherwise, double check the JTAG cable connection. If possible, verify that the target voltage is within the MAJIC's operating range.

 
114. What does "TAP x on the JTAG scan chain has an excessively long IR" mean?
Answer: This is a warning that a particular TAP controller (the 'state machine' part of the JTAG interface) has an instruction register width that is wider than seems likely. The MAJIC will still attempt to use the JTAG port, but this message may indicate that there there is a problem on the JTAG interface, so the JTAG connection may not be reliable.

If the JTAG connection has no further problems, you can ignore this message. Otherwise, double check the JTAG cable connection. If possible, verify that the target voltage is within the MAJIC's operating range.

 
115. What does "Raw mode JTAG BYPASS test FAILED" mean?
Answer: The BYPASS test is the JTAG version of a loopback test. A test pattern is scanned through the JTAG chain to verify basic JTAG connection. This message indicates that the test failed, which means that the JTAG connection is non-functional.

Most often this is caused by not having the JTAG cable connected correctly, so the first thing to check is that the cable is correctly oriented and well-seated. Some boards have jumpers or switches that control the JTAG connection, so you should check that these are set correctly as well.

If possible, you should verify that the target's voltage is within the MAJIC's operating range. You may also try reinitializing the JTAG interface, by turning off the Ice_Power_Sense option, and then turning it back on by selecting the signal ( VREF, RST, or TRST ) which was selected before.

 
116. What does "Illegal JTAG condition: 0 bit IR detected" mean?
Answer: This message means that the JTAG connection is not working correctly.

First, double check the JTAG cable connection. If possible, verify that the target voltage is within the MAJIC's operating range. You may also try reinitializing the JTAG interface, by turning off the Ice_Power_Sense option, and then turning it back on, by selecting the signal which selected before.

 
117. What does "Excessive stall condition has been detected" mean?
Answer: This message is reported by a MAJIC-Plus if it detects that the processor has stalled for more than 500 trace clock cycles. It means that the acquisition of trace information has been suspended due to the stalled condition.

If such stall conditions are normal in your system, then you may want to disable the Trace_Gate option to ensure complete trace information.

 
118. What does "Trace acquisition has been triggered" mean?
Answer: This message means that the MAJIC-Plus trace control logic has detected the specified trigger event, and has started to acquire trace data. Note that the message is only displayed if a trigger event is specified for the Trace_Trigger option, not if Trace_Trigger is set to automatic mode.
 
119. What does "Trace acquisition stopped due to trigger event" mean?
Answer: This message means that the MAJIC-Plus trace control logic has detected the specified trigger event, and has consequently stopped trace data acqusition. Note that the message is only displayed if a trigger event is specified for the Trace_Trigger option, not if Trace_Trigger is set to automatic mode.
 
  Support     Products     Partners     Contact Us     Home  
 
 
EPI MAJIC® JTAG probes and software products are now available through the Mentor Graphics Corporation. Phone: (408) 487-7364 Fax: (408) 487-7050 email: anita_gibson@mentor.com 1001 Ridder Park Drive, San Jose, CA 95131