How to FLash Arduino DUE without UDOO cpu/linux

Discussion in 'UDOO 101' started by mushketer888, Jan 28, 2015.

  1. mushketer888

    mushketer888 New Member

    Joined:
    Jan 13, 2015
    Messages:
    20
    Likes Received:
    1
    Hi all!
    I really need to use just Arduino Due
    But without SD card it is flashing one pins and it sets all pins to HIGH...
    How can i program (flash) and use arduino due without udoo cpu?
    I have read that i must disable booting llinux kernel..but i cant do it all the time.

    i need:
    1) program arduino due
    2) turn on system any time and communicate to arduino due without additional manipulations (ex. disabling linux boot via serial debug)

    how it is possible to achieve?
    thanks in advance
     
  2. mushketer888

    mushketer888 New Member

    Joined:
    Jan 13, 2015
    Messages:
    20
    Likes Received:
    1
    OK i got it... i got patched arduino ide from UDOO web site
    and i can flash arduino now
    but i also need to set all udoo pins to input, how it is achievable?

    now i just have bash script which writes "in" to /sys/class/gpio/...
    is there any better method?
     
  3. ekirei

    ekirei Administrator

    Joined:
    Jun 14, 2013
    Messages:
    78
    Likes Received:
    3
    Hi mushketer888,

    at boot all the external pins of the iMX6 processor (Linux/Android side) are set in input by the kernel. If you need to set the pins in input after boot for some specific cases the bash script could be the right way I think.
     
  4. mushketer888

    mushketer888 New Member

    Joined:
    Jan 13, 2015
    Messages:
    20
    Likes Received:
    1
    Yep
    it is in ideal case
    i am using official image+kernel
    after boot
    some pins are outputs,some are inputs (dont know why!)
    so i make bash script to make them inputs
    anyway strange...
     
  5. Andrea Rovai

    Andrea Rovai Well-Known Member

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

Share This Page