On Wednesday 28 May 2014 12:36:57 Koenraad Lelong wrote: > > I tried to debug my arm-board with MSEide. > I manually started openocd (I need to be root).
Is the debug interface connected by USB? Then it is possible to setup an udev rule in order to allow non-root access. Copy a file to /etc/udev/rules.d, for the J-Link for example I named it 99-jlink_mse.rules, the content: " ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="jlink_rules_end" ATTR{idProduct}=="0101", ATTR{idVendor}=="1366", MODE="664", GROUP="users" ATTR{idProduct}=="0102", ATTR{idVendor}=="1366", MODE="664", GROUP="users" ATTR{idProduct}=="0103", ATTR{idVendor}=="1366", MODE="664", GROUP="users" ATTR{idProduct}=="0104", ATTR{idVendor}=="1366", MODE="664", GROUP="users" ATTR{idProduct}=="0105", ATTR{idVendor}=="1366", MODE="664", GROUP="users" LABEL="jlink_rules_end" " "lsusb -v" lists the connected USB-devices with their device descriptor. The file provided by Segger did not work because of an unknown BUS variable and SYSFS instead of ATTR. I tried to connect an EFM32 board by openocd->J-Link->SWD->Chip, sadly the openocd J-Link driver supports JTAG only. :-( Martin -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus