Package Details: stm32cubeprog 2.17.0-1

Git Clone URL: https://aur.archlinux.org/stm32cubeprog.git (read-only, click to copy)
Package Base: stm32cubeprog
Description: An all-in-one multi-OS software tool for programming STM32 products.
Upstream URL: https://www.st.com/en/development-tools/stm32cubeprog.html
Keywords: programmer stm32
Licenses: custom:SLA0048
Provides: stm32cubeprogrammer
Submitter: yjun
Maintainer: taotieren (GPereira, akumaexs, CloverGit)
Last Packager: CloverGit
Votes: 8
Popularity: 0.035195
First Submitted: 2021-01-15 20:39 (UTC)
Last Updated: 2024-09-07 14:58 (UTC)

Dependencies (7)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

MacroController commented on 2022-06-22 15:04 (UTC)

I've got a build failure when I try to update:

            Failed creating new xdo instance
            ==> ERROR: A failure occurred in build().
                Aborting...
            Command line arguments: 
            Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':99' as the value of the DISPLAY variable.
                at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
                at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
                at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:264)
                at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
                at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
                at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:132)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:264)
                at java.awt.Toolkit$2.run(Toolkit.java:860)
                at java.awt.Toolkit$2.run(Toolkit.java:855)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
                at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:611)
                at com.izforge.izpack.installer.container.provider.GUIInstallDataProvider.loadLookAndFeel(GUIInstallDataProvider.java:168)
                at com.izforge.izpack.installer.container.provider.GUIInstallDataProvider.provide(GUIInstallDataProvider.java:96)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
                at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
                at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
                at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
                at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
                at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
                at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
                at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
                at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
                at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
                at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
                at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
                at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
                at com.izforge.izpack.installer.container.impl.InstallerContainer.resolveComponents(InstallerContainer.java:139)
                at com.izforge.izpack.installer.container.impl.GUIInstallerContainer.resolveComponents(GUIInstallerContainer.java:88)
                at com.izforge.izpack.installer.container.impl.InstallerContainer.fillContainer(InstallerContainer.java:80)
                at com.izforge.izpack.core.container.AbstractContainer.initialise(AbstractContainer.java:304)
                at com.izforge.izpack.core.container.AbstractContainer.initialise(AbstractContainer.java:284)
                at com.izforge.izpack.installer.container.impl.GUIInstallerContainer.<init>(GUIInstallerContainer.java:38)
                at com.izforge.izpack.installer.bootstrap.InstallerGui.run(InstallerGui.java:54)
                at com.izforge.izpack.installer.bootstrap.Installer.launchInstall(Installer.java:294)
                at com.izforge.izpack.installer.bootstrap.Installer.start(Installer.java:238)
                at com.izforge.izpack.installer.bootstrap.Installer.main(Installer.java:78)

xiretza commented on 2022-06-21 05:54 (UTC)

Please add fontconfig and gsfonts as makedepends as already mentioned by @justinkb.

justinkb commented on 2022-05-12 11:30 (UTC)

Missing two make dependencies, namely fontconfig and gsfonts

The build fails in a chroot environment without those present, due to java giving a NPE because it can't find fonts

<deleted-account> commented on 2022-04-25 09:40 (UTC)

For the Failed creating new xdo instance, putting in a wait for the xvfb server to start resolves the problem for me. I put it at 10s, and it worked. I have not tried any smaller values, but 0s fails.

Replace

xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" -w 0 ./${pkgname}.xvfb

with

xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" -w 10 ./${pkgname}.xvfb

mnhunter commented on 2022-03-08 11:33 (UTC) (edited on 2022-03-08 11:35 (UTC) by mnhunter)

not build

 please wait for minutes ......

Failed creating new xdo instance
Command line arguments: 
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':101' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)...
..........

OS - manjaro, pamac. over yay - same thing. After entering $export DISPLAY=:100 the "...server using:101" - incremental count and not solved.

arilink commented on 2022-03-07 11:29 (UTC)

@yjun When will you be online, looking forward to your help

arilink commented on 2022-02-28 03:31 (UTC)

Is there any developer of stm32cubeprog, I have some problems when trying to call stm32cubeprog.dll and need help from developers

serh commented on 2022-01-15 11:04 (UTC)

Looks like en.stsw-link007-v3-9-3.zip fails the checksum check again, but the version is unchanged.

The new sha256 is: 3452ad87ddb2b0e9b8be30603ed70fb886310d1398afabfd7d3f2bff94ee28d9

yjun commented on 2021-12-08 08:09 (UTC)

@Seas0 Thanks! done.

Seas0 commented on 2021-12-08 03:35 (UTC) (edited on 2021-12-08 03:36 (UTC) by Seas0)

Just apply this patch(it updates stlink updater file name and checksum, and bumps its version to 3.9.3):

diff --git a/.SRCINFO b/.SRCINFO
index f23acbc..95ae791 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = stm32cubeprog
    pkgdesc = An all-in-one multi-OS software tool for programming STM32 products.
    pkgver = 2.9.0
-   pkgrel = 3
+   pkgrel = 4
    url = https://www.st.com/en/development-tools/stm32cubeprog.html
    arch = x86_64
    license = custom:SLA0048
@@ -13,10 +13,10 @@ pkgbase = stm32cubeprog
    provides = stm32cubeprogrammer
    options = !strip
    source = en.stm32cubeprg-lin_v2-9-0.zip::https://www.st.com/content/ccc/resource/technical/software/utility/group0/af/f8/e3/60/56/b9/42/9d/stm32cubeprg-lin_v2-9-0/files/stm32cubeprg-lin_v2-9-0.zip/jcr:content/translations/en.stm32cubeprg-lin_v2-9-0.zip
-   source = en.stsw-link007_V2-38-27.zip::https://st.com/content/ccc/resource/technical/software/firmware/group1/4e/80/8d/29/e0/c7/4e/13/stsw-link007_V2-38-27/files/stsw-link007_V2-38-27.zip/jcr:content/translations/en.stsw-link007_V2-38-27.zip
+   source = en.stsw-link007-v3-9-3.zip::https://www.st.com/content/ccc/resource/technical/software/firmware/group1/16/ac/ae/04/0b/01/42/5a/stsw-link007-v3-9-3/files/stsw-link007-v3-9-3.zip/jcr:content/translations/en.stsw-link007-v3-9-3.zip
    source = stm32cubeprog.xdotool
    sha256sums = 53b3648bd0297330b4e82eaba80d69d9fa50ac8e57a41c32d00ac32ca77ccad9
-   sha256sums = bb0c1849aa26fac956618c07cb81e29c68676d28ae630ce7a2498968dcfef33e
+   sha256sums = 56666bd0985fa403008b0a88194266a92dcf346232fa0f4de8a9d072bee62318
    sha256sums = 3194268b73572c4e0fb69e51145f989e85c0415d1c2d932d115708b0c514b005

 pkgname = stm32cubeprog
diff --git a/PKGBUILD b/PKGBUILD
index 4d0c446..e5e1f6a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
 pkgname="stm32cubeprog"
 _pkgname="STM32CubeProgrammer"
 pkgver=2.9.0
-_stlink_updater_ver=2.38.27
-pkgrel=3
+_stlink_updater_ver=3.9.3
+pkgrel=4
 pkgdesc="An all-in-one multi-OS software tool for programming STM32 products."
 arch=('x86_64')
 url="https://www.st.com/en/development-tools/stm32cubeprog.html"
@@ -32,17 +32,18 @@ provides=("${pkgname}rammer")
 options=('!strip')
 _pkg_main_name="${pkgname//prog/prg}-lin_v${pkgver//./-}"
 _pkg_main_url_index="af/f8/e3/60/56/b9/42/9d"
-_stlink_updater_name="stsw-link007_V${_stlink_updater_ver//./-}"
-_stlink_url_index="4e/80/8d/29/e0/c7/4e/13"
+_stlink_updater_name="stsw-link007-v${_stlink_updater_ver//./-}"
+_stlink_url_index="16/ac/ae/04/0b/01/42/5a"
 # stm32cubeprog
 ## https://www.st.com/content/st_com_cx/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stm32cubeprog/_jcr_content/get-software/get-software-table-body.nocache.html/st-site-cx/components/containers/product/get-software-table-body.html
 # stsw-link007
 ## https://www.st.com/content/st_com_cx/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link007/_jcr_content/get-software/get-software-table-body.nocache.html/st-site-cx/components/containers/product/get-software-table-body.html
+
 source=("en.${_pkg_main_name}.zip::https://www.st.com/content/ccc/resource/technical/software/utility/group0/${_pkg_main_url_index}/${_pkg_main_name}/files/${_pkg_main_name}.zip/jcr:content/translations/en.${_pkg_main_name}.zip"
-        "en.${_stlink_updater_name}.zip::https://st.com/content/ccc/resource/technical/software/firmware/group1/${_stlink_url_index}/${_stlink_updater_name}/files/${_stlink_updater_name}.zip/jcr:content/translations/en.${_stlink_updater_name}.zip"
+        "en.${_stlink_updater_name}.zip::https://www.st.com/content/ccc/resource/technical/software/firmware/group1/${_stlink_url_index}/${_stlink_updater_name}/files/${_stlink_updater_name}.zip/jcr:content/translations/en.${_stlink_updater_name}.zip"
         "${pkgname}.xdotool")
 sha256sums=('53b3648bd0297330b4e82eaba80d69d9fa50ac8e57a41c32d00ac32ca77ccad9'
-            'bb0c1849aa26fac956618c07cb81e29c68676d28ae630ce7a2498968dcfef33e'
+            '56666bd0985fa403008b0a88194266a92dcf346232fa0f4de8a9d072bee62318'
             '3194268b73572c4e0fb69e51145f989e85c0415d1c2d932d115708b0c514b005')

 prepare() {