Skip to content
Back to skills

Matlab Troubleshoot Ti Mmwave Radar Setup

ASecurity

Diagnose and fix setup and connection failures for Texas Instruments (TI) mmWave radar boards (AWR/IWR) and DCA1000 capture cards used through the Radar Toolbox support package. Use when the board will not connect from MATLAB: serial (COM) port not detected, busy, or not enumerating, or "the specified COM ports are not available"; DCA1000 "no response", "check firewall settings", host IP not found, UDP port in use, or recording fails; a .cfg warning, "unrecognized command", processing chain m...

  • 1,414 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgoshelldocumentation

Works with

  • terminal
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add matlab/matlab-agentic-toolkit --skill matlab-troubleshoot-ti-mmwave-radar-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Matlab Troubleshoot Ti Mmwave Radar Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Matlab Troubleshoot Ti Mmwave Radar Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/matlab-matlab-troubleshoot-ti-mmwave-radar-setup/badge)](https://www.skillsdirectory.com/skills/matlab-matlab-troubleshoot-ti-mmwave-radar-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: matlab-troubleshoot-ti-mmwave-radar-setup
description: >
  Diagnose and fix setup and connection failures for Texas Instruments (TI)
  mmWave radar boards (AWR/IWR) and DCA1000 capture cards used through the
  Radar Toolbox support package. Use when the board will not connect from
  MATLAB: serial (COM) port not detected, busy, or not enumerating, or "the
  specified COM ports are not available"; DCA1000 "no response", "check
  firewall settings", host IP not found, UDP port in use, or recording fails;
  a .cfg warning, "unrecognized command", processing chain mismatch, or
  "unable to receive data"; pasted mmWaveRadar or dca1000 errors; capture
  stops after a few seconds; mmWaveRadarSetup "Install Third-Party Software"
  fails or "Flash Binary" hangs (switches, reset, power). Also use when it
  streams but detections look wrong (range, speed, static objects), live data
  stops after a while, recordings made one after another look wrong, the
  user sends a photo of the board's switches, IT needs the firewall rules,
  or the user asks if a board, TI SDK, or release is supported.
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata:
  author: MathWorks
  version: "1.0"
---

# TI mmWave Radar Setup Troubleshooting

Names the real cause, and the official fix step, behind the generic messages of the Radar Toolbox Support Package for Texas Instruments® mmWave Radar Sensors ("the support package"). `triageRadarSetup` ranks four areas: **hardware setup** (drivers, firmware flash), **serial port**, **DCA1000 network**, **`.cfg` file**. `confirmRadarStreaming` then proves the board streams, and the session ends with the board name, a shipped `.cfg`, and an example.

## When to Use

- A TI mmWave radar board (AWR/IWR) will not connect from MATLAB, or MATLAB says the specified COM ports are not available while the board is plugged in.
- A COM port is not detected, is busy, or does not enumerate consistently.
- The user **pastes MATLAB error or warning output** instead of describing the symptom.
- A DCA1000 times out, reports "no response" / "check firewall settings", cannot find the host IP, or fails to record to a file, or recordings made one after another look wrong.
- A `.cfg` file gives a warning, "unrecognized command", or a processing chain (TDM/DDM) mismatch, or capture **stops after a few seconds**.
- The `mmWaveRadarSetup` **"Install Third-Party Software"** step fails, or **"Flash Binary"** hangs or fails, and the board's **switches, reset, or power** may be wrong.
- The setup checks passed and the user wants to **confirm the board works** or **know where to start**.
- The board streams, but **the data looks wrong**: no detections beyond some range or to the side, wrong speed, nothing for objects that do not move. Run `summarizeRadarCfg` with what the user needs (distance, speed, angle, static objects).
- The user asks whether their **board, TI SDK, or MATLAB release is supported**.

## When NOT to Use

- An error from the user's own code that the support package did not raise (for example an indexing error after the board streams) — use `matlab-debug-code`. Pasted output from a `mmWaveRadar`, `dca1000`, or `mmWaveRadarSetup` session stays here.
- **Simulink PIL, Build and Deploy, Connected I/O, or External Mode** — a separate code-generation area; "flash failed" or "won't connect" there means a compiled model or an External Mode target. Run the triage; relay its Note.
- Radar design or detection simulation with no hardware — use `matlab-design-radar`, `matlab-design-radar-waveform`, or `matlab-simulate-radar-detections`.
- Installing or updating the support package itself — use `matlab-install-products`. This skill covers the hardware setup wizard's TI driver and firmware steps.
- **First-time setup of a new board, with nothing failed yet** — point to `mmWaveRadarSetup`. If a step fails, run the triage here.
- A general inventory across devices ("what hardware is connected?") — use `matlab-discover-hardware`.
- Calibration is outside this skill; point to the support package's calibration documentation. **More than one DCA1000 on one host** is unsupported (the card's IP address is fixed): say so.

