deep

a Cross Development Platform for Java

User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq [2015/03/17 09:00] ursgraffaq [2022/11/24 16:30] (current) – [Questions Related to the Development Environment] ursgraf
Line 2: Line 2:
 ===== Questions Related to the Development Environment ===== ===== Questions Related to the Development Environment =====
 <box 100% | **Question:** No downloading possible> <box 100% | **Question:** No downloading possible>
-Press the button "Reopen Connection" and try again. +Press the button "Reopen Connection" and try again. If you are using openOCDdid the server start correctlyOn Windows, a separate command window should have opened where you can see log output by this serverCheck your deep preferences if this command window does not open.
-</box> +
- +
-<box 100% | **Question:** LED on 555 board blinks?+
-This can have several causesAt boot time, the code section is checked for proper content. If this check fails, the LED starts blinking and the program execution stops. \\ +
-Later on when a stack check fails, the LED blinks with a different blink pattern.+
 </box> </box>
  
Line 15: Line 10:
  
 <box 100% | **Question:** Where can I check, which classes are loaded on the target?> <box 100% | **Question:** Where can I check, which classes are loaded on the target?>
-Go to //ClassTreeView// (http://www.ntb.ch/infoportal/software:deep:ide:deep_eclipse_views).+Go to [[eclipse:views#classtreeview|ClassTreeView]].
 </box> </box>
  
 +<box 100% | **Question:** Do I run too many tasks?>
 +To inquire the load of your system together with all active tasks go to [[eclipse:views#taskview|TaskView]].
 +</box>
 ===== Questions Related to the Runtime Library ===== ===== Questions Related to the Runtime Library =====
 <box 100% | **Question:** I get the Error #300: class file not found (java/lang/StringBuilder)?> <box 100% | **Question:** I get the Error #300: class file not found (java/lang/StringBuilder)?>
 Probably you wrote code in Java like "System.out.println("val=" + a). The '+' operator is currently not supported with strings, as there is no class StringBuilder in the runtime library. Probably you wrote code in Java like "System.out.println("val=" + a). The '+' operator is currently not supported with strings, as there is no class StringBuilder in the runtime library.
-</box> 
- 
-<box 100% | **Question:** Is there automatic garbage collection?> 
-Yes. Each time a new object is created on the heap, the remaining free heap size is checked and if considered to be to small, an automatic garbage collection is run. 
 </box> </box>
  
Line 34: Line 28:
 </box> </box>
  
-<box 100% | **Question:** Processors stays in freeze mode all the time.> +<box 100% | **Question:** LED on board blinks?> 
-Make sure that the reset pin of the processor is not connected to ground. the reset signal will be internally asserted to ground for a certain time until it is released).+This can have several causes, see [[runtime_library:exceptions:start|Exceptions and Errors]]. At boot time, the code section is checked for proper content. If this check fails, the LED starts blinking and the program execution stops. \\ 
 +Later on when a stack check fails, the LED blinks with a different blink pattern. The blinking can also indicate that a java exception occurred.  
 +</box> 
 + 
 +<box 100% | **Question:** Processor stays in freeze mode all the time.> 
 +Make sure that the reset pin of the processor is not connected to ground. The reset signal will be internally tied to ground for a certain time until it is released
 +</box> 
 + 
 +<box 100% | **Question:** MPC555 Processor does not seem to run at 40MHz.> 
 +The inputs Int5, Int6 and Int7 must not be tied to Gnd at startup. If so, the processor will choose a wrong mode and the PLL cannot lock. Debugging is possible, but the processor runs in limp mode.
 </box> </box>
  
Line 41: Line 44:
 Division of two values of type long is a rather expensive operation in terms of cycles used. If the divisor is smaller than 2^15 floating point register are used for the division. In an exception service routine or any other method which is called by such an exception service routine the floating point unit is not available by default. Dividing two longs then causes a floating point unavailable exception. You have to enable floats by using **US.ENABLE_FLOATS()**. Division of two values of type long is a rather expensive operation in terms of cycles used. If the divisor is smaller than 2^15 floating point register are used for the division. In an exception service routine or any other method which is called by such an exception service routine the floating point unit is not available by default. Dividing two longs then causes a floating point unavailable exception. You have to enable floats by using **US.ENABLE_FLOATS()**.
 </box> </box>
 +
 +<box 100% | **Question:** Is there automatic garbage collection?>
 +Yes. Each time a new object is created on the heap, the remaining free heap size is checked and if considered to be to small, an automatic garbage collection is run.
 +</box>
 +
 +<box 100% | **Question:** No memory can be allocated.>
 +The heap manager throws a ''RuntimeException'' when no free space is left on the heap. A ''RuntimeException'' is also thrown if the size of an array exceeds 2<sup>16</sup> bytes.
 +</box>
 +
  
faq.1426579218.txt.gz · Last modified: 2016/02/25 13:33 (external edit)