اطلاعیه

Collapse
No announcement yet.

The NanoVM - Java for the AVR

Collapse
X
 
  • فیلتر
  • زمان
  • Show
Clear All
new posts

    The NanoVM - Java for the AVR

    سلام دوستان

    یک کامپایلر به زبان JAVA برای ATmega8


    The NanoVM is a java virtual machine for the Atmel AVR ATmega8 CPU, the member of the AVR CPU family used e.g. in the DLR Asuro robot, manufactured by AREXX engineering. With the NanoVM, the Asuro can be programmed in the popular Java language using the standard Sun JDK. The NanoVM and its tools are distributed under the GPL and can be used on other AVR based systems as well.

    The NanoVM for Asuro replaces the original firmware of the Asuro with a Java virtual machine capable of running a subset of the virtual machine command set. This enables e.g. the Asuro to interpret java bytecode and to run simple java programs like e.g. this one.

    The NanoVM is a very resource aware implementation of the java vm. The Asuro version including a boot loader and several native classes fit into the 8kBytes flash rom of the Asuros AVR ATmega8 CPU. The complete 512 Byte EEPROM space of the CPU are available as Java program space and 75% of the 1 kByte RAM space are available to the running Java program.

    #2
    پاسخ : The NanoVM - Java for the AVR

    سلام دوست عزیز
    این رو قبلا دیده بودم
    در واقع یک کامپایلر نیست یک ماشین مجازی برای اجرای کدهای جاوا هست
    نیازی به کامپایل کردن کد جاوا نیست بلکه بعد از نوشتن برنامه یک فایل به ما میده که اون فایل رو از طریق سریال به مکرو میدیم
    و میکرو اون رو اجرا میکنه.در واقع نیاز با فرایند پرو گرم کردن هم نداره.
    این VM در اصل برای یک روبات نوشته شده و کد باز هستش.

    دیدگاه

    لطفا صبر کنید...
    X