Sony's Developer World forum

    • Home
    • Forum guidelines
    1. Home
    2. Spresense
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • B

      Need Help: Running Spresense Using Nuttx on VSCode-MacBook Pro
      • Benediction 1 2

      4
      4
      Posts
      1128
      Views

      C

      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?

    • M

      Camera Board (CXD5602PWBCAM1) dimensions
      • Matha 1

      4
      4
      Posts
      988
      Views

      C

      @Matha-1
      😍

      I'm glad I was able to help. Keep up the good work!

    • M

      Minimum numSat value for Fix & Position
      • Matha 1

      6
      6
      Posts
      936
      Views

      M

      @jens6151-0-1-1

      Yes, thanks!

      Kind regards.

    • O

      LTE extension board and NB-IoT
      • odi.odi 2 4 4 0 3 4 1 1 1 0 1 1 1 6 4 5 4 5 4 6 3 3 1 1 1 1 1 0 5

      4
      4
      Posts
      1763
      Views

      O

      @gendor-0-1
      With the setting of the EU Band 3, 20 I will not be able to connect to NB-IoT here (band 8).

      I was able to set the band via: AT%SETCFG="BAND","8"

      ..and then startet it via:
      lte_sysctl -a <apn> -r NB start
      ifup eth0

      AT+CEREG?
      +CEREG: 5,5,"C37A","019BC807",9
      |_ 9: NB-Iot

    • S

      Will pthreads utilize all cores?
      • Stanton

      4
      4
      Posts
      978
      Views

      C

      @Stanton

      Happy to help 🙂

    • M

      Spresense does detect /dev/ttyUSB0
      • Matha 1

      6
      6
      Posts
      937
      Views

      C

      Hey, @Matha-1
      Yes, you can connect both USB ports at the same time.

      I'm so glad you're pleased with the solution. I'll be sure to share your compliment with the responsible parties.

    • L

      Code always got stuck while it should not, whether the core powerful enough? Also have questions for MP issues
      • Larry

      7
      7
      Posts
      1323
      Views

      C

      Hey, @Larry

      I simply tried this with the prints first and it was not working. Then I removed the prints and realized it did work. When you ask for a print, the subcore actually sends the data to the maincore so it can print. So I guess since I was printing in a very high speed, it was too much data being sent between cores.

      I'm not one hundred percent sure if you will need the subcore2 or not, I think you might have to test that out.

      I'll answer the other project in the post you originally created it 🙂

    • R

      This topic is deleted!
      • RomainPC 0 1 1 1 1 1 1

      1
      1
      Posts
      8
      Views

      No one has replied

    • S

      How to view Stack Dumps
      • Stanton

      5
      5
      Posts
      941
      Views

      S

      @jens6151-0-1-1 This link is very helpful. Thanks!

    • K

      DYImall DIYmall 0.96 Inch Blue and Yellow I2c IIC Serial 128x64 OLED LCD Module with Spresense
      • Kaduwela

      2
      2
      Posts
      978
      Views

      C

      Hey, @Kaduwela
      Currently we still have no support for displayio with circuitpython 😞

    • L

      Spresense Camera Error
      • Lakshana

      2
      2
      Posts
      1542
      Views

      Armaghan

      @Lakshana
      Hi,
      We have 2 cameras for Spresense now and for both you don't need to change the connector.
      Could you please let me know which camera you are using? 1) Spresense HDR camera (new) : https://developer.sony.com/develop/spresense/spresense-hdr-camera-board/
      or 2) Spresense original camera: https://developer.sony.com/develop/spresense/specifications
      By the way have you reported this on Edge Impulse forum?
      https://forum.edgeimpulse.com/

    • S

      error while Inputting image in tensorflow input to do classification with tflite micro
      • sisimonis 5 1 1

      2
      2
      Posts
      92
      Views

      C

      Hey, @sisimonis-5-1-1
      Here is a forum post that teaches you how to change stack size using the CLI:

      https://forum.developer.sony.com/topic/624/error-in-running-tflite-program/3

      Try using 8192 for stack size.

    • S

      Image buffer size is too short
      • sisimonis 5 1 1

      4
      4
      Posts
      1033
      Views

      C

      Hey, @sisimonis-5-1-1
      I don't believe there is a function exactly for this purpose.
      I think you'll have to use memcopy to copy the image from the camera buffer to the input tensor.

    • S

      How to allocate more memory for IA models
      • sisimonis 5 1 1

      6
      6
      Posts
      1034
      Views

      C

      Hey, @sisimonis-5-1-1

      The thing is.. In the SDK, unless you have ASMP enabled, the default value of RAM size is 1536KB.
      You can check if you have the ASMP config enabled and disable that. Or if you need it, then you can control the ASMP shared memory size with the ASMP_MEMSIZE config.

    • A

      Compatibility (software/hardware) with onewire library?
      • alfredoz

      5
      5
      Posts
      1040
      Views

      C

      @alfredoz

      yaay! I'm so happy for you.
      Thank you for sharing your solution.
      Might help other developers in the future.

    • R

      Build and flash custom app from CLI in another directory
      • RomainPC 0 1 1 1 1 1 1

      4
      4
      Posts
      124
      Views

      C

      Hey, @RomainPC-0-1-1-1-1-1-1
      Let's see if I can answer everything.

      It's actually possible to store the application outside of the sdk repository.
      Here is a link on how to do that:
      https://developer.sony.com/develop/spresense/docs/sdk_set_up_en.html#_add_to_a_different_directory

      The flashed kernel is always inside the sdk folder, yes. And it's called nuttx.spk.

      About not seeing the Kconfig in the IDE apps:
      We don't need a Kconfig file on the IDE because the whole point of this file is that we can see the configurations associated with our example once we open the configuration menu in the CLI.
      In the IDE, this configurations are chosen for you by default in the application.mk file.
      If you want to change the default values, you can go to your application Makefile and input the values you want. But if you notice, in the bottom of the Makefile of an application created with vscode, you have an include to .vscode/application.mk.

      About compilation time:
      I don't think the amount of examples have that big of an impact, since going in and out of directories is pretty fast. What I can recommend to improve compilation time in the VSCode IDE is going to .vscode/build.sh and changing adding -j after the make command.

      Before:

      cd ${SDK_PATH}/sdk make

      After:

      cd ${SDK_PATH}/sdk make -j
    • T

      UART use with spresense SDK
      • Thaïs

      8
      8
      Posts
      1069
      Views

      C

      Hey, @Thaïs
      Can you post code on how you're trying to read?

    • K

      CPU temperatures
      • Kaduwela

      2
      2
      Posts
      85
      Views

      C

      Hey, @Kaduwela
      Thanks for sharing! 😄

    • H

      serial port not detect with macbook pro
      • herve98 0 1

      2
      2
      Posts
      78
      Views

      C

      Hello, @herve98-0-1
      Try step 0 on this link:
      https://www.mac-usb-serial.com/docs/support/troubleshooting.html
      "This check is not dependent on any driver, and only verifies if OS X recognizes the device at USB level. If the device doesn’t show up, it is either a broken cable or broken chip."

      Some USB cables work for charging but not for data... So I would try with a different cable just to be sure.

    • R

      Solved How git spresense project ?
      • RomainPC 0 1 1 1 1 1 1

      3
      3
      Posts
      1019
      Views

      C

      Hello, @RomainPC-0-1-1-1-1-1-1
      I haven't actually tried it, but you could use git submodule or subtree.
      I agree that it would be more interesting to track the folder that contains the applications, so you can create several examples.

      Tip:
      When you have a successful application, run $make savedefconfig to save the sdk configuration of that application. A defconfig file will appear under the sdk directory and that might be worth saving too.

      How would you want to use both CLI and IDE?
      The way they do the configuration of the SDK is slightly different and I believe to create an application in the IDE and be able to flash that with the CLI you would need to create the Kconfig file and then take a look at this part of our documentation:
      https://developer.sony.com/develop/spresense/docs/sdk_set_up_en.html#_add_to_a_different_directory
      (Assuming this is what you want to do)

    • undefined


      •


      Posts

      Views
    Developer World
    Copyright © 2021 Sony Group Corporation. All rights reserved.
    • Contact us
    • Legal