This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2015/03/17 09:00] – ursgraf | faq [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: | <box 100% | **Question: | ||
- | Press the button " | + | Press the button " |
- | </ | + | |
- | + | ||
- | <box 100% | **Question:** LED on 555 board blinks?> | + | |
- | This can have several causes. 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. | + | |
</ | </ | ||
Line 15: | Line 10: | ||
<box 100% | **Question: | <box 100% | **Question: | ||
- | Go to //ClassTreeView// (http:// | + | Go to [[eclipse: |
</ | </ | ||
+ | <box 100% | **Question: | ||
+ | To inquire the load of your system together with all active tasks go to [[eclipse: | ||
+ | </ | ||
===== Questions Related to the Runtime Library ===== | ===== Questions Related to the Runtime Library ===== | ||
<box 100% | **Question: | <box 100% | **Question: | ||
Probably you wrote code in Java like " | Probably you wrote code in Java like " | ||
- | </ | ||
- | |||
- | <box 100% | **Question: | ||
- | 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. | ||
</ | </ | ||
Line 34: | Line 28: | ||
</ | </ | ||
- | <box 100% | **Question: | + | <box 100% | **Question: |
- | Make sure that the reset pin of the processor is not connected to ground. | + | This can have several causes, see [[runtime_library: |
+ | 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 100% | **Question: | ||
+ | Make sure that the reset pin of the processor is not connected to ground. | ||
+ | </ | ||
+ | |||
+ | <box 100% | **Question: | ||
+ | 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. | ||
</ | </ | ||
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 100% | **Question: | ||
+ | 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 100% | **Question: | ||
+ | The heap manager throws a '' | ||
+ | </ | ||
+ | |||