Freescale FRDM-K64F

Now Java ME 8.1 SDK is available i started with installing it on my Freescale FRDM-K64F.
I try to install Java ME on this device (I suppose this installs on the micro-sd card), but I don’t see anything appearing on the micro-sd card; is this normal? I followed the procedure in https://docs.oracle.com/javame/8.1/get-started-freescale-k64/install.htm#BABCHEEA
Thanks.
Guy

Hi Guy, Sergey,
You could do that, but that is optional. That is, if you don't want to change any of the properties from their default values (those are in stock jwc_properties.ini) you don't need to put the file on sd_card. In this case JMEE will use the romized (built into executable image) version of the file.
Another thing is that on K64 the image of JMEE is written into on-chip flash. So it does not appear on sd_card as a result of pressing the "Flash" button
Regards,
Andrey

Similar Messages

  • Java ME on Freescale FRDM-K64F board

    Hi.
    I have a Freescale FRDM-K64F board and I'd like to know how to install the JavaME on it. Freescale doesn't has a Java dev kit, but it's a Cortex-M4.
    Have you ever tried something with this board or maybe have some clue?
    Regards.

    Hi Alexander.
    Thanks for the reply. It was really really fast
    Do you know any board that uses Cortex-M4 and runs JavaME? But not as expensive as a Keil MCBSTM32F400.
    Marco.

  • Freescale FRDM-K64F sending data over CANBUS.....

    I have setup J2ME embedded 8.1 on the FRDM-K64F. I was able to work with reconfigured GPIO  and access the accelerometer via I2C.
    How do you initialize and send data using CAN interface on the FRDM-K64F?

    To clearify for me, Are you stating the J2ME (at this time) can not use the CAN feature on frdm-k64f.....
    http://developer.mbed.org/platforms/frdm-k64f/

  • Proxy client (over USB connection) with DHCP assigned IP address doesn't work with FRDM-K64F

    Hello,
    after reading about the issues on this forum with a static IP address on the Freescale FRDM-K64F board I went for an DHCP address but I can't get the proxy client to work over a USB connection with DHCP either.
    My console tells me the following:
    RTC Time: Wed 2014-01-01 00:07:27
    Network initialized
    IP Address:      10.143.xxx.yyy (xxx and yyy is real numbers, just changing them for the forum to letters)
    Subnet mask:     255.255.252.0
    Gateway:         10.143.xxx.yyy
    MAC-address:     00:0c:00:06:70:00
    And when I try o to connect with the following command :
    java -jar proxy.jar -socket 10.143.xxx.yyy
    I get the following output and no CLI interface:
    Trying to open socket connection with device: 10.143.xxx.yyy:2201
    Connected to the socket: Socket[addr=/10.143.xxx.yyy,port=2201,localport=49605]
    Open channel 8 with hash 0x130399b3
    Channel 8 CLOSED -> OPENED
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 OPENED -> AVAILABLE
    Open channel 9 with hash 0x0
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    Channel 8 AVAILABLE -> REQUEST_SENT
    notifyResponse ACK_RESPONSE on channel 8
    Channel 8 REQUEST_SENT -> ACKNOWLEDGED
    Channel 8 ACKNOWLEDGED -> DATA_SENT
    notifyResponse AVAILABLE_RESPONSE on channel 8
    Channel 8 DATA_SENT -> AVAILABLE
    I don't know if this matter but my java version is:
    java version "1.8.0_31"
    Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
    Any ideas or am I missing something completely?
    Thanks
    Andy

    Hi, Andy. Please excuse my ignorance, I am very new at this ME embedded stuff. I had my challenges, but was finally able to get my board up with a static address. I went through a lot of headaches, but finally got the board flashed with the latest bin. I then updated the jwc_properties.ini file on the SD card to include:
    # Whether static configuration or DHCP server is used do get IP address. Possible values: dhcp,static
    ip.method = static
    # IP address,used with static IP configuration only
    ip.addr = 192.168.0.30
    # Network mask,used with static IP configuration only
    ip.netmask = 255.255.255.0
    # Network gateway,used with static IP configuration only
    ip.gateway = 192.168.0.1
    # DNS server,used with static IP configuration only
    ip.dns = 208.67.222.222
    # MAC address
    mac.addr = 01:02:03:04:05:06
    I was then put the card into the board, disconnected both USB cables, and then powered it up. From that point I was able to ping the board. I can now use Device Manager in NetBeans to connect to the device.
    I am struggling quite a bit with many issues. It seems that when I try to stop the app from NetBeans, the "please wait" dialog hangs forever. I have to use Windows Task Manager to kill the "JavaW" process tree and reconnect the board.
    I have also had trouble understanding the GPIO pin assignments. Another gotcha was trying to use the AutoStart feature. Since the sample app never cleanly exited, I thought that I bricked the board. The secret is to power it down, remove the SD card, and then delete all files EXCEPT the jwc_properties.ini file, put the SD card back in, then power up. It seems that the board forgets that the MIDlet was installed.
    Hope this helps others out there.
    Please everybody, post your experiences here. There seem to be very few of us, and finding pearls in the dust is rare right now.
    Regards,
    Pete

  • Form-factor of Arduino R3 pin layout on FRDM-K64F

    Hello,
    I have just got my FRDM-K64F board and I'd like to add a few sensors to it to test it out. I've read that the board has a form-factor of Arduino™ R3 pin layout and I am not sure what that means when I am buying sensors (i2C, SPI, UART interfaces) for this board. I understand that I can just connect any sensor using a breadboard and cables but I was thinking that maybe this Arduino R3 pin layout is something that makes it easier?
    As you probably can see, my HW skills a nothing to brag about....
    Many Thanks
    Andy

    Hi Andy,
    we've experienced the board with GSM modem arduino shield without any problem. You only need to check revision of your board since one of the first version contains a bug with incorrect pin routing that affects I2C (or SPI I don't remember)
    /Sergey

  • SDcard for FRDM-K64F?

    Hi
    Have followed all the instructions, however the response from the serial port is:
    No disk, or could not put SD card in to SPI idle state
    Didn't get a response from the disk
    Set 512-byte block timed out
    configdb_load_to_db error: Unable to open file, trying to recover from the temporal one
    configdb_load_to_db error: temporal settings file is unavailable
    ERROR: Unable to read configuration file(s).  Check that ini file(s) exists in your application directory.
    Have used the MBED sample code for the board: FTF2014_workshop - | mbed and the SD card reads and writes ok, so the card slot works.
    I have both 2gb & 4gb SDcards, they seem to work with other boards.
    Any special formatting or setup needed?
    I've not been able to get the virtual serial port working either.....
    thanks for any suggestions
    gb

    Hi
    Yes, I have the Java folder as the root, with just the .ini file inside that.
    It looks like SDcard access with Mbed type devices can be a bit tricky, probably just need to try some different cards?
    Mine are both Sandisk....
    with thanks
    gb

  • Java on FRDM K64F board

    Some interesting news:
    https://terrencebarr.wordpress.com/2014/09/28/now-available-java-me-8-1-in-190-kb-ram/
    Regards,
    Piotr

    Hi Alexander.
    Thanks for the reply. It was really really fast
    Do you know any board that uses Cortex-M4 and runs JavaME? But not as expensive as a Keil MCBSTM32F400.
    Marco.

  • FRDM-K64F set the realtime clock from code?

    Hi, all!
    I have read the docs about rtc.time in the jwc_properties.ini file. This works ok when installing, but when the device resets or power is cycled, the clock will be incorrect. Since my app is communicating with a server, it would be simple to get the current datetime from the server. But I have not found any way to set the current clock other than the jwc_properties.ini file. Is there a way I can do this in my app? Or can my app write to the jwc_properties.ini file and then restart itself?
    Thanks!

    Hi!
    Actually you can change the value of the property using the following method:
    Settings.setStringProperty("rtc.time", "2016:01:01:00:00:00");
    Your application shall exit after invoking this line in order for the property to be written into the file. Please note that the rtc is only updated from the property during power-up or reset of the MCU. So that the new time is not applied when your application restarts, you need to force MCU to restart. And because Java APIs are limited on k64 there seem to be no way to initiate that from the application
    Regards,
    Andrey

  • K64F JavaME 8.1 - programming in C

    I would like to combine Java and C programming on FRDM K64F board.
    Any suggestions are welcome.
    Regards,
    Piotr

    The goal of Java ME Embedded 8 on the FRDM-K64F is to cover most use cases directly in Java - such as interacting with hardware, etc (use DIO API, for example).
    Developing and running additional user C or native code alongside or integrated with Java ME Embedded 8 isn't supported 'out of the box' for a couple of reasons, such as limitations of the mbed OS (static linking, no support for loadable applications) as well as considerations related to reliability, platform-independence, and compliance on the Java side (3rd party native code can negatively affect the overall system and needs to be handled appropriately).
    It is certainly possible to integrate project-specific native code into the Java ME runtime but that requires a different development and delivery model (as part of the Oracle Java Platform Integrator program) - let me know if you're interested in discussing that.
    Best,
    -- Terrence

  • Unable to use the Freescale M5329EVB target server

    Hi everybody,
    I have created a new target on Labview embedded which is based on the Freescale M5329EVB example. The target is a powerpc from Xilinx and it runs a linux on it.
    What I want to do is to use the "target server" from the Freescale example. I copied all LEP_plugin VIs of this target example and modified them to work with my target.
    According to the porting guide, the target server needs a TCP connection, Telnet server and a TFTP client. I implement all of this on my embedded linux and test them. I can connect through telnet and get files through tftp from my linux host.
    When I click on the "Download" command, the target starts, connects to the target through telnet and then tries to connect with TFTP. The problem is with the last one, it puts me a message "Awaiting target connection on port 69 ..." but it never connects.
    I tried to look to the target server VI's but its quite difficult to understand. The problem seems to be located in EMB_Utility_TFTPD_Listen.vi at the UDP_Read function.
    Also, when I netstat my windows, the tftp service is started, so port 69 seems to be opened. Netstat on my target tells me that my windows host is connected to it. The windows firewall is also disactivated.
    If anyone has an idea on what's going wrong ...,
    Thanks for your help,
    François
    Attachments:
    pblm target server.JPG ‏30 KB

    Hi, sorry for being long to answer.
    I have two problems, one for the target server and the other for the debug mode.
    In release mode, the executable downloads well and the execution is
    good. The error "failed to execute program" comes from
    "TargetServer_GetFileSize.vi". The "Match Pattern" box doesn't give the
    right information (please see CheckFileSize.JPG). The problem seems to
    come from the "file size regex" wire.
    Then, if I skip the "checkfilesize" step, the program tries to connect
    to the target, but it gives an other error : "Target not found". I set
    breakpoints in the "nitargetStartTCPDebug.vi". The ip address seems
    good (it's 10.0.0.213 converted in decimal) (please see
    TargetNotFound.JPG and Debug.JPG). I wonder if there's a "HOST_IP" to
    set in the compile argument or something else.
    The other problem is when I try to compile a program in debug mode and instrumented debugging. It gives many errors :
    " C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(Debug.o): In
    function `SetDataToControl':
    ../../CCodeGen/libsrc/comms/Debug.c:496: undefined reference to `SetPictFieldValue'
    C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(CCGTimeSupport_unix.o):
    In function `DtToSecs':
    ../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:91: undefined reference to `PDAClusterGetElemByPos'
    ../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:92: undefined reference to `PDAClusterGetElemByPos'
    ../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:94: undefined reference to `PDAClusterGetElemByPos'
    ../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:96: undefined reference to `PDAClusterGetElemByPos'
    ../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:98: undefined reference to `PDAClusterGetElemByPos'
    C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(CCGTimeSupport_unix.o):../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:100:
    more undefined references to `PDAClusterGetElemByPos' follow
    C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
    In function `NumToTextStatic':
    ../../CCodeGen/libsrc/blockdiagram/NumText.c:676: undefined reference to `StrResize'
    C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
    In function `NumToTextExpStatic':
    ../../CCodeGen/libsrc/blockdiagram/NumText.c:1145: undefined reference to `StrResize'
    C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
    In function `NumToTextEngStatic':
    ../../CCodeGen/libsrc/blockdiagram/NumText.c:1271: undefined reference to `StrResize'
    C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
    In function `StrPadLeft':
    ../../CCodeGen/libsrc/blockdiagram/NumText.c:1407: undefined reference to `StrResize'
    C:\Program Files\National Instruments\LabVIEW
    8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
    In function `StrPadRight':
    ../../CCodeGen/libsrc/blockdiagram/NumText.c:1431: undefined reference to `StrResize'
    collect2: ld returned 1 exit status
    I compiled the program with these arguments :  -O0 -g -DCStatic
    -DUsesTCPDebugger=1 -DTCPUDPSupport=1 -w -I. -DCHeadless=1 -Dlinux
    -fno-strict-aliasing -fno-common -fomit-frame-pointer
    and the run time librairies with : -DCHeadless=1 -DNoFileSupport
    -DSocketSupport=1 -DTCPUDPSupport=1 -DCStatic -DUsesTCPDebugger=1
    -D_Include_Scheduler -D_Include_OSScheduler -DPosixFiles=0
    -DFileSupport=0 -DDatalogSupport=0 -DPalm5Earlier=0 -Wall -Dlinux
    -D_LIB -fno-strict-aliasing -fno-common -fomit-frame-pointer -Wa,-Wa,
    -Wno-pointer-sign
    Thanks in advance,
    françoisp
    Attachments:
    Debug1.JPG ‏79 KB
    CheckFileSize1.JPG ‏78 KB
    TargetNotFound1.JPG ‏40 KB

  • Is there anyone who has used Freescale's SimpleSUB.dll and DEMOJM board?

    Hello,
    I am trying to connect Frescale DEMOJM board over USB connection. I am adding SimpleUSB.dll to my visual instrument thorough .NET constructor node and giving an mscorlib class GUID to the GUID property, than calling OpenConnection method from an invoke node referencing the SimpleUSB reference. But there is no valid connection to the device as DeviceConnected parameter return "False". 
    I am using LabVIEW 8.6 trial, .NET Framework 3.5. So they are up to date I guess. Is there a limitation of these for using .NET dll? And also I can use the dll in Visual C# successfully.
    At first there was another problem using the .NET constructor node in LabVIEW because of Vista OS.  The vi was blocking when i added the node to the vi. I changed the "language & regional settings" to English(USA). The problem seemed to be solved. Can Vista's bug be still a problem?
    Is there anyone who  has used Freescale's SimpleUSB.dll and DEMOJM board with LabVIEW?
    I will be thankfull for your helps.
    Emre

    Hello Anna,
    Here is one of my poor vi trials.   I have also tried putting some conditionals in some other files but it didn't helped.
    http://rapidshare.com/files/176194859/EXTDLL1.rar.html
    Here is a link for the Freescale's DEMOJM board. It shows how to make a GUI for the board using SimpleUSB.dll & C#.  You can also download the dll from that web page and there is helpfull documentation for the dll.
    http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=USBJM_TRAINING&nodeId=016246fNrgVJ4Cx...
    I am trying to make the same thing with Labview instead of C#. But I am not familiar with the SW issues so am in trouble.
    Thanks,
    Emre

  • How can I create code for PIC and Freescale microcontrolles and perform simulation?

    Hi. I am new to LabView.
    I would like to simulate code (C or assembly) for the PIC and Freescale microcontrollers. I would further like to
    use oscilloscope to monitor the pins behavior. Is this possible? If yes what software should I use?
    Please feel welcome to suggest any resources that might be helpfull.
    Thanks

    Hi SweetOrange,
    If you have a vi you would like to run on a PIC or Freescale microcontroller and have a compiler for these devices that recognizes C, you can use the C Code Generator to create C code that your compiler can use. 
    <Brian A | Applications Engineering | National Instruments> 

  • NI ELVIS II Freescale hardware required to run vi's to remove error 200559.

    Hi,
    I read DAQmx tutorials, did all trouble shooting steps such as highlight execution, probes, and checked all sub vi’s for the security system main vi, etc as in the word attached file and also attached vi's in zip file. The vi's gives error of 200559 in my LabVIEW 2012 software. Make sure you must have NI ELVIS II hardware to test these vi’s.    
    If my this post is duplicate because no one either knows about my question, make my post abusive, and so, I have to put my post again as this is my right to get help for my question. I prefer and appreciate help from NI engineers and people, who are really nice to give their best knowledge, great opinions, helping through vi’s and screenshots for this error of 200559. 
    Ali Tariq Bhatti
    Advice: Some people talk on different issues and abusive against your post because they do not want to help and arguing with you on some other topic. You all will observe and I also observed, so also do not want to mention their name and best way is complaint them to the moderator. If anyone still wants to talk on different issues against the post, other way is to do private message.
    ~~~Be nice, have faith in ALLAH(God)~~~
    Attachments:
    NI ELVIS II Security System VIs.zip ‏313 KB
    Error 200559.docx ‏500 KB

    Hi,
    I am now not getting the error of 200559. As, you know, these vi's work with freescale plugin NI ELVIS II board. 
    Now, my security system vi's without any error, but not showing any result using freescale plugin NI ELVIS II board and LabVIEW 2012. I don't know.
    Here is the video link for information: http://ni.adobeconnect.com/p35906816/?launcher=false&fcsContent=true&pbMode=normal 
    Any one's help and other's NI engineers, etc. help is appreciated.
    Ali Tariq
    Advice: Some people talk on different issues and abusive against your post because they do not want to help and arguing with you on some other topic. You all will observe and I also observed, so also do not want to mention their name and best way is complaint them to the moderator. If anyone still wants to talk on different issues against the post, other way is to do private message.
    ~~~Be nice, have faith in ALLAH(God)~~~

  • Q:Micro SD card for FRDM-K64

    Hello,
    I am installing Java ME 8.1 on my FRDM-K64 board and according to the installation guide I need a Micro SD card of 4GB (using a SDHC card is not recommended). I am really struggling finding such a card, maybe someone knows where to buy one. I have searched RadioShack, BestBuy and Frys with no luck. Will it work with a bigger card?
    Thanks
    Andy

    Yes, Andy, they're virtually impossible to find.
    The non-HC design is an older technology.
    Vague memory (and I'm not going to look it up beyond a generic Google search) is that the two cards have a different density structure.
    I came across this same sort of issue a couple of years ago with a no-name MP3 player  --> SD worked while SDHC failed.
    As I type this, Newegg's web site has three and only three available for sale.
    Microcenter's web site and TigerDirect's web site each have a few available in the USA (your reference to Radio Shack suggests you are there).
    Other people will need to respond to let you knoe whether a HC card will function.   I have no knowledge on that.

  • Labview code into freescale controller

    Hi all,
    Is there any way to program a freescale controller from labview as we do from the freescale code-warrior or any other IDEs?
    Thanks,
    Yogesh 

    Hi,
          Yes there is definitely a way to program Freescale Microcontrollers using LabVIEW for Embedded. The same has been discussed in this forum as well. You can also check out more about the kit over here.
    Hope it helps!
    Shreyas Hebbare
    Shreyas Technologies
    India

Maybe you are looking for