How to program the SAM3x?

Discussion in 'Arduino IDE' started by cyrilf, Oct 27, 2015.

  1. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    168
    Likes Received:
    47
    Hello,

    I'd like to program the SAM3x of my UDOO but I cannot figure which parameters should I use. I downloaded the last Arduino IDE and copied the bossac executable in hardware/tools.

    In Board I have "Arduino Duemilanove or Diecimila" selected ;
    In Processor I have "ATmega328" selected;
    and in Programmer I have "AVRISP mkII" selected

    Thanks for your help
     
    Last edited: Oct 27, 2015
  2. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    168
    Likes Received:
    47
    Well, I downloaded the Board definition "Arduino SAM Boards (32-bits ARM Cortex-M3)" so now I can select either "Arduino Due (Programming Port)" or "Arduino Due (Native USB Port).

    I connected my PC to the USB CN6 port as described here: http://www.udoo.org/tutorial/program-udoos-arduino-processor-external-pc/
    and I selected "Arduino Due (Programming Port)", my USB port (ttyUSB0) and programmer AVRISP mkll.

    I get "No device found on ttyUSB0" :/
     
    Last edited: Nov 3, 2015
  3. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Have you followed the "patch part" of Arduino IDE through bossac?
    Cheers
     
  4. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    168
    Likes Received:
    47
    Yes I guess. I copied the executable inside <arduino_dir>/hardware/tools. There was no bossac exe before so this isn't really a "patch" that I've done.
     
    Last edited: Nov 3, 2015
  5. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    168
    Likes Received:
    47
    Anyone?
     
  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Dear cyrilf,
    sorry, I missed your reply.
    That's because the bossac is in another place now.
    In the new version of Arduino IDE the bossac is somewhere else.
    Here's the path:
    C:\Users\<USERNAME>\AppData\Roaming\Arduino15\packages\arduino\tools\bossac
    otherwise
    C:\Users\<USERNAME>\AppData\Local\Arduino15\packages\arduino\tools\bossac
     

Share This Page