From c56a7cc8bfb708fb11de5d6a9acb21228e722781 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 27 Aug 2023 13:53:03 +0200 Subject: [PATCH] troubleshooting --- docs/troubleshooting.md | 52 ++++++++++++++++++++++++++++++++++------- 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 6c02d92..402001a 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -1,8 +1,15 @@ -# InvalidException: Device unsupported cmd +# Hardware -You need to update the firmware of you Chameleon. +## Difficulties to get the LF working properly -# Communication issues between CLI and Chameleon +The LF antenna is on a second PCB attached to the main PCB via little screws which also serve as electric connection. +It has reported that on some devices the electric connection is not good, some glue or resin residues mai interfere. +You can try to dismantle very gently the screws and PCB, clean them and put them back in place. +Be very careful the screws have been reported to be quite fragile so be gentle with them! + +# DFU + +## Communication issues between CLI and Chameleon For example, typical error when performing DFU upgrade: @@ -14,9 +21,38 @@ Error: One or more program tasks failed Check the serial port permissions and if under Linux, make sure ModemManager is not interfering with your Chameleon. The proposed [udev/rules.d file](../resource/driver/79-chameleon-usb-device-blacklist-dialout.rules) may help you (and add your user to the dialout group). -# Difficulties to get the LF working properly +# CLI tools compilation + +## ProxSpace: cmake error + +The following error has been reported on some ProxSpace installations (why on some and not all is still unclear) + +``` +pm3 ~/ChameleonUltra/software/src$ cmake . +-- Building for: Ninja +-- The C compiler identification is GNU 10.3.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - failed +-- Check for working C compiler: C:/Users/moeya/Desktop/Chamelion/ProxSpace/msys2/mingw64/bin/cc.exe +-- Check for working C compiler: C:/Users/moeya/Desktop/Chamelion/ProxSpace/msys2/mingw64/bin/cc.exe - broken +CMake Error at C:/Users/moeya/Desktop/Chamelion/ProxSpace/msys2/mingw64/share/cmake-3.21/Modules/CMakeTestCCompiler.cmake:69 (message): + The C compiler + + "C:/Users/xxx/ProxSpace/msys2/mingw64/bin/cc.exe" + + is not able to compile a simple test program. +``` + +This is due to a version of ninja not aware of the Windows paths. Fix: + +``` +pacman -R ninja +pacman -S mingw-w64-x86_64-ninja +``` + +# CLI usage + +## InvalidException: Device unsupported cmd + +You need to update the firmware of you Chameleon. -The LF antenna is on a second PCB attached to the main PCB via little screws which also serve as electric connection. -It has reported that on some devices the electric connection is not good, some glue or resin residues mai interfere. -You can try to dismantle very gently the screws and PCB, clean them and put them back in place. -Be very careful the screws have been reported to be quite fragile so be gentle with them!