Passing board frequency to jlink command as argument

Hello, Not sure if this is the place for these questions, but here it is:

I've configured new board, and when I try to debug using the ncsconnect vscode plugin (linux) - Im getting this error `disconnected from gdb-server` and the debugging session quits.

I can debug without a problem using gdb cli.

From investigating `journalctl -f`:

Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (68) LaunchOptions{"type":"nrf-connect","name":"Launch the active build configuration","request":"launch","program":"/home/gbrandwine/dev/augur>
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (98) Starting: "/opt/SEGGER/JLink/JLinkGDBServerCLExe" -if swd -device nrf52 -select usb=821008355 -speed 12000 -port 40927 -singlerun -nogui ->
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->SEGGER J-Link GDB Server V8.24 Command Line Version
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->JLinkARM.dll V8.24 (DLL compiled Mar 26 2025 15:37:28)
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->-----GDB Server start settings-----
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->GDBInit file:                  none
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->GDB Server Listening port:     40927
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->SWO raw output listening port: 2332
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Terminal I/O port:             2333
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Accept remote connection:      yes
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Generate logfile:              off
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Verify download:               off
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Init regs on start:            off
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Silent mode:                   on
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Single run mode:               on
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Target connection timeout:     0 ms
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->------J-Link related settings------
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->J-Link Host interface:         USB
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->J-Link script:                 none
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->J-Link settings file:          none
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->------Target related settings------
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Target device:                 nrf52
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Target device parameters:      none
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Target interface:              SWD
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Target interface speed:        12000kHz
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->Target endian:                 little
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (114) ->
Mar 30 14:58:25 gbrandwine-lx OpenDebugAD7[158910]: MS_MIDebug: 1: (115) Starting: "/home/gbrandwine/ncs/toolchains/b81a7cd864/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb" --interpreter=mi -q

You can see that the `speed` argument is 12000khz

When I manually add speed=4000 vecode's launch.json:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "nrf-connect",
            "request": "launch",
            "name": "Launch build_canary_r4010_lis3_ism_on_spi1",
            "config": "${workspaceFolder}/augury_app/build_canary_r4010_lis3_ism_on_spi1",
            "runToEntryPoint": "main",
            "serverArgs": "-if swd -device nrf52840_xxAA -select usb=${snr} -speed 4000 -logtofile /tmp/nrf52840_log.txt -port ${port} -singlerun -halt -noir -rtos ${rtosPlugin}"
        }
    ]
}

It works.

I don't want to add manually to vscode's launch files.

What can I do so that these arguments will be read from the board directory?

