Proxy configuration for CMSIS-Pack download

Technical Note 171003

Arkitekturer:

ARM

Komponent:

general

Uppdaterad:

2020-09-02 14:22

Introduction

Since version 8.30 of our IAR Embedded Workbench for Arm the CMSIS Manager has a tab under Preferences > General > Network Connections where proxy settings can be set more comfortably.

This technical note describes how to configure web proxies for CMSIS-Pack installation in IAR Embedded Workbench for Arm between version 8.10 -- 8.22.

Discussion

The CMSIS-Pack installer cannot use the operating systems proxy configuration, and requires that you add this information manually to the eclipse.ini file. This file is normally installed in:

C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\common\CMSIS-Manager

Proxy hosts and ports configuration can be added after the lines:

-vm
features/com.iar.cmsisagent.jre.win32_1.0.0/jre/bin

 The available options are:

-Dhttp.proxyHost= (default: <none>)

The hostname, or address, of the proxy server.

-Dhttp.proxyPort= (default: 80)

The port number of the proxy server.

-Dhttp.nonProxyHost= (default: localhost|127.*|[::1])

Indicates the hosts that should be accessed without going through the proxy. Typically this defines internal hosts. The value of this property is a list of hosts, separated by the | (pipe) character. In addition, the wildcard character * can be used for pattern matching.

For example, this line

 -Dhttp.nonProxyHosts="*.foo.com|localhost"

indicates that every host in the foo.com domain and the localhost should be accessed directly, even if a proxy server is specified.

The default value excludes all common variations of the loopback address.

-Dhttps.proxyHost= (default: <none>)
-Dhttps.proxyPort= (default: 443)
-Dhttps.nonProxyHost= The HTTPS protocol handler will use the same nonProxyHosts property as the HTTP protocol

 

Notice that the property java.net.useSystemProxies has no effect.

References:

https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html

Conclusion

The CMSIS-Pack installer does not use the operating system’s normal proxy settings. If a proxy is needed, it requires manual configuration of the eclipse.ini file.

All product names are trademarks or registered trademarks of their respective owners.

Det här innehållet finns tyvärr inte på svenska.

Vår webbplats finns främst på vårt koncernspråk engelska, förutom det innehåll för investerare som vi är lagstadgade att kommunicera på svenska. Vi rekommenderar att du besöker vår globala webbplats på engelska för att få en bättre upplevelse.

Vi stöder inte längre Internet Explorer. För att få bästa möjliga upplevelse av iar.com rekommenderar vi att du uppgraderar till en modern webbläsare som Chrome eller Edge.