ChibiStudio, Windows 10 and several problems....
Posted: Thu Jun 27, 2019 5:11 pm
Hi there,
I'm new to ChibiOS and ChibiStudio but not to Eclipse at general. Since three days I try to get ChibiStudio running on two Windows 10 computers but it doesn't work. From both computers I get different error messages and finally I can't do my work. I want to take over a project from a former colleague of mine, he worked with ChibiStudio on an Windows 7 computer and everything was fine.
The problem I experienced with the first computer was, that I can build the project as expected but I never could flash or debug it. The connection to the board (STM32F303RE) could never been established, I got several different error messages. After a while I detected that there was no debug configuration available but I suppose at the beginning thus after "installation" (in fact to copy it) I had 4 debug configurations (menu -> Run -> External Tools -> External Tools Configurations), but now they are all gone. So I manually made a configuration, which worked a little bit but in general it was not useable. Yesterday I saw, that this configuration is also gone. The only goal I got was to compile the project, whether flashing nor debugging was possible.
For me to compare what I should expect is shown here: https://wiki.ugfx.io/index.php/Using_Ch ... ng_OpenOCD
The first image in section 'Configuring OpenOCD' shows different configurations. (https://wiki.ugfx.io/index.php/File:Openocd-config.png)
I made a screenshot about the missing configurations.
Now I tried to install ChibiStudio (Preview 20) at the second computer. At first I installed the preview 20 version, after starting up I got the message that Java has to be installed. Ok, I installed at first Java 32-bit and afterwards the Java 64-bit release as advised somewhere here. Now ChibiStudio starts up and I've imported the project into the workspace (with copying files into that workspace). Then I immediately got a red exclamation mark at the directory structure of this project and below there's the following error message shown: Can not find 'gcc' in path (or similar). And there was a second error message given by make: No rule to make target os/somewhere/inside/ChibiOS/rules.mk: file not found.
On both computers I've admin rights, the second one runs due to EtherCAT-master capabilities (real time extension) in test-mode. On both computer I can make a connection with ST-Link to the STM32F303 Nucleo board and flash/erase it, no problem at all. But with ChibiStudio I'm currently really unhappy due to several different error messages and the disappearing configuration. Is something went wrong during installation or are they interferences? Have all these problems a typical Windows 10 background? And if so, what could be a solution?
BTW, here are some error messages I got during the past days, thanks to the browser tabs which are currently still open.
> You can't do that when your target is `None' ... The program is not being run. (OpenOCD?)
> Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
> Error creating session Cannot run program "gdb": Launching failed
> embedded:startup.tcl:60: Error: Can't find board/stm32f3discovery.cfg
> monitor command not supported by this target.
> Error with command: gdb --version
> Target request failed: The program is not being run.
It would be very very nice if we can solve this problem.
I'm new to ChibiOS and ChibiStudio but not to Eclipse at general. Since three days I try to get ChibiStudio running on two Windows 10 computers but it doesn't work. From both computers I get different error messages and finally I can't do my work. I want to take over a project from a former colleague of mine, he worked with ChibiStudio on an Windows 7 computer and everything was fine.
The problem I experienced with the first computer was, that I can build the project as expected but I never could flash or debug it. The connection to the board (STM32F303RE) could never been established, I got several different error messages. After a while I detected that there was no debug configuration available but I suppose at the beginning thus after "installation" (in fact to copy it) I had 4 debug configurations (menu -> Run -> External Tools -> External Tools Configurations), but now they are all gone. So I manually made a configuration, which worked a little bit but in general it was not useable. Yesterday I saw, that this configuration is also gone. The only goal I got was to compile the project, whether flashing nor debugging was possible.
For me to compare what I should expect is shown here: https://wiki.ugfx.io/index.php/Using_Ch ... ng_OpenOCD
The first image in section 'Configuring OpenOCD' shows different configurations. (https://wiki.ugfx.io/index.php/File:Openocd-config.png)
I made a screenshot about the missing configurations.
Now I tried to install ChibiStudio (Preview 20) at the second computer. At first I installed the preview 20 version, after starting up I got the message that Java has to be installed. Ok, I installed at first Java 32-bit and afterwards the Java 64-bit release as advised somewhere here. Now ChibiStudio starts up and I've imported the project into the workspace (with copying files into that workspace). Then I immediately got a red exclamation mark at the directory structure of this project and below there's the following error message shown: Can not find 'gcc' in path (or similar). And there was a second error message given by make: No rule to make target os/somewhere/inside/ChibiOS/rules.mk: file not found.
On both computers I've admin rights, the second one runs due to EtherCAT-master capabilities (real time extension) in test-mode. On both computer I can make a connection with ST-Link to the STM32F303 Nucleo board and flash/erase it, no problem at all. But with ChibiStudio I'm currently really unhappy due to several different error messages and the disappearing configuration. Is something went wrong during installation or are they interferences? Have all these problems a typical Windows 10 background? And if so, what could be a solution?
BTW, here are some error messages I got during the past days, thanks to the browser tabs which are currently still open.
> You can't do that when your target is `None' ... The program is not being run. (OpenOCD?)
> Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
> Error creating session Cannot run program "gdb": Launching failed
> embedded:startup.tcl:60: Error: Can't find board/stm32f3discovery.cfg
> monitor command not supported by this target.
> Error with command: gdb --version
> Target request failed: The program is not being run.
It would be very very nice if we can solve this problem.