Thanks, gal

  • Hi Gal,

    I see that the debugger speed is specified in Nordic board files like so:
    https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs2-1/boards/nordic/nrf52840dk/board.cmake#L3

    Could you try replicate that in your board files?

    Hieu

  • Hello, I've used your suggestion. Placed this board.cmake in the canary_r4010_imu board (line 413)

    ./
    ├── augury_app
    │   ├── apus_alpha_ncs_nrf52832.overlay
    │   ├── canary_ea00019_rev_a_nrf52840.overlay
    │   ├── canary_proto_rev_4_nrf52840.overlay
    │   ├── canary_r4000_gen_b_nrf52840.overlay
    │   ├── canary_r4000_high_g_rev_a_nrf52840.overlay
    │   ├── canary_r4010_imu_rev_a_nrf52840.overlay
    │   ├── CMakeLists.txt
    │   ├── config
    │   │   ├── memfault_metrics_heartbeat_config.def
    │   │   ├── memfault_platform_config.h
    │   │   └── memfault_trace_reason_user_config.def
    │   ├── get_fw_ver.sh
    │   ├── halo_ep2_ncs_nrf52832.overlay
    │   ├── halo_ep_migration_artifacts
    │   │   ├── augu_halo_version.h
    │   │   ├── EP1
    │   │   │   ├── apus_ep_zagato.bin
    │   │   │   ├── ep1_bootloader.bin
    │   │   │   └── manifest.json
    │   │   ├── EP2
    │   │   │   ├── apus_ep_zagato.bin
    │   │   │   ├── ep2_bootloader.bin
    │   │   │   └── manifest.json
    │   │   ├── get_halo_fw_ver.sh
    │   │   └── mbr_2.0.0_mbr.hex
    │   ├── Kconfig
    │   ├── mcumgr_commands.txt
    │   ├── sample.yaml
    │   ├── scripts
    │   │   ├── configs_for_postman
    │   │   │   └── example.json
    │   │   ├── generate_json_for_postman.py
    │   │   ├── generate_json_for_postman_several_machines.py
    │   │   └── new_sampling_regime_config.py
    │   ├── src
    │   │   ├── augu_device_info.c
    │   │   ├── augu_device_info.h
    │   │   ├── augu_ep_config_mng.c
    │   │   ├── augu_ep_config_mng.h
    │   │   ├── augu_fault_monitor.c
    │   │   ├── augu_fault_monitor.h
    │   │   ├── augu_file_system.c
    │   │   ├── augu_file_system.h
    │   │   ├── augu_flash_mng.c
    │   │   ├── augu_flash_mng.h
    │   │   ├── augu_log_events_queue.c
    │   │   ├── augu_log_events_queue.h
    │   │   ├── augu_memfault.c
    │   │   ├── augu_memfault.h
    │   │   ├── augu_NFC.c
    │   │   ├── augu_NFC.h
    │   │   ├── augu_power_mng.c
    │   │   ├── augu_power_mng.h
    │   │   ├── augu_push_btn.c
    │   │   ├── augu_push_btn.h
    │   │   ├── augu_uut_stage_testing.c
    │   │   ├── augu_uut_stage_testing.h
    │   │   ├── bist
    │   │   │   ├── battery_bist.c
    │   │   │   ├── battery_bist.h
    │   │   │   ├── bist_manager.c
    │   │   │   ├── bist_manager.h
    │   │   │   ├── coulomb_counet_bist.c
    │   │   │   ├── coulomb_counet_bist.h
    │   │   │   ├── external_flash_bist.c
    │   │   │   ├── external_flash_bist.h
    │   │   │   ├── low_power_vibration_bist.c
    │   │   │   ├── low_power_vibration_bist.h
    │   │   │   ├── magnetic_bist.c
    │   │   │   ├── magnetic_bist.h
    │   │   │   ├── temperature_bist.c
    │   │   │   ├── temperature_bist.h
    │   │   │   ├── vibration_bist.c
    │   │   │   └── vibration_bist.h
    │   │   ├── ComManager
    │   │   │   ├── augu_adv_pkt.c
    │   │   │   ├── augu_adv_pkt.h
    │   │   │   ├── augu_com_manager.c
    │   │   │   ├── augu_com_manager.h
    │   │   │   ├── CMakeLists.txt
    │   │   │   ├── gatt_bas.c
    │   │   │   ├── gatt_commands.c
    │   │   │   ├── gatt_commands.h
    │   │   │   ├── gatt_cts.c
    │   │   │   ├── gatt_cts.h
    │   │   │   ├── gatt_data.c
    │   │   │   ├── gatt_data.h
    │   │   │   ├── gatt_halo_svc.c
    │   │   │   ├── gatt_halo_svc.h
    │   │   │   ├── gatt_testing.c
    │   │   │   ├── gatt_testing.h
    │   │   │   ├── Kconfig
    │   │   │   ├── smp_augu_fs.c
    │   │   │   ├── smp_ep_config.c
    │   │   │   ├── smp_info_status.c
    │   │   │   ├── smp_leds.c
    │   │   │   ├── smp_log_events.c
    │   │   │   ├── smp_memfault.c
    │   │   │   ├── smp_service.c
    │   │   │   └── smp_service.h
    │   │   ├── compression
    │   │   │   ├── augu_compression.c
    │   │   │   ├── augu_compression.h
    │   │   │   ├── CMakeLists.txt
    │   │   │   ├── heatshrink
    │   │   │   │   ├── heatshrink_common.h
    │   │   │   │   ├── heatshrink_config.h
    │   │   │   │   ├── heatshrink_encoder.c
    │   │   │   │   └── heatshrink_encoder.h
    │   │   │   └── Kconfig
    │   │   ├── HaloInterface
    │   │   │   ├── augu_audg.h
    │   │   │   ├── augu_audg_handler.c
    │   │   │   ├── augu_audg_handler.h
    │   │   │   ├── augu_config.c
    │   │   │   ├── augu_config.h
    │   │   │   ├── augu_ep_cmd_info.c
    │   │   │   ├── augu_ep_cmd_info.h
    │   │   │   ├── augu_ep_cmd_sample.c
    │   │   │   ├── augu_ep_cmd_sample.h
    │   │   │   ├── augu_ep_cmd_sample_set.c
    │   │   │   ├── augu_ep_cmd_sample_set.h
    │   │   │   ├── augu_ep_defines.h
    │   │   │   ├── augu_events.c
    │   │   │   ├── augu_events.h
    │   │   │   ├── augu_pkt_api.c
    │   │   │   ├── augu_pkt_api.h
    │   │   │   └── Kconfig
    │   │   ├── main.c
    │   │   ├── samplesPipeline
    │   │   │   ├── edge_ai
    │   │   │   │   ├── anomaly_features
    │   │   │   │   │   ├── af_math.c
    │   │   │   │   │   ├── af_nanpercentile.c
    │   │   │   │   │   ├── af_percentile.c
    │   │   │   │   │   ├── af_routines.c
    │   │   │   │   │   ├── af_utils.h
    │   │   │   │   │   └── anomaly_features.h
    │   │   │   │   ├── circ_buf_mng
    │   │   │   │   │   ├── circ_buf_mng.c
    │   │   │   │   │   └── circ_buf_mng.h
    │   │   │   │   ├── CMakeLists.txt
    │   │   │   │   ├── edge_ai.c
    │   │   │   │   ├── edge_ai.h
    │   │   │   │   ├── Kconfig
    │   │   │   │   ├── tests
    │   │   │   │   │   ├── canary_ea00019_rev_a.overlay
    │   │   │   │   │   ├── CMakeLists.txt
    │   │   │   │   │   ├── Kconfig
    │   │   │   │   │   ├── prj.conf
    │   │   │   │   │   └── src
    │   │   │   │   │       ├── anomaly_features_inputs.c
    │   │   │   │   │       ├── features_inputs.c
    │   │   │   │   │       ├── main.c
    │   │   │   │   │       ├── simulation_routines.c
    │   │   │   │   │       ├── test_expected_values.c
    │   │   │   │   │       ├── testing_routines.c
    │   │   │   │   │       └── test_simulate.h
    │   │   │   │   └── too_rapid_to_cliff
    │   │   │   │       ├── too_rapid_to_cliff.h
    │   │   │   │       ├── trtc_preprocessing_2r2c.c
    │   │   │   │       ├── trtc_xgb_2r2c.c
    │   │   │   │       ├── trtc_xgb_2r2c.h
    │   │   │   │       └── trtc_xgb.c
    │   │   │   ├── features_db
    │   │   │   │   ├── CMakeLists.txt
    │   │   │   │   ├── features_db.c
    │   │   │   │   ├── features_db.h
    │   │   │   │   └── Kconfig
    │   │   │   ├── featuresExtraction
    │   │   │   │   ├── CMakeLists.txt
    │   │   │   │   ├── coeffs
    │   │   │   │   │   ├── coeffs.c
    │   │   │   │   │   ├── hanning_win.c
    │   │   │   │   │   └── include
    │   │   │   │   │       ├── coeffs.h
    │   │   │   │   │       └── hanning_win.h
    │   │   │   │   ├── fe_acc_env.c
    │   │   │   │   ├── fe_acc_env.h
    │   │   │   │   ├── fe_acc_rpm.c
    │   │   │   │   ├── fe_acc_rpm.h
    │   │   │   │   ├── fe_acc_time.c
    │   │   │   │   ├── fe_acc_time.h
    │   │   │   │   ├── fe_acc_vel_freq.c
    │   │   │   │   ├── fe_acc_vel_freq.h
    │   │   │   │   ├── features_extraction.c
    │   │   │   │   ├── features_extraction.h
    │   │   │   │   ├── fe_mag.c
    │   │   │   │   ├── fe_mag.h
    │   │   │   │   ├── Kconfig
    │   │   │   │   ├── tests
    │   │   │   │   │   ├── canary_ea00019_rev_a.overlay
    │   │   │   │   │   ├── canary_fe_test.conf
    │   │   │   │   │   ├── canary_high_g_fe_test.conf
    │   │   │   │   │   ├── CMakeLists.txt
    │   │   │   │   │   ├── halo_ep1_fe_test.conf
    │   │   │   │   │   ├── halo_ep2_fe_test.conf
    │   │   │   │   │   ├── Kconfig
    │   │   │   │   │   ├── pre_run
    │   │   │   │   │   │   ├── feature_map_mag.json
    │   │   │   │   │   │   ├── feature_map_vib.json
    │   │   │   │   │   │   ├── feature_map_vib_no_env.json
    │   │   │   │   │   │   ├── feature_map_vib_no_impacting.json
    │   │   │   │   │   │   ├── inputs
    │   │   │   │   │   │   │   ├── 66dbf4d8698fe8defd930002_CC_9F_40_61_63_1A_ep2_4sec.json
    │   │   │   │   │   │   │   ├── 66ea911f03c30acaeae55ca6_C5_46_37_1F_76_7F_ep1_3sec.json
    │   │   │   │   │   │   │   └── 66ec064cda50104cea37b625_F9_D0_F3_53_44_67_canary_1sec.json
    │   │   │   │   │   │   └── pre_run.py
    │   │   │   │   │   ├── prj.conf
    │   │   │   │   │   ├── renode
    │   │   │   │   │   │   ├── nrf52840.resc
    │   │   │   │   │   │   ├── readme.md
    │   │   │   │   │   │   ├── renode.conf
    │   │   │   │   │   │   ├── run_test.robot
    │   │   │   │   │   │   └── simulate.py
    │   │   │   │   │   └── src
    │   │   │   │   │       ├── main.c
    │   │   │   │   │       └── missing_functions.c
    │   │   │   │   └── utils
    │   │   │   │       ├── dsp_utils.c
    │   │   │   │       ├── dsp_utils.h
    │   │   │   │       ├── fe_utils.c
    │   │   │   │       └── fe_utils.h
    │   │   │   ├── Kconfig
    │   │   │   ├── low_bw_sig
    │   │   │   │   ├── CMakeLists.txt
    │   │   │   │   ├─%E2%94%80 Kconfig
    │   │   │   │   ├── low_bw_sig.c
    │   │   │   │   └── low_bw_sig.h
    │   │   │   ├── pipes_api.h
    │   │   │   ├── samples_pipeline.c
    │   │   │   ├── samples_pipeline.h
    │   │   │   ├── samplesProcessing
    │   │   │   │   ├── Kconfig
    │   │   │   │   ├── samples_downsampling.c
    │   │   │   │   └── samples_downsampling.h
    │   │   │   ├── SamplesProcPipes
    │   │   │   │   ├── samples_proc_pipes.c
    │   │   │   │   └── samples_proc_pipes.h
    │   │   │   ├── sample_types.h
    │   │   │   ├── samplingManager
    │   │   │   │   ├── ads8866_chain_sampler.c
    │   │   │   │   ├── ads8866_chain_sampler.h
    │   │   │   │   ├── adxl382_sampler.c
    │   │   │   │   ├── adxl382_sampler.h
    │   │   │   │   ├── augusi7210_sampler.c
    │   │   │   │   ├── augusi7210_sampler.h
    │   │   │   │   ├── CMakeLists.txt
    │   │   │   │   ├── flash_stream.c
    │   │   │   │   ├── flash_stream.h
    │   │   │   │   ├── iis3dwb_sampler.c
    │   │   │   │   ├── iis3dwb_sampler.h
    │   │   │   │   ├── ism330bx_sampler.c
    │   │   │   │   ├── ism330bx_sampler.h
    │   │   │   │   ├── lis2dw12_sampler.c
    │   │   │   │   ├── lis2dw12_sampler.h
    │   │   │   │   ├── lis3mdl_sampler.c
    │   │   │   │   ├── lis3mdl_sampler.h
    │   │   │   │   ├── nrf52_thermometer.c
    │   │   │   │   ├── nrf52_thermometer.h
    │   │   │   │   ├── sample_types.c
    │   │   │   │   ├── sampling_mng.c
    │   │   │   │   ├── sampling_mng.h
    │   │   │   │   ├── scratch_pad.c
    │   │   │   │   ├── scratch_pad.h
    │   │   │   │   ├── thermistor_sampler.c
    │   │   │   │   └── thermistor_sampler.h
    │   │   │   └── validityTester
    │   │   │       ├── Kconfig
    │   │   │       ├── validity_tests.c
    │   │   │       └── validity_tests.h
    │   │   ├── sampling_scheduler.c
    │   │   ├── sampling_scheduler.h
    │   │   ├── uiux
    │   │   │   ├── augu_LEDS.c
    │   │   │   ├── augu_LEDS.h
    │   │   │   ├── uiux_canary_manager.c
    │   │   │   ├── uiux_halo_manager.c
    │   │   │   └── uiux_manager.h
    │   │   └── utils
    │   │       ├── augu_work_q.c
    │   │       ├── augu_work_q.h
    │   │       ├── date_time.c
    │   │       ├── date_time.h
    │   │       ├── Kconfig
    │   │       ├── max_min_heap
    │   │       │   ├── max_heap
    │   │       │   │   ├── max_heap.c
    │   │       │   │   ├── max_heap.h
    │   │       │   │   └── tests
    │   │       │   │       ├── README.md
    │   │       │   │       └── test.c
    │   │       │   ├── max_min_heap_types.h
    │   │       │   └── min_heap
    │   │       │       ├── min_heap.c
    │   │       │       ├── min_heap.h
    │   │       │       └── tests
    │   │       │           ├── README.md
    │   │       │           └── test.c
    │   │       ├── memory_heap.c
    │   │       └── memory_heap.h
    │   ├── sysbuild
    │   │   ├── augury_app
    │   │   │   ├── boards
    │   │   │   │   ├── apus_alpha_ncs_nrf52832.conf
    │   │   │   │   ├── canary_ea00019_rev_a_nrf52840.conf
    │   │   │   │   ├── canary_proto_rev_4_nrf52840.conf
    │   │   │   │   ├── canary_r4000_gen_b_nrf52840.conf
    │   │   │   │   ├── canary_r4000_high_g_rev_a_nrf52840.conf
    │   │   │   │   ├── canary_r4010_imu_rev_a_nrf52840.conf
    │   │   │   │   └── halo_ep2_ncs_nrf52832.conf
    │   │   │   ├── canary_ep.conf
    │   │   │   ├── pm_static_apus_alpha_ncs_nrf52832.yml
    │   │   │   ├── pm_static_canary_ea00019_rev_a_nrf52840.yml
    │   │   │   ├── pm_static_canary_proto_rev_4_nrf52840.yml
    │   │   │   ├── pm_static_canary_r4000_gen_b_nrf52840.yml
    │   │   │   ├── pm_static_canary_r4000_high_g_rev_a_nrf52840.yml
    │   │   │   ├── pm_static_canary_r4010_imu_rev_a_nrf52840.yml
    │   │   │   ├── pm_static_halo_ep2_ncs_nrf52832.yml
    │   │   │   ├── prj.conf
    │   │   │   ├── release.conf
    │   │   │   └── version.conf
    │   │   └── mcuboot
    │   │       ├── boards
    │   │       │   ├── apus_alpha_ncs_nrf52832.conf
    │   │       │   ├── canary_ea00019_rev_a_nrf52840.conf
    │   │       │   ├── canary_proto_rev_4_nrf52840.conf
    │   │       │   ├── canary_r4000_gen_b_nrf52840.conf
    │   │       │   ├── canary_r4000_high_g_rev_a_nrf52840.conf
    │   │       │   ├── canary_r4010_imu_rev_a_nrf52840.conf
    │   │       │   └── halo_ep2_ncs_nrf52832.conf
    │   │       └── prj.conf
    │   ├── sysbuild.cmake
    │   ├── sysbuild.conf
    │   ├── sysbuild_no_swap.conf
    │   ├── sysbuild_swap.conf
    │   └── v4_augury_uuids.txt
    ├── boards
    │   ├── augury
    │   │   ├── apus_alpha_ncs
    │   │   │   ├── apus_alpha_ncs_defconfig
    │   │   │   ├── apus_alpha_ncs.dts
    │   │   │   ├── apus_alpha_ncs_pinctrl.dtsi
    │   │   │   ├── apus_alpha_ncs.yaml
    │   │   │   ├── board.cmake
    │   │   │   ├── board.yml
    │   │   │   ├── dts
    │   │   │   │   └── bindings
    │   │   │   │       ├── augury,gpio-power.yaml -> ../../../../../drivers/power/augu_gpio_power/zephyr/dts/bindings/augury,gpio-power.yaml
    │   │   │   │       └── augu_spi_nor.yaml -> ../../../../../drivers/flash/augu_spi_nor/zephyr/dts/bindings/flash/augu_spi_nor.yaml
    │   │   │   ├── Kconfig
    │   │   │   ├── Kconfig.apus_alpha_ncs
    │   │   │   └── Kconfig.defconfig
    │   │   ├── canary_ea00019_rev_a
    │   │   │   ├── board.cmake
    │   │   │   ├── board.yml
    │   │   │   ├── canary_ea00019_rev_a_defconfig
    │   │   │   ├── canary_ea00019_rev_a.dts
    │   │   │   ├── canary_ea00019_rev_a.dtsi
    │   │   │   ├── canary_ea00019_rev_a.yaml
    │   │   │   ├── dts
    │   │   │   │   └── bindings
    │   │   │   │       ├── augu_flash_w25n.yaml -> ../../../../../drivers/flash/augu_flash_w25n/zephyr/dts/bindings/augu_flash_w25n.yaml
    │   │   │   │       └── augury,gpio-power.yaml -> ../../../../../drivers/power/augu_gpio_power/zephyr/dts/bindings/augury,gpio-power.yaml
    │   │   │   ├── Kconfig
    │   │   │   ├── Kconfig.canary_ea00019_rev_a
    │   │   │   └── Kconfig.defconfig
    │   │   ├── canary_proto_rev_4
    │   │   │   ├── board.cmake
    │   │   │   ├── board.yml
    │   │   │   ├── canary_proto_rev_4_defconfig
    │   │   │   ├── canary_proto_rev_4.dts
    │   │   │   ├── canary_proto_rev_4.dtsi
    │   │   │   ├── canary_proto_rev_4.yaml
    │   │   │   ├── dts
    │   │   │   │   └── bindings
    │   │   │   │       ├── augu_flash_w25n.yaml -> ../../../../../drivers/flash/augu_flash_w25n/zephyr/dts/bindings/augu_flash_w25n.yaml
    │   │   │   │       └── augury,gpio-power.yaml -> ../../../../../drivers/power/augu_gpio_power/zephyr/dts/bindings/augury,gpio-power.yaml
    │   │   │   ├── Kconfig
    │   │   │   ├── Kconfig.canary_proto_rev_4
    │   │   │   └── Kconfig.defconfig
    │   │   ├── canary_r4000_gen_b
    │   │   │   ├── board.cmake
    │   │   │   ├── board.yml
    │   │   │   ├── canary_r4000_gen_b_defconfig
    │   │   │   ├── canary_r4000_gen_b.dts
    │   │   │   ├── canary_r4000_gen_b.dtsi
    │   │   │   ├── canary_r4000_gen_b.yaml
    │   │   │   ├── dts
    │   │   │   │   └── bindings
    │   │   │   │       ├── augu_flash_w25n.yaml -> ../../../../../drivers/flash/augu_flash_w25n/zephyr/dts/bindings/augu_flash_w25n.yaml
    │   │   │   │       └── augury,gpio-power.yaml -> ../../../../../drivers/power/augu_gpio_power/zephyr/dts/bindings/augury,gpio-power.yaml
    │   │   │   ├── Kconfig
    │   │   │   ├── Kconfig.canary_r4000_gen_b
    │   │   │   └── Kconfig.defconfig
    │   │   ├── canary_r4000_high_g_rev_a
    │   │   │   ├── board.cmake
    │   │   │   ├── board.yml
    │   │   │   ├── canary_r4000_high_g_rev_a_defconfig
    │   │   │   ├── canary_r4000_high_g_rev_a.dts
    │   │   │   ├── canary_r4000_high_g_rev_a.dtsi
    │   │   │   ├── canary_r4000_high_g_rev_a.yaml
    │   │   │   ├── dts
    │   │   │   │   └── bindings
    │   │   │   │       ├── augu_flash_w25n.yaml -> ../../../../../drivers/flash/augu_flash_w25n/zephyr/dts/bindings/augu_flash_w25n.yaml
    │   │   │   │       └── augury,gpio-power.yaml -> ../../../../../drivers/power/augu_gpio_power/zephyr/dts/bindings/augury,gpio-power.yaml
    │   │   │   ├── Kconfig
    │   │   │   ├── Kconfig.canary_r4000_high_g_rev_a
    │   │   │   └── Kconfig.defconfig
    │   │   ├── canary_r4010_imu_rev_a
    │   │   │   ├── board.cmake <--------------------------------- I've placed it here
    │   │   │   ├── board.yml
    │   │   │   ├── canary_r4010_imu_rev_a_defconfig
    │   │   │   ├── canary_r4010_imu_rev_a.dts
    │   │   │   ├── canary_r4010_imu_rev_a_ism330bx.dts
    │   │   │   ├── canary_r4010_imu_rev_a-pinctrl.dtsi
    │   │   │   ├── canary_r4010_imu_rev_a.yaml
    │   │   │   ├── dts
    │   │   │   │   └── bindings
    │   │   │   │       ├── augu_flash_w25n.yaml -> ../../../../../drivers/flash/augu_flash_w25n/zephyr/dts/bindings/augu_flash_w25n.yaml
    │   │   │   │       └── augury,gpio-power.yaml -> ../../../../../drivers/power/augu_gpio_power/zephyr/dts/bindings/augury,gpio-power.yaml
    │   │   │   ├── Kconfig
    │   │   │   ├── Kconfig.canary_r4010_imu_rev_a
    │   │   │   └── Kconfig.defconfig
    │   │   └── halo_ep2_ncs
    │   │       ├── board.cmake
    │   │       ├── board.yml
    │   │       ├── dts
    │   │       │   └── bindings
    │   │       │       ├── augury,gpio-power.yaml -> ../../../../../drivers/power/augu_gpio_power/zephyr/dts/bindings/augury,gpio-power.yaml
    │   │       │       └── augu_spi_nor.yaml -> ../../../../../drivers/flash/augu_spi_nor/zephyr/dts/bindings/flash/augu_spi_nor.yaml
    │   │       ├── halo_ep2_ncs_defconfig
    │   │       ├── halo_ep2_ncs.dts
    │   │       ├── halo_ep2_ncs_pinctrl.dtsi
    │   │       ├── halo_ep2_ncs.yaml
    │   │       ├── Kconfig
    │   │       ├── Kconfig.defconfig
    │   │       └── Kconfig.halo_ep2_ncs
    │   └── CMakeLists.txt
    ├── build_dependencies.Dockerfile
    ├── doc
    ├── Dockerfile
    ├── Doxyfile
    ├── drivers
    │   ├── flash
    │   │   ├── augu_flash_w25n
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── augu_flash_w25n.yaml
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── augu_flash_w25n.c
    │   │   │           ├── augu_flash_w25n.h
    │   │   │           ├── augu_flash_w25n_spi.c
    │   │   │           └── augu_flash_w25n_spi.h
    │   │   └── augu_spi_nor
    │   │       └── zephyr
    │   │           ├── CMakeLists.txt
    │   │           ├── dts
    │   │           │   └── bindings
    │   │           │       └── flash
    │   │           │           └── augu_spi_nor.yaml
    │   │           ├── Kconfig
    │   │           └── src
    │   │               ├── augu_spi_nor.c
    │   │               ├── augu_spi_nor.h
    │   │               ├── flash_priv.h
    │   │               ├── jesd216.c
    │   │               └── jesd216.h
    │   ├── power
    │   │   ├── augu_divider
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── augury,divider-power.yaml
    │   │   │       ├── include
    │   │   │       │   └── augu_divider.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           └── augu_divider.c
    │   │   ├── augu_gpio_power
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── augury,gpio-power.yaml
    │   │   │       ├── include
    │   │   │       │   └── augu_gpio_power.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           └── augu_gpio_power.c
    │   │   └── augu_power_resource
    │   │       └── zephyr
    │   │           ├── CMakeLists.txt
    │   │           ├── dts
    │   │           │   └── bindings
    │   │           │       └── augury,power-resource.yaml
    │   │           └── Kconfig
    │   ├── sensor
    │   │   ├── ads8866_chain
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── ti,ads8866_chain-spi.yaml
    │   │   │       ├── include
    │   │   │       │   └── ads8866_chain_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── ads8866_chain.c
    │   │   │           └── ads8866_chain.h
    │   │   ├── adxl382
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── adi,adxl382-spi.yaml
    │   │   │       ├── include
    │   │   │       │   └── adxl382_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── adxl382.c
    │   │   │           ├── adxl382.h
    │   │   │           ├── adxl382_reg.c
    │   │   │           ├── adxl382_reg.h
    │   │   │           ├── adxl382_spi.c
    │   │   │           └── adxl382_trigger.c
    │   │   ├── augu_lis2dw12
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── st,augu_lis2dw12-i2c.yaml
    │   │   │       ├── include
    │   │   │       │   └── augu_lis2dw12_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── augu_lis2dw12.c
    │   │   │           └── augu_lis2dw12.h
    │   │   ├── augu_lis3mdl
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── st,augulis3mdl-i2c.yaml
    │   │   │       ├── include
    │   │   │       │   └── augu_lis3mdl_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── augu_lis3mdl.c
    │   │   │           ├── augu_lis3mdl.h
    │   │   │           ├── augu_lis3mdl_spi.c
    │   │   │           ├── augu_lis3mdl_spi.h
    │   │   │           └── augu_lis3mdl_trigger.c
    │   │   ├── augu_ncp15wb473f03
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── rt1,ncp15wb473f03.yaml
    │   │   │       ├── include
    │   │   │       │   └── ncp15wb473f03_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── ncp15wb473f03.c
    │   │   │           └── ncp15wb473f03.h
    │   │   ├── augusi7210
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── si,augusi7210-i2c.yaml
    │   │   │       ├── include
    │   │   │       │   └── augusi7210_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── augusi7210.c
    │   │   │           └── augusi7210.h
    │   │   ├── iis3dwb
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── st,iis3dwb-spi.yaml
    │   │   │       ├── include
    │   │   │       │   └── iis3dwb_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── iis3dwb.c
    │   │   │           ├── iis3dwb.h
    │   │   │           ├── iis3dwb_spi.c
    │   │   │           └── iis3dwb_trigger.c
    │   │   ├── include
    │   │   │   └── augu_sensor.h
    │   │   ├── ltc3335
    │   │   │   └── zephyr
    │   │   │       ├── CMakeLists.txt
    │   │   │       ├── dts
    │   │   │       │   └── bindings
    │   │   │       │       └── sensor
    │   │   │       │           └── lt,ltc3335-i2c.yaml
    │   │   │       ├── include
    │   │   │       │   └── ltc3335_defs.h
    │   │   │       ├── Kconfig
    │   │   │       └── src
    │   │   │           ├── ltc3335.c
    │   │   │           └── ltc3335.h
    │   │   └── st
    │   │       ├── ism330bx
    │   │       │   └── zephyr
    │   │       │       ├── CMakeLists.txt
    │   │       │       ├── dts
    │   │       │       │   └── bindings
    │   │       │       │       └── sensor
    │   │       │       │           ├── st,ism330bx-common.yaml
    │   │       │       │           └── st,ism330bx-spi.yaml
    │   │       │       ├── include
    │   │       │       │   └── ism330bx_defs.h
    │   │       │       ├── Kconfig
    │   │       │       ├── Kconfig.develop
    │   │       │       └── src
    │   │       │           ├── ism330bx.c
    │   │       │           ├── ism330bx.h
    │   │       │           ├── ism330bx_shub.c
    │   │       │           └── ism330bx_trigger.c
    │   │       └── stmemsc
    │   │           ├── CMakeLists.txt
    │   │           ├── stmemsc.h
    │   │           ├── stmemsc_i2c.c
    │   │           ├── stmemsc_i3c.c
    │   │           ├── stmemsc_mdelay.c
    │   │           └── stmemsc_spi.c
    │   └── utils
    │       ├── augu_adc
    │       │   └── zephyr
    │       │       ├── CMakeLists.txt
    │       │       ├── include
    │       │       │   └── augu_adc.h
    │       │       ├── Kconfig
    │       │       └── src
    │       │           └── augu_adc.c
    │       ├── augu_gpio
    │       │   └── zephyr
    │       │       ├── CMakeLists.txt
    │       │       ├── include
    │       │       │   └── augu_gpio.h
    │       │       ├── Kconfig
    │       │       └── src
    │       │           └── augu_gpio.c
    │       ├── augu_i2c
    │       │   └── zephyr
    │       │       ├── CMakeLists.txt
    │       │       ├── include
    │       │       │   └── augu_i2c.h
    │       │       ├── Kconfig
    │       │       └── src
    │       │           └── augu_i2c.c
    │       ├── augu_queue
    │       │   └── zephyr
    │       │       ├── CMakeLists.txt
    │       │       ├── include
    │       │       │   └── augu_queue.h
    │       │       ├── Kconfig
    │       │       └── src
    │       │           └── augu_queue.c
    │       ├── augu_spi
    │       │   └── zephyr
    │       │       ├── CMakeLists.txt
    │       │       ├── include
    │       │       │   └── augu_spi.h
    │       │       ├── Kconfig
    │       │       └── src
    │       │           └── augu_spi.c
    │       ├── augu_thread_stack
    │       │   └── zephyr
    │       │       ├── CMakeLists.txt
    │       │       ├── include
    │       │       │   └── augu_thread_stack.h
    │       │       ├── Kconfig
    │       │       └── src
    │       │           └── augu_thread_stack.c
    │       └── augu_tracing
    │           └── zephyr
    │               ├── CMakeLists.txt
    │               ├── include
    │               │   └── augu_tracing.h
    │               └── Kconfig
    ├── dts
    │   └── bindings
    │       ├── flash
    │       └── sensor
    ├── Kconfig
    ├── local_build_apus_alpha_ncs.sh
    ├── local_build_canary_nrf54_rev_a.sh
    ├── local_build_canary_r4000_reb_4_ncs.sh
    ├── local_build_halo_ep2_ncs.sh
    ├── priv_apus_alpha_ncs_key.pem
    ├── priv_canary_sign_key.pem
    ├── priv_halo_ep2_ncs_key.pem
    ├── README.md
    ├── tree.log
    ├── tree.txt
    └── zephyr
    
    200 directories, 513 files
    

    Its looks like its not reading it from there. Because the speed is 12000

    Thakns

  • Hi Gal,

    Please wait while I consult our extension team. I will keep you updated.

    Hieu

  • Hi Gal,

    I was informed that 12000 is the default speed that the extension will try to work with. The file I referred to in my first reply is used with west debug, so we have another alternative of modifying the debug task to use the west debug server.

    However, I understand that you don't want to modify launch.json, so that won't help.

    In that case, I think our interest should shift to why 12000 didn't work for your board setup. Could you review your setup to see if there is any weak point in the connection? What debugger are you using?

    Hieu

Related