Skip to content

[BUG] <nuttx:nrf52840_dk:sdc_nimble issue. > #15788

@zhihui2015

Description

@zhihui2015

Description / Steps to reproduce the issue

  1. The project version used is NuttX-12.6.0, and the compiler version is arm-none-eabi-gcc (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.1 20231009
  2. Execute ./tools/configure.sh -l nrf52840-dk:sdc_nimble
  3. Execute make, sdk-nrfxlib will be downloaded in the process, and the nuttx.bin will be generated
  4. nuttx.bin the burning is performed, it is found that it cannot be burned, and after analysis, it is found that the size of the nuttx.bin is 536871168, which is the abnormal size
  5. Open the nuttx.bin with jflash, and find that most of the back is 0, which should be an exception to the construction, and the back should be useless. After truncate -s 512K nuttx.bin truncate and then burn again, i can burn normally.
  6. Restart after burning, and print as follows
    nx_mount: ERROR: target /proc exists and is a special node
    ERROR: Failed to mount the PROC filesystem: -20
    ERROR: nrf52_sdc_initialize() failed: -1

NuttShell (NSH) NuttX-12.6.0

Why is that? Do I need to download a separate softdevice controller, such as the S140? Or does nuttx.bin already include a softdevice controller? I'm not sure.

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu 20.04 LTS

NuttX Version

12.6.0

Issue Architecture

[Arch: arm]

Issue Area

[Area: Applications]

Host information

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armIssues related to ARM (32-bit) architectureArea: ApplicationsIssues related to ApplicationsOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions