This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
faq [2015/03/17 08:59] – ursgraf | faq [2015/04/20 16:27] – [Questions Related to the Runtime Library] ursgraf | ||
---|---|---|---|
Line 3: | Line 3: | ||
<box 100% | **Question: | <box 100% | **Question: | ||
Press the button " | Press the button " | ||
- | </ | ||
- | |||
- | <box 100% | **Question: | ||
- | 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: |
</ | </ | ||
===== Questions Related to the Runtime Library ===== | ===== Questions Related to the Runtime Library ===== | ||
+ | <box 100% | **Question: | ||
+ | Probably you wrote code in Java like " | ||
+ | </ | ||
+ | |||
+ | <box 100% | **Question: | ||
+ | Various causes may lead to this: | ||
+ | * You have to define which interface is dedicated for System.out and you also have to initialize this interface. | ||
+ | * If you use SCI1 and the USB-BDI interface: the serial communication will be tunneled through the USB connection. You can display this connection with any terminal program or in the terminal view of Eclipse. For this the USB connection must be open. Try to reopen the connection by pressing " | ||
+ | * Check if the settings (e.g. baudrate) for the interface on the target correspond with the settings on the host. | ||
+ | </ | ||
+ | |||
+ | <box 100% | **Question: | ||
+ | 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. The blinking can also indicate that a java exception occured. | ||
+ | </ | ||
+ | |||
+ | <box 100% | **Question: | ||
+ | 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 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. | ||
+ | </ | ||
+ | |||
+ | <box 100% | **Question: | ||
+ | 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 '' | ||
+ | </ | ||
+ | |||