## Workflow

Derive `SKILL_DIR` from the location of this SKILL.md and call the scripts through the MATLAB MCP server with `project_path` set to `SKILL_DIR/scripts`. They are read-only unless a step says otherwise. If the MCP server isn't available, say the checks can't run here, give the user the triage call to run in MATLAB (from the skill's `scripts` folder) and paste back, and label any suggestion from documentation as not checked.

1. **Pin the release** (`ver`) so documentation fetches match it. `mmWaveRadar` ships from R2023b, `dca1000` from R2024b, AWR2944 support from R2026b; relay "not applicable on your release" as the result. For a support question, follow [`references/support-questions.md`](references/support-questions.md): answer only from the fetched Supported Boards page and release notes, with the link, not from the releases above; if a fetch fails, say so and label the answer not checked.

2. **Run `triageRadarSetup` with the user's own words** and what they told you, through `evaluate_matlab_code` with `project_path` as above:
   ```matlab
   report = triageRadarSetup(Symptom="it won't connect", BoardName="AWR6843ISK", CaptureCard="Yes");
   ```
   - **Pasted output first:** run `classifyErrorTranscript(Text=..., BoardName=...)` on the whole paste (`File=` for a session saved to a file; relay the Note that names which earlier line explains a later error) and relay its findings in order, keeping each `RecommendedAction`'s steps in order (your own checks, such as switches or cables, only after them), then the triage with the inputs the area in the classifier's `NextDomain` needs (for a `.cfg` finding, the user's file).
   - **Simulink path:** if `report.Applicable` is `false`, relay its Note and stop.
   - **Not Windows** (the triage detects it, or the user says so): say the support package runs on 64-bit Windows only (the triage's Note); run nothing else, give no Windows or Linux commands, and label any reading of their paste not checked.
   - **Healthy boards exit fast** with one summary Note: relay it and go to step 5.
   - **DCA1000 checks** run with `CaptureCard="Yes"`, or `"Auto"` when the symptom mentions the card, raw data, Ethernet, UDP, or the firewall; ask if unsure. A firewall fix needs **both an inbound and an outbound UDP rule** (ports 4096 and 4098; the report gives the addresses). The user or their IT creates, changes or removes firewall rules; never do it yourself, and never call the firewall cleared from an allow rule alone. When the report's Note gives PowerShell commands "for your IT administrator", relay them as text for IT to review and run; never run them.
   - **Pass through what you have** (`CfgFile`, `InstallLogFile`, `FlashFailed`, `ObservedElapsedSec`, and the rest in [`references/script-interfaces.md`](references/script-interfaces.md)); `UDPPacketDelay` goes to `proposeCfgFix(Fix="FitDataRate")`, not the triage.
   - **Present `report.Findings` as one ranked list:** every Confirmed and Likely finding in the triage's order (`Findings(1)` is the `TopFinding`; don't show it twice), never dropping one because a higher-ranked one exists.
   - **Print them with a loop:** `for f = report.Findings, fprintf("[%s] %s\n%s\n", f.Confidence, f.Summary, f.RecommendedAction); end` and `fprintf("Note: %s\n", report.Notes)`; never `disp` a report or its Notes; findings have no `Id` field.
   - **Relay `report.Notes` as written**; `report.DomainErrors` is for you only.

3. **Drill into one area** with its own script when the category is known or a finding needs detail; answer the area the user named first. Load that area's section of [`references/domain-diagnostics.md`](references/domain-diagnostics.md) ("the reference" below: serial port, DCA1000 network and recording, raw-data loss, `.cfg` file, hardware setup).
   - **Switches, reset, and power:** when a flash fails or a flashed board won't answer, ask the questions in [`references/board-setup-checklist.md`](references/board-setup-checklist.md) with the names printed on the board, stop at the first mismatch, and pass the answers to `evaluateBoardSetupAnswers`.
     - State the position each mode needs ("flashing mode needs S3 ON; check it"), but don't tell the user to change a switch until an answer shows it is wrong. After any switch change, say a reset is required.
     - For a board the checklist doesn't list, quote its TI user guide and name it; never guess positions. For a **photo of the board**, follow "Reading the board from a photo" in the checklist; never advise a switch change from an unconfirmed reading.
   - **The user's own `.cfg` with a fixable issue** (missing command, finite run, short frame period, detection limits, static objects, memory budget, data rate, ADC window): offer `proposeCfgFix`. Rules: [`references/cfg-tuning-rules.md`](references/cfg-tuning-rules.md).
     - For memory, data rate and a short frame period (including keeping the period with shorter chirps), relay each choice with its trade-off (`CfgFixChoiceNeeded`) and propose only the user's pick.
     - For a chirp, frame, mask or detection change the user asks for that no fix or shipped file covers, offer the guided edit (`Edit=[...]`); ask which required `DependentChanges` they want, never add them yourself.
     - A fixed copy is "checked offline", never "verified", until it streams.

4. **After a fix, run the triage again** instead of retrying blind ("Re-check after a fix" in the reference), until `HealthyConnection` is `true` or the rest needs the user's hands on the hardware.

5. **End on a working board.** Only when `HealthyConnection` is `true`, offer the streaming check once; on a yes, run `confirmRadarStreaming(HealthyConnection=true, BoardName=...)`. Details: "Confirm streaming and hand off" in the reference.
   - After a `HostReadSlow`, offer the oldest-mode re-check once (its own yes).
   - When live data stops, drops frames or hangs after a stop, ask for a watch (`DurationSec`, 60–300 s; say how long) that ends with a stop and restart; pass `RestartCheck=true` only if the yes covered the restart.
   - Then give the board name, `VerifiedCfgFile`, and 1–3 example pages fetched live (`matlab-read-documentation`, or `findBoardExamples`; `IncludeCaptureCard=true` for a DCA1000), each with its own `OpenCommand`. Open one (`openBoardExample`) only after a yes; adapt one (`retargetRadarExample`) only on request.

6. **When it can't be resolved here**, offer `writeSupportSummary(Report=report, BoardName=..., FixesTried=[...])`: redacted text for a MathWorks Technical Support case. Show it with redaction on (off only if the user asks); save it only after a yes (`Confirm=true`, outside the MATLAB installation); never send it.

## Key Functions

| Function | Purpose | Toolbox | Available From |
|----------|---------|---------|----------------|
| `triageRadarSetup` | Entry point: declines Simulink symptoms, runs the area diagnostics, ranks findings, gives `HealthyConnection`. | Radar Toolbox support package | R2023b |
| `classifyErrorTranscript` | Matches pasted output against the support package's own messages. | Radar Toolbox support package | R2023b |
| `diagnoseSerialPortConnection` | Classifies each TI COM port; names the program holding a busy one. | Radar Toolbox support package | R2023b |
| `diagnoseDCA1000Network` | Adapter, reachability, firewall, VPN, busy UDP port, recording tools, finished recordings. | Radar Toolbox support package; DSP System Toolbox (optional) | R2024b |
| `diagnoseRadarCfgFile` | `.cfg` blockers the support package only warns about; frame period, data rate, chain. | Radar Toolbox support package | R2023b; chain check R2026b |
| `summarizeRadarCfg` | What a `.cfg` can see against the user's need; shipped files that cover it. | Radar Toolbox support package | R2023b |
| `diagnoseProvisioningIssues` | Install-log classification, flash-hang check, flash failure recovery. | Radar Toolbox support package | R2023b; AWR2944 sub-checks R2026b |
| `evaluateBoardSetupAnswers` | Checks switch, reset, power and USB-port answers against the board's checklist. | Radar Toolbox support package | R2023b |
| `confirmRadarStreaming` | With a yes, reads frames with a verified `.cfg`, releases the board, confirms it answers. | Radar Toolbox support package | R2023b; capture-card stage R2024b |
| `prepareRecordingTools` | mmWave Studio version and TI page for the board; saves a validated folder only on `Confirm`. | Radar Toolbox support package | R2024b |
| `proposeCfgFix` | Narrow `.cfg` fixes as a diff with their trade-off; writes a new file only on `Confirm`. | Radar Toolbox support package | R2023b |
| `writeSupportSummary` | Redacted support-case summary; writes a `.txt` only on `Confirm`. | Radar Toolbox support package | R2023b |
| `findBoardExamples` | Up to 3 example pages with open commands (fallback for `matlab-read-documentation`). | Radar Toolbox | R2023b |
| `openBoardExample` | Checks an example name; opens it only on `Confirm`. | MATLAB | R2023b |
| `retargetRadarExample` | Proposes an example's board and `.cfg` swap; writes only a confirmed copy. | Radar Toolbox support package | R2023b |
| `resetRadarBoard` | Resets an XDS110 board (BOOST, low-power and MCU+ SDK boards); only on `Confirm`. | Radar Toolbox support package (Windows) | R2023b |

Internal helpers (not called directly): `parseIpconfigOutput`, `parseFirewallRules`, `classifyInstallLog`, `evaluateFlashHang`, `boardSetupChecklist`, `boardModeSwitchText`, `captureRateVerdict`, `captureRateFinding`, `resolveBoardObject`, `initBoardChainFromCfg`.

## Conventions

**Tiers.** Always: offline and host-only checks (nothing sent to the board). Ask First: the read-only `version` query, writing a file, a board test, a reset, a stream or recording, the connection test. Never: firewall changes, ending a program, editing a shipped file, interrupting a flash, installing software.

- **Run the scripts and relay their results; do not reimplement them.** Do not write your own checker or compute run times yourself, and never save helper files to the user's work folder. Answer the user's own question first, then relay `Summary` and `RecommendedAction` as written (they never name internal properties, message IDs, or magic numbers; never name a finding's `Classification` or a report field, such as `HealthyConnection`, to the user), and fetch official steps live with `matlab-read-documentation`, pinned to the user's release.
- **When the checks find nothing that explains the symptom,** say so, then reason from the official documentation and the symptom, labelling each suggestion as not checked by the skill.
- **Only `HealthyConnection` means "connected," and only a passed streaming check (`BoardStreaming`) means "setup complete."** Never say the board streams unless the check passed.
  - **Judge the board only with its TI-shipped, unmodified `.cfg`** (detections, and raw data through a DCA1000) from the support package's `configfiles` folder.
  - Any other file runs only after its own yes, as a test of that file (`CfgFileStreams`), never the board verdict; below 33.3 ms, relay the reset warning as written, and offer a reset if the board goes silent.
  - To test a file despite its `.cfg` findings, name them, get a separate yes, and pass `TestAnyway=true, HealthyConnection=report.HealthyExceptCfg`.
- **A Confirmed `.cfg` blocker or chain mismatch gates the connection.** Explain it and its fix before anyone connects, and make it step 1 of the next steps (a test anyway is the user's call, above). A "no board detected" or capture-card network finding on this computer goes after the cause as a side note, also when the cause comes from pasted output: the board may simply not be plugged in here. Never tell the user to fix those first.
- **Edit a `.cfg` only when it is the user's own file** (a copy outside the installation counts), **and only through `proposeCfgFix`** (step 3: a fix for a diagnosed issue, or a guided edit they asked for). Never copy a shipped file to get around a refusal; offer the shipped file it names. Tiers: "Propose a narrow `.cfg` fix" in the reference.
  - Never edit a shipped file or the original, or change calibration values, TX power, the chain, `adcCfg`, `lowPower`, or unrecognized commands; never turn static clutter removal off on a low-power board (TI says it must stay on).
  - When declining, say why: a wrong value there can make the board fail in ways that look like a connection problem; point to a shipped file with the wanted setup.
- **Ask every decision as a choice.** List the options, numbered, each with its cost; when there are two or more ways, put the one that fits the user's goal first, marked "(Recommended)" (never on a yes/no consent question); then ask with the agent's question prompt, or for the option's number. Rules: "Interaction tiers" in the reference.
  - Each action that writes a file or talks to the board is its own question, nothing preselected, and nothing runs until it is answered; a selected option is the yes for that action only.
  - A request to fix, open or test is not the yes; pass `Confirm=true` only after an explicit yes.
- **Talk to the board only with consent.** `RunOnlineChecks` sends only the read-only `version` command; `RunConnectionTest` resets the capture card and the radar board, and `confirmRadarStreaming` streams; all three need a yes, and never while a recording or capture runs. Run `confirmRadarStreaming` only after a yes, and set `CheckCaptureCard` or `CheckRecording` only after a separate yes each.
- **Never interrupt a running flash yourself.** Once a hang is reported, relay the recovery (the user presses Ctrl+C). Never run or re-run an install, Flash Binary or a failed streaming check yourself; the user re-runs the step after the fix. When a flash still fails after the fixes, relay the finding's advice as written: the board's own USB cable, 2 or 3 more tries, then MathWorks Technical Support with the support summary.
- **Reset the board from MATLAB only after a yes:** `resetRadarBoard(BoardName=...)`, once with `Confirm=true` after releasing any radar object, then re-check; never during a flash, recording or streaming check. CP2105 boards (ISK, AOP) use their reset button. Details: "Reset the board from MATLAB" in the reference.
- **Never end a program, even with a yes.** When a check names the program holding a port (TI Cloud Agent, another MATLAB, a terminal), give its process ID and how to close it (the TI web-tool tab and browser, or TI Cloud Agent's tray icon), then rerun the serial check.
- **Set up mmWave Studio only the user's chosen way** (TI's page or `mmWaveRadarSetup`); never install third-party software, accept a TI license, or call `setpref`/`addpref`; `setenv` for `RecordingLaunchBlocked` only after a pick and a yes. Steps: "Recording tools setup" in the reference.

## Common Mistakes

- **Picking one area for a vague symptom.** "It won't connect" can be a busy port, a firewall gap, and a `.cfg` blocker at once. Run the triage, and present every Confirmed and Likely finding.
- **Matching pasted errors by eye.** The generic "unable to receive data" error follows many causes; a warning above it is usually the real one. Run `classifyErrorTranscript` on the whole paste.
- **Chasing cables or the firewall when the board went silent.** A `BoardNotResponding` board is often left in flashing mode (its ports look normal): check the switches for functional mode, then reset; if that and a power cycle fail, suggest re-flashing through `mmWaveRadarSetup`. Don't suggest board-name or firmware-version fixes when nothing answered.
- **Giving generic SOP switch steps.** Use the board's checklist row (on the AOP boards only S3 changes).

## References

- [`references/domain-diagnostics.md`](references/domain-diagnostics.md) — per-area calls, classifications, rules, and tiers, plus the `.cfg` fix, the streaming check, and the example hand-off.
- [`references/error-id-reference.md`](references/error-id-reference.md) — support package error identifiers mapped to the real cause and the finding that resolves it.
- [`references/cfg-tuning-rules.md`](references/cfg-tuning-rules.md) — per SDK family, the commands the `.cfg` fixes change, TI's limits on them, the values that depend on them, and what needs a reboot. Load when proposing or explaining a `.cfg` fix.
- [`references/board-setup-checklist.md`](references/board-setup-checklist.md) — questions to ask and each board's switches, reset button, LEDs, power, and USB port. Load when a flash fails or a flashed board won't answer.
- [`references/support-questions.md`](references/support-questions.md) — answering whether a board, SDK, or release is supported. Load for any support question.
- [`references/script-interfaces.md`](references/script-interfaces.md) — every script's inputs, defaults, and report fields. Load when building a call beyond the examples above.
- `matlab-read-documentation` (required skill) — live official pages, supported-board list, and firewall values for the user's release.

----
Copyright 2026 The MathWorks, Inc.
----

Files in this skill

  • SKILL.md20.9 KB
  • manifest.yaml810 B
  • references/board-setup-checklist.md12.3 KB
  • references/cfg-tuning-rules.md10 KB
  • references/domain-diagnostics.md58.3 KB
  • references/error-id-reference.md18.6 KB
  • references/script-interfaces.md19.6 KB
  • references/support-questions.md3.5 KB
  • scripts/boardModeSwitchText.m1.9 KB
  • scripts/boardSetupChecklist.m12.5 KB
  • scripts/captureRateFinding.m2.9 KB
  • scripts/captureRateVerdict.m2.1 KB
  • scripts/classifyErrorTranscript.p9.7 KB
  • scripts/classifyInstallLog.m4.1 KB
  • scripts/confirmRadarStreaming.p13.9 KB
  • scripts/diagnoseDCA1000Network.p15.2 KB
  • scripts/diagnoseProvisioningIssues.m14.3 KB
  • scripts/diagnoseRadarCfgFile.p12.6 KB
  • scripts/diagnoseSerialPortConnection.p9.3 KB
  • scripts/evaluateBoardSetupAnswers.m18.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.