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.

     

     

    Need Help: Running Spresense Using Nuttx on VSCode-MacBook Pro

    Spresense
    3
    4
    1311
    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.
    • B
      Benediction 1 2 last edited by Benediction 1 2

      Hello, I'm new here so I'm not sure whether this is how you ask a question when you need help. I just finished setting up my board on Visual Studio Code on Mac. The issue is, when I try to Build and Flush the sample "Hello World!!" program on Spresense board to be shown on the Serial terminal, in VSCode, I get "command not found", why is this? below is how the error is being displayed in the serial terminal...

      NuttShell (NSH) NuttX-10.2.0
      nsh> My_Spresense_Apps
      nsh: My_Spresense_Apps: command not found
      nsh>

      ---END---

      The .c file (or nuttx.spk file) I am trying to flush on the board is saved in a folder called "My_Spresense_Apps". I tried following the instructions on the website below;

      https://developer.sony.com/develop/spresense/docs/sdk_set_up_ide_en.html#_create_and_run_application_myapps

      Please help!

      1 Reply Last reply Reply Quote
      • R
        RomainPC 0 1 1 1 1 1 1 last edited by

        Hello,
        If you have followed the instructions correctly, the command should be flashed.
        The name of the command is normally the name of the .c containing the main(int argc, char *argv[])function.
        By default it is the name you enter at app creation, not the name of the folder (created at workspace creation).

        To be sure try help command, from memory the commands appear or there is a command to list applications.

        1 Reply Last reply Reply Quote
        • B
          Benediction 1 2 last edited by

          Hey Romain, I did use the same command as the name of the .c file. I saved the file with the same name as the .c file as well, I don't know whether that could be an issue. The board builds and flashes pretty well in Arduino, but not in VS Code (don't want to use Arduino). When the nuttx serial terminal opens up, what I do next is type in the name of my .c file (only) and hit enter, then says "command not found". Please advise. Thank you!

          C 1 Reply Last reply Reply Quote
          • C
            CamilaSouza DeveloperWorld @Benediction 1 2 last edited by

            Hey, @Benediction-1-2
            Either your command is not actually there or it could be there with a different name than you expected. Could you type help when the nuttx serial terminal opens and check if there is any command that could be from your application?

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