Your SlideShare is downloading. ×
The HVM embedded Java VM af Stephan Korsholm, ViaUC
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

The HVM embedded Java VM af Stephan Korsholm, ViaUC

289
views

Published on

Oplægget blev holdt ved et seminar i InfinIT-interessegruppen højniveau sprog til indlejrede systemer den 2. februar 2011. …

Oplægget blev holdt ved et seminar i InfinIT-interessegruppen højniveau sprog til indlejrede systemer den 2. februar 2011.
Læs mere om interessegruppen på http://www.infinit.dk/dk/interessegrupper/hoejniveau_sprog_til_indlejrede_systemer/

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
289
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. The HVM embedded Java VM For very tiny devices
  • 2. Overview• Hardware near programming: a case example• Hardware near programming: a case example in Java• Contributions of the HVM• Using Java to improve SW development processes for embedded devices
  • 3. A case example• Target: CR16C – 16 bit platform from National – 8 Kb RAM + 768 Kb flash (ROM) – GCC available• Example – Blink LED slowly and comforting, WHILE – Write simple text to UART interface (serial)
  • 4. A case example• Blinking LEDs, – Port 2, Pin 1 soldered to LED – From CR16c specification:
  • 5. A case example• Writing to UART, – Put byte in transmit register – Enable UART transmit – Clear TX interrupt – Wait for next TX interrupt – From CR16c specification:
  • 6. A case example in Java• Let’s look at the code………………..• Compiling for the CR16c• Compiling for other platforms (ATmega2560)
  • 7. Contributions of the HVM• Hardware objects (Martin Schoeberl)• 1st level interrupt handling (Stephan Korsholm et. al.)• Intelligent class linking (as proguard treeshaker)• SDK independence• ROM/RAM aware• Extremely portable (gcc –nostdlib *.c)
  • 8. Improving embedded SW • Intelligence & technical skills are the force pushing the boulder up • Destructive forces are changes…… – ..in environment – ..in tools – ..in the physical world – ..in HW – ..in SWThe wedge is made up of proper tools for ensuring software quality: • Test driven development, unit testing, regression testing • Code review, proper design, static analysis, modeling • Scrum, communication & team spirit
  • 9. The birds eye view• We are in it for the money! – Increasing SW quality – Increasing speed of development – Increasing agility – Increasing predictability of project progress