Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Problem while installing updates

Hi,

While installing updates inside Eclipse I receive the following error:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,fr.ac6.mcu.ide,1.13.1.201701200843.
MD5 hash is not as expected. Expected: c5bc79471141e66d1cc4a656dee72979 and found 92cc574f4e0e1dadcd193a30b063be7b.

To try to workarround this problem I installed Eclipse updates first and then STM32 updates (as suggested) but I did not suceeded.

I’m using WIndows 7 and System Workbench for STM32 - OpenOCD (for Windows 32bits) Version: 1.13.1.201701200843

Here is some ideas that I would try in that situation:

  • Launch Eclipse with -Declipse.p2.mirrors=false argument and try to update again
    $ eclipse -vmargs -Declipse.p2.mirrors=false
  • Remove the Eclipse cache folder (~/.eclipse) and try to update again
  • Otherwise check what goes wrong by browsing the log file (workspace/.metadata/.log)


Let us know wink

Thanks for your support.

I don’t know how to disable p2 mirror in Windows - eclipse is ignoring command line options. I tried to find such a p2 mirror in the list of Availbale Software Sites but I couldn’t find it. Inside eclipse.ini file there is “-vmargs” option.

I don’t know neither how to remove cache file/folder.

Last lines in log file are:

eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product

ENTRY org.eclipse.equinox.p2.engine 4 4 2017-02-01 17:17:14.610

MESSAGE An error occurred while collecting items to be installed

SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2017-02-01 17:17:14.610

MESSAGE session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2017-02-01 17:17:14.610

MESSAGE Problems downloading artifact: osgi.bundle,fr.ac6.mcu.ide,1.13.1.201701200843.

SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4 1203 2017-02-01 17:17:14.610

MESSAGE MD5 hash is not as expected. Expected: c5bc79471141e66d1cc4a656dee72979 and found 92cc574f4e0e1dadcd193a30b063be7b.

jsalvat wrote:
I don’t know how to disable p2 mirror in Windows - eclipse is ignoring command line options

AFAIK the JVM arguments are not listed within the log file, if you want to check that the option is really taken into account you have to look into the Configuration panel (Help > Installation Details > Configuration), near “eclipse.vmargs” line.

The options “-vmargs -Declipse.p2.mirrors=false” could either been set into the SystemWorkbench launcher properties by appending them to the “Target” path (see attached screenshot), or by starting eclipse.exe from the Windows batch (eclipse.exe -vmargs -Declipse.p2.mirrors=false)

jsalvat wrote:
I don’t know neither how to remove cache file/folder.

Simply delete the folder C:\Users\YOUR_ACCOUNT.eclipse

jsalvat wrote:
Last lines in log file are

Indeed the log will not help to understand better, I wondered to have some Java exceptions reported.


Thanks to you all for your responses.

The problem was due to false virus detection in the firewall.

BR,
Joan


 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs