Dies ist eine alte Version des Dokuments!


deep FAQ: Runtime System

Question: When printing messages by using System.out.print(…) the message is not printed.

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 in the USB-Target-Log of Eclipse. For this the USB connection must be open. Try to reopen the connection by pressing „Reopen USB-Connection“. Make sure that the USB-Target-Log is not in suspend mode.
  • Check if the settings (e.g. baudrate) for the interface on the target correspond with the settings on the host.

Question: Processors 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 asserted to ground for a certain time until it is released).

Question: Processor freezes when dividing longs.

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().