Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    Upload multiple binaries for all cores at once - Spresense board - Arduino IDE

    Spresense
    2
    3
    1083
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • OctopusPrime
      OctopusPrime last edited by

      Hello everyone,

      I started using the Spresense board, and I managed to program all cores following the provided examples through the Arduino IDE. Currently, I need to flash each core separately, one by one.

      It's a little time-consuming, so I have a question regarding the possibility to upload multiple binaries for all cores at once: in the manual, it's specified that it might be possible to use a flash_writer tool for such a purpose. Is there any updates and or instructions on how to do it?

      Thank you very much for everyone you can help 🙂

      Best regards,
      Ivan

      1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld last edited by

        Hi @Ivan

        Unfortunately, this is not possible with the Arduino IDE. The reason is that when you create the firmware (.spk) for a new core, it overwrites the build of the previous core. This means that there is one .spk file for only one core at a time. Otherwise you could use the following command to upload multiple binaries for all cores at once:

        $ ./flash_writer -s -d -n <main spk file name>.spk <sub1 spk file name>.spk ...
        

        Best Regards,
        Kamil Tomaszewski

        1 Reply Last reply Reply Quote
        • OctopusPrime
          OctopusPrime last edited by

          Hi @KamilTomaszewski,
          thank you very much for your reply, I now understand. What a pity that there is not an easy tool to do it 😕
          Best regards,
          Ivan

          1 Reply Last reply Reply Quote
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal