Sunday, March 16, 2014

What is Dalvik VM? (An Overview for a Noob Dev)

Dalvik VM (Virtual Machine) is an process virtual machine in the Android Operating Systems.(till 4.3 Jellybean). It is mostly used in mobile phones and tablets. Nowadays it is also used in smart TV's and many other gadgets.The coding is done in Java and the .class files generated by JVM is then converted to .dex(Dalvik EXectuable) and odex (Optimized Dalvik EXecutable) giving rise to terminologies odexing and deodexing. For converting most of the Java class files a tool dx is used. Multiple class are introduced in a single dex file. Java VM uses stack machines while Dalvik VM uses register-based machines.

For further information visit the below mentioned links:

What is a Virtual Machine?
What is Java VM or JVM?
What is a Stack Machine?
What is a bytecode?
.dex file (for advanced knowledge)
Android Developers Terminologies


Sunday, February 9, 2014

Cross Compilation for ATMEL Microcontrollers.

A cross compiler is a compiler capable of creating executable code for a platform other than the one on which the compiler is running. Cross compiler tools are used to generate executables forembedded system or multiple platforms. It is used to compile for a platform upon which it is not feasible to do the compiling, like microcontrollers that don't support an operating system. It has become more common to use this tool for paravirtualization where a system may have one or more platforms in use.

Here I bring to you two softwares which are used for cross compiling and burning an hex file into your ATMEL microcontroller. Please notice that it can be only compatible with ATMEL microcontrollers. So below is the link of to download both the CVAVR compiler. You can use any compatible hex burner. I used EHT Hex File Burner. But as it's a proprietary  software I can't upload it.





Comment your views below.