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.

     

     

    Flashing circuit Python image into spresense

    General Sony related developer discussions
    1
    2
    1254
    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.
    • N
      neo11 0 last edited by

      Hello,
      I was trying to flash spresense with a python image using the command:

      ./flash_writer -s -c <serial_port> -b 115200 -d -n "./<downloaded_SPK>"
      

      as mentioned on the webpage: https://developer.sony.com/develop/spresense/docs/circuitpython_set_up_en.html

      but the terminal shows

      bash: ./flash_writer: Permission denied
      

      So I tried to flash with chmod commands as:

      chmod u+x ./flash_writer -s -c /dev/ttyUSB0 --b 115200 -d -n "./adafruit-circuitpython-spresense-en_US-7.3.3.spk"
      

      Could anyone please confirm whether chmod approch is correct? Or how can I grant permission to flash_writer?

      Thank you
      ~Nihal

      N 1 Reply Last reply Reply Quote
      • N
        neo11 0 @neo11 0 last edited by

        The chmod command shows this in the terminal:

        chmod: unrecognized option '--b'
        
        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal