This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Microcontroller to Java



Hello,

I'm working a new design and I need a microcontroller to a GNSS/GPS module (SPI) , GPRS/GSM module (UART) , RF module (UART) and that can be programmer with Java.

Please, can you recommend one?

Best regards

  • Hello Javier,

    Correct me: but you need to code uC application in Java!!!

    Regards
    Amit
  • I think GCC includes a Java compiler. I don't think it's as commonly ported as the C/C++ components. That might give you a place to start. Someone may have done an ARM port. Whether anyone has ported any needed runtime to a microprocessor rather than to an operating system may be a bigger issue.

    At one time there were several companies producing embedded Java but I'm not certain any survived the initial enthusiasm.

    Robert
  • Javier Hdez. said:
      Please, can you recommend (Java capable MCU/compiler) one? 

    Might a more realistic "recommendation" be: "Invest your time/effort in the far more mainstream, "C!"

    Culling oneself - so far - from the "herd" - proves unwise on the Serengetti.    And - so too - here...

  • Robert Adsett72 said:
    Whether anyone has ported any needed runtime to a microprocessor rather than to an operating system may be a bigger issue.

    After a quick search I found there is Oracle Java ME Embedded which is a "a CLDC-based runtime targeted for use on highly memory constrained devices (<1MB)". One supported board is Cortex-M4 based, so maybe this runtime is suited to a Tiva series device. Haven't checked the memory size required.

    The download for the corresponding SDK is http://www.oracle.com/technetwork/java/embedded/javame/javame-sdk/downloads/javamesdkdownloads-2166598.html

  • And - should that download succeed - is poster experienced/skilled enough to, "Solve his (inevitable) Java issues" by himself?

    Some way/how - this reporter could not find (ANY) Java code examples among the 5 ARM MCU vendors we employ.

    Sailing "off the earth" (thru intent) may not prove, "best/brightest."    Should not poster's "desire" be at minimum, questioned?

  • Hello!,

    Thanks for the replies.

    I used Oracle Java ME Embedded in Raspberry Pi, but have not been updated since the model B. It is a version for Windows and I use GNU / Linux.

    I haven't experience with uC nor with C. Only with Java (SE, EE and Android SDK). ME only with Raspberry Pi.

    I have seen that it is possible to program MBed with Java, or that advertise on the ARM web but MDK it is also for Windows.

    http://www.keil.com/dd2/
    http://www2.keil.com/ti

    So I have to use C in Gnu/Linux.

    Tiva Software I have seen but I see no Linux version.

    I've been watching this series and I think I could serve. But what tools can be used to compile this series?

    www.ti.com/.../overview.page

    TM4C123x Series is based in MCS 51 ? SDCC can be used with it?

    I have installed the next packages: sdcc sdcc-doc sdcc-libraries sdcc-ucsim mcu8051ide

    Sorry my english, it's not very good.

    Best regards
  • Then we go with the herd.

    I installed SDCC and CSS for Gnu/Linux as say here processors.wiki.ti.com/.../Linux_Host_Support_CCSv6

    Is ok for TM4C123x series?

    I found some examples here.  

    Why I can not see the response I sent to Chester Gillon ?

  • Javier Hdez. said:
    Then we go with the herd.  

    That Sir - will prove a most wise & endlessly comforting decision.   You cannot (reasonably) expect much help when you move so far from the "mainstream."

    Forum - on occasion - has been known to "eat" posts.   (especially Java ones...)   Only after you've got your MCU "up/running" under "C" would I consider Java.   (and step carefully - and repeatedly - over/around the (many) dead bodies of earlier "culled herd members" littering that dead/dying plain...)   (I'd avoid!)

  • Hello Javier,

    Yes, TM4C12x is supported on CCS in Linux environment,

    Regards
    Amit
  • Amit Ashara said:
    TM4C12x is supported on CCS in Linux environment,  

    While true - the main herd is several pastures away.   There (usually) are very good reasons why individuals, "stick w/the herd..."   Such proves (especially) valid when the "herd member" is young/new to the terrain...