arduino hex

Discussion in 'UDOO NEO' started by klakier2121, Dec 26, 2015.

  1. klakier2121

    klakier2121 Member

    Joined:
    Dec 5, 2015
    Messages:
    48
    Likes Received:
    15
    Hello, i have a question. Where can I put HEX file to upload it to arduino core ? or i have to use avrdude ? I'm trying to upload arduino sketch from external device (PC) through wifi.
     
  2. JackSilb

    JackSilb Active Member

    Joined:
    Nov 3, 2015
    Messages:
    100
    Likes Received:
    32
    I hope this help


    "
    http://www.udoo.org/docs-neo/Arduino_M4_Processor/Overview.html

    M4 boot process
    Everytime we reset the processor the M4 firmware ( sketch ) were lost, so it will be reloaded by the uboot from the binary present on the "boot" FAT partition. In this way the user can find its sketch on the board running at every boot.

    Also at boot M4 requires the resources descripted in a configuration file. This configuration must agree with the A9 kernel configuration to avoid conflits. We provide default "safe" configuration.

    Last Sketch used
    When the system boot check if it's present an old sketch compiled in:

    /var/opt/m4/m4last.fw
    then it loads the sketch on M4 core and start its execution.

    Otherwise it loads the sketch located in:

    /boot/m4startup.fw
    "
     
  3. klakier2121

    klakier2121 Member

    Joined:
    Dec 5, 2015
    Messages:
    48
    Likes Received:
    15
    Ok, solved
     
    Andrea Rovai likes this.
  4. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
  5. klakier2121

    klakier2121 Member

    Joined:
    Dec 5, 2015
    Messages:
    48
    Likes Received:
    15
    Sure, I made program to upload sketch through udoofota too :) fastly wrote, but it save a lot of time to upload from my PC
    http://speedy.sh/qGpXJ/neo-wifi-sending.rar

    In the Arduino program: go to Arduino -> Preferences and then select Show vervose output during ->compilation.

    At the end of line there is directory to your .bin file. Open mainwindow.cpp, edit line number 47, because you probably have different directory to udooclient.exe. Compile, browse your directory where .bin file is placed. Type UDOO IP and click Upload.
     
    Last edited: Jan 11, 2016
  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Great work @klakier2121! Just shared it on our social media channels :)
     

Share This Page