30 lines
2.3 KiB
Plaintext
30 lines
2.3 KiB
Plaintext
You are testing the KOTA sensorbox technician tool v0.5 on macOS. The current folder is
|
|
004-technician_tool/v0.5 (a Python/PySide6 desktop app; it has only been tested on Windows so far).
|
|
|
|
Rules:
|
|
- Python only via uv or conda/mamba. Never use bare/system python or pip.
|
|
- Do not build, modify or flash firmware other than the bundled firmware/new_system.bin.
|
|
- Do not push anything to Git or GitLab. This is a local demo.
|
|
- Ask me before any destructive action: formatting an SD card, Full-mode flashing, or deleting files.
|
|
Before formatting, show me the exact disk (identifier, name, size, current files).
|
|
- Do not change code without telling me. Report bugs with evidence (commands and output).
|
|
|
|
Tests, in order. Report pass/fail with evidence for each:
|
|
1. Launch: `bash run_macos.command` (it offers to install uv). The app window opens; note any warnings.
|
|
2. Tests: `UV_PROJECT_ENVIRONMENT="$HOME/Library/Caches/KotaTechnicianTool/venv-0.5" uv run --frozen pytest -q`
|
|
3. Serial: plug in the sensorbox (native USB). The port list shows a /dev/cu.usbmodem* "Sensorbox (native USB)"
|
|
entry with a MAC. Connect, press "Reset & capture": the boot log starts at "ESP-ROM:esp32s3" and the
|
|
Diagnosis panel identifies firmware v1.0 (build 45fa9d5b9). Check whether the port disappears after the
|
|
reset and whether the tool reconnects.
|
|
4. Guided troubleshooting: run "Quick check" and answer truthfully with what I tell you the LED shows.
|
|
5. Flash (App only, factory image; the box already runs it): the tool must enter flashing mode by itself,
|
|
write, restart the box and report "Success ... build 45fa9d5b9". Capture the esptool output.
|
|
6. SD card tab: the settings load from ../../002-SD_card_format/ENV.txt. The card reader and card are listed
|
|
(internal disks must NOT be listed). Run "Check card", then, after my OK, "Format card and write ENV.TXT".
|
|
It must use `diskutil eraseDisk FAT32 KOTA MBRFormat` on the correct disk, write ENV.TXT byte-identical
|
|
to the template, and eject the card.
|
|
7. "Service report..." opens the browser at https://service.kota-app.com/<MAC>#kota-report=... (it is fine
|
|
if the page itself cannot prefill yet).
|
|
|
|
At the end, write a short report: macOS version, Mac model/architecture, each test with result, errors, and
|
|
suggested fixes (file:line). |