At Silicon Labs we highly value your feedback and always strive for improvement. Please share your experiences with our IoT development tools by filling out our short survey.
Your feedback will help us focus our improvements to serve you better, and it should take less than five minutes of your time.
1. Clarify to yourself what the specific issue is.
2. Apply basic troubleshooting:
Verify STK switch position
Check hardware connections with multimeter
Swap USB cables and ports
Change the compiler optimizations in the [Project Properties] to a minimal optimization level, especially when debugging the program. For the GNU ARM toolchain the setting should be one of 'None (-O0)', 'Optimize for debugging (-Og)' or 'Optimize (-O1)'. For the Keil C8051 compiler setting it to '2: Data overlaying' is a good option.
3. For installation issues review these two Knowledge Base Articles (KBAs):
5. Search to see if someone has asked the same question already.
6. Include the relevant parts of your development setup in the problem description. Examples include:
Simplicity Studio version from [Help] -> [About]
Wirelesss Protocol and/or Product Family
SDK version
Part number
Radio board vs custom hardware
Host OS
Compiler and compiler version
7. Include steps to reproduce the problem or specific conditions when the issue is observed.
8. Does switching to a new workspace resolve the issue? ([File] -> [Switch Workspace] -> [Other...])
9. Consider providing Simplicity Studio logs
If you think the Simplicity Studio logs would be helpful in troubleshooting the issue
then consider opening a support case ( Create a Support Case ) instead of creating a forum post.
The logs can be generated with [Help] > [Report Bug...] make sure "Export Simplicity Studio log files" is selected, then hit [Next], pick a location to store the zip file and rename it if you want, then hit [Next] again and [Finish] and upload the resulting zip file to the support case.
The support case is suggested because the zip file can be large and also for privacy. The logs do not contain confidential information, but it is possible to see project names and filenames in some of the logs.
10. Be patient and avoid making duplicates of your question.
EDIT: changed topic to reflect that this issue apparently also affects some Ubuntu users, see replies by Z Wheeler below.
I've tried to use Simplicity Studio on my laptop running debian sid, as well as inside the debian stretch (9) container I've made for Simplicity Studio v4 (which doesn't work in later releases). All packages listed in setup.sh exist in both releases (except "wine32" should be "wine32:i386", even on Ubuntu) and I've installed them in both environments. The debian stretch container also has all the packages that were needed to get Simplicity Studio v4 working. In both environments I run into essentially the same roadblock.
After the splash screen, the workspace window looks normal (albeit barren, but this is expected with no tools installed yet). On top of this I get a modal dialog box which is completely empty. This is accompanied by the following log message:
I've tried resizing the dialog box to see if that would convince it to render any content, but it does not. After dismissing the empty dialog box using the escape key the behaviour differs between debian sid and stretch. On sid I get the following log messages and Simplicity Studio exits:
DRR: onWebSocketClose CALLED statusCode=1001 reason=null
com.silabs.ss.platform.internal.device.ui.servlet.DevicesWebSocketCreator$1: onWebSocketClose CALLED statusCode=1001 reason=null
id: helpContents
id: com.silabs.ss.tool.launcher.ui.licensing.menu
id: additions
id: org.eclipse.equinox.p2.ui.sdk.update
id: org.eclipse.equinox.p2.ui.sdk.install
id: com.silabs.ss.tool.launcher.ui.setuptask.command
id: com.silabs.ss.tool.launcher.ui.regkit.command
id: com.silabs.ss.tool.launcher.ui.doc.properties.command
id: com.silabs.ss.tool.launcher.ui.bugreport.command
id: com.silabs.ss.tool.launcher.toolbar.updatesCommand
id: com.silabs.ss.tool.launcher.ui.offline.command
id: null
id: about
com.silabs.ss.platform.internal.device.ui.servlet.DevicesWebSocketCreator$1: onWebSocketClose CALLED statusCode=1001 reason=null
DRR: onWebSocketClose CALLED statusCode=1001 reason=null
DRR: onWebSocketClose CALLED statusCode=1001 reason=null
2021-01-18 18:49:16.280:INFO:oejs.session:Framework stop: node0 Stopped scavenging
On stretch I get the following log messages and Simplicity Studio continues to run:
Exception in thread "TeamDev API access" java.lang.NullPointerException
at com.silabs.ss.support.browser.api.html.jxbrowser.JxBrowserService.lambda$33(JxBrowserService.java:436)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
id: helpContents
id: com.silabs.ss.tool.launcher.ui.licensing.menu
id: additions
id: org.eclipse.equinox.p2.ui.sdk.update
id: org.eclipse.equinox.p2.ui.sdk.install
id: com.silabs.ss.tool.launcher.ui.setuptask.command
id: com.silabs.ss.tool.launcher.ui.regkit.command
id: com.silabs.ss.tool.launcher.ui.doc.properties.command
id: com.silabs.ss.tool.launcher.ui.bugreport.command
id: com.silabs.ss.tool.launcher.toolbar.updatesCommand
id: com.silabs.ss.tool.launcher.ui.offline.command
id: null
id: about
The resulting environment is mostly useless however since no tools are installed. Clicking the Install button results in a normal-looking progress dialog while it's checking for installation options, but then it again shows an empty dialog box. Dismissing this one using escape results in the following log messages:
Exception in thread "pool-8-thread-2" java.lang.NullPointerException
at com.silabs.ss.support.browser.api.html.jxbrowser.JxBrowserService.lambda$33(JxBrowserService.java:436)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Here's an inventory of some actions I've tried and their results:
File menu -> only has Exit and Switch Workspace
Help menu -> License Manager: empty dialog box
Help menu -> Show Active Keybindings: works normally
Help menu -> Update Software: empty dialog box
Help menu -> About Simplicity Studio: does nothing
Is there a way to just download the Gecko SDK directly? I think that's the only part of Simplicity Studio that I currently use anyway since I really don't like using Eclipse, so I build from the commandline and use openocd+gdb for debugging.
I got the error below when trying to program one of my dev boards, I have other boards that works fine.
How can I fix that error?
Device
Board Name: Thunderboard EFR32BG22
MCU Name: EFR32BG22C224F512IM40 Error while reading 64 bytes from 0x00015fc0 Could not get MCU info, some functions may not function properly.
Adapter
Name: J-Link Silicon Labs (440167694)
-----
Update 1:
I clicked on "Unlock Debug" and now I can re-program the board with other projects.
For test I'm programming the Demo project "Bluetooth - SoC Thunderboard EFR32BG22 (BRD4184A)" but the board doesn't came up on "EFR Connect" app
-----
Update 2:
After performing a full-erase on the chip and then re-programming the desired software I had to wait about 10~15 seconds to be able to see the BT show up on the "EFR Connect", after BT detected for the 1st it detects on next tries within 1 second.
When I open a C example code (blinking) for MCU C8051F38x from simplicity studio and compile this example code I have no error and it compile correctly.
I wanted to add U8 and U16 variable in this C example code and I got error C129
I think that the compiler don't know what is U8 and U16...
But in some other C code that I created long time ago, I know that all my C code compiled with U8 and U16 var.
I will try to describe my problem with a example, I will use the blinking example C code provided by simplicity studio for MCU C8051F38x :
When I create a new blinking example C code, and, I change nothing, it compile correctly.
After, I add variable "U8 tmp = 5;" for example, I try to compile and I got compilation error.
When I replace "U8 tmp = 5;" by "uint8_t tmp = 5;", I try to compile and it compile correctly.
When I want to add for example variable "U16 tmp = 10;" I have compilation error too.
I'm working on a BGAPI UART-DFU-Botloader project. I'm using Hardware configurator to edit the custom_efr32xxxxxxxxxxxxxx.hwconf file, using another .hwconf file as a reference.
In the reference file, I have a line as given below, which I'm not able to replicate in my .hwconf file.
I'm using Simplicity studio 5 . and I use "installation manager/install by connecting devices" to get tool which I want。 My SDK is EFR32xG22 2.4 GHz 6 dBm RB, WSTK Mainboard , system is win10 64bit . when I started installation, it worked for a few minutes ,then it stopped at "Installing com.silabs.sdk.gecko_platform.v3.1.feature.feature.group" and can't continue. why?
I've designed a custom PCB using the EFM32TG11 processor.
I'm able to flash the processor with the "Micrium OS Blink" example and it works correctly. However I would like to use the pin tool in order to define the peripherals that I'm using for each of the pins.
If I convert the project to a Configurable Project (slcp) then I can access the pin tool, but the project no longer builds (even if I dont change anything).
I've read through the user guides (Start a Project - v1.0 - Simplicity Studio API Documentation Silicon Labs (silabs.com)) and the pictures seem to suggest that creating a new project should produce a .slcp file (without needing to convert the project to a configurable project), but this isn't what happens for me when I follow the instructions.
What is the correct workflow to generate a new Micrium OS project for custom hardware?
I'm using energy profiler at simplicity studio 4 .but it work bad. It is easy to hang up and can't be resume. when it is hang up ,I can't close simplicty studio 4 too. I must use task-manager of win 10 to close simplicty studio 4 . only I close simplicty studio 4 and open it , and open energy profiler, energy profiler can be use again. what reason?
Is there any way to pass chosen defined-symbols to C compiler on CLI when using BuildExistingProject_v2.py so that CI can automatically build 2 flavors with OPTION1=1 (w/ sequence A) and not (w/ sequence B) with the C code like below?
#if OPTION1
// Run sequence A
#else
// Run sequence B
#endif
I know symbols can be defined for C compiler on Simplicity Studio GUI , but I want to know how to pass defined symbols dynamically for every single headless build (probably with "-D" option).
However, under "Use this reference source" I could only find "Version on disk" as the available option. Do you know what I need to do so "A Git Revision" can be selected instead?
For version control, I currently navigate to the project folder and Git Bash there to manage the changes.
When I installed Simplicity Studio, I successfully logged in for the first time, but the software prompted me to log in again, otherwise I would not have permission to access the SDK. But the login interface can't come out, just like the following, what's the matter? I installed it in a virtual machine.There is no problem with the network and you can go online.No anti-virus software installed. The firewall is also turned off.
Forum
Survey: Share your development experience with us
At Silicon Labs we highly value your feedback and always strive for improvement. Please share your experiences with our IoT development tools by filling out our short survey.
Your feedback will help us focus our improvements to serve you better, and it should take less than five minutes of your time.
Enter the survey here: https://www.surveymonkey.com/r/SLIOTDXC
Regards,
IoT Development Team
Tips for troubleshooting and asking questions
1. Clarify to yourself what the specific issue is.
2. Apply basic troubleshooting:
3. For installation issues review these two Knowledge Base Articles (KBAs):
Configuring Simplicity Studio to Work with Proxy Servers
Installing SSL Security Certificates for Simplicity Studio Updates
4. Consult the quick start guides and user guides. Sources include:
5. Search to see if someone has asked the same question already.
6. Include the relevant parts of your development setup in the problem description. Examples include:
7. Include steps to reproduce the problem or specific conditions when the issue is observed.
8. Does switching to a new workspace resolve the issue? ([File] -> [Switch Workspace] -> [Other...])
9. Consider providing Simplicity Studio logs
If you think the Simplicity Studio logs would be helpful in troubleshooting the issue
then consider opening a support case ( Create a Support Case ) instead of creating a forum post.
The logs can be generated with [Help] > [Report Bug...] make sure "Export Simplicity Studio log files" is selected, then hit [Next], pick a location to store the zip file and rename it if you want, then hit [Next] again and [Finish] and upload the resulting zip file to the support case.
The support case is suggested because the zip file can be large and also for privacy. The logs do not contain confidential information, but it is possible to see project names and filenames in some of the logs.
10. Be patient and avoid making duplicates of your question.
For general community usage please refer to the Silicon Labs Community Guidelines.
unable to use Simplicity Studio v5 on ubuntu/debian
EDIT: changed topic to reflect that this issue apparently also affects some Ubuntu users, see replies by Z Wheeler below.
I've tried to use Simplicity Studio on my laptop running debian sid, as well as inside the debian stretch (9) container I've made for Simplicity Studio v4 (which doesn't work in later releases). All packages listed in setup.sh exist in both releases (except "wine32" should be "wine32:i386", even on Ubuntu) and I've installed them in both environments. The debian stretch container also has all the packages that were needed to get Simplicity Studio v4 working. In both environments I run into essentially the same roadblock.
After the splash screen, the workspace window looks normal (albeit barren, but this is expected with no tools installed yet). On top of this I get a modal dialog box which is completely empty. This is accompanied by the following log message:
I've tried resizing the dialog box to see if that would convince it to render any content, but it does not. After dismissing the empty dialog box using the escape key the behaviour differs between debian sid and stretch. On sid I get the following log messages and Simplicity Studio exits:
On stretch I get the following log messages and Simplicity Studio continues to run:
The resulting environment is mostly useless however since no tools are installed. Clicking the Install button results in a normal-looking progress dialog while it's checking for installation options, but then it again shows an empty dialog box. Dismissing this one using escape results in the following log messages:
Here's an inventory of some actions I've tried and their results:
Is there a way to just download the Gecko SDK directly? I think that's the only part of Simplicity Studio that I currently use anyway since I really don't like using Eclipse, so I build from the commandline and use openocd+gdb for debugging.
How to write delay function in simplicity studio. Can someone provide a code using assembly or C language?
Error when trying to program a Thunderboard Kit using Simplicity Studio 5 and then no working Bluetooth
I got the error below when trying to program one of my dev boards, I have other boards that works fine.
How can I fix that error?
Device
Board Name: Thunderboard EFR32BG22
MCU Name: EFR32BG22C224F512IM40
Error while reading 64 bytes from 0x00015fc0 Could not get MCU info, some functions may not function properly.
Adapter
Name: J-Link Silicon Labs (440167694)
-----
Update 1:
I clicked on "Unlock Debug" and now I can re-program the board with other projects.
For test I'm programming the Demo project "Bluetooth - SoC Thunderboard EFR32BG22 (BRD4184A)" but the board doesn't came up on "EFR Connect" app
-----
Update 2:
After performing a full-erase on the chip and then re-programming the desired software I had to wait about 10~15 seconds to be able to see the BT show up on the "EFR Connect", after BT detected for the 1st it detects on next tries within 1 second.
U8 U16 variable make compilation error C129
Dear all,
When I open a C example code (blinking) for MCU C8051F38x from simplicity studio and compile this example code I have no error and it compile correctly.
I wanted to add U8 and U16 variable in this C example code and I got error C129
I think that the compiler don't know what is U8 and U16...
But in some other C code that I created long time ago, I know that all my C code compiled with U8 and U16 var.
I will try to describe my problem with a example, I will use the blinking example C code provided by simplicity studio for MCU C8051F38x :
When I create a new blinking example C code, and, I change nothing, it compile correctly.
After, I add variable "U8 tmp = 5;" for example, I try to compile and I got compilation error.
When I replace "U8 tmp = 5;" by "uint8_t tmp = 5;", I try to compile and it compile correctly.
When I want to add for example variable "U16 tmp = 10;" I have compilation error too.
What can be the problem ?
Why U8 and U16 is an error for this C compiler ?
Is U8 and uint8_t same/equivalent ?
Regards,
Nikola
How to enable a pin through Hardware Configurator in Simplicity Studio?
Hi All,
I'm working on a BGAPI UART-DFU-Botloader project. I'm using Hardware configurator to edit the custom_efr32xxxxxxxxxxxxxx.hwconf file, using another .hwconf file as a reference.
In the reference file, I have a line as given below, which I'm not able to replicate in my .hwconf file.
<property object="PF0" propertyId="ABPeripheral.included" value="true"/>
Please guide me on how to add the above property to the custom_efr32xxxxxxxxxxxxxx.hwconf using the Hardware Configurator.
Thanks,
Vaishnavi
install by connecting devices
I'm using Simplicity studio 5 . and I use "installation manager/install by connecting devices" to get tool which I want。 My SDK is EFR32xG22 2.4 GHz 6 dBm RB, WSTK Mainboard , system is win10 64bit . when I started installation, it worked for a few minutes ,then it stopped at "Installing com.silabs.sdk.gecko_platform.v3.1.feature.feature.group" and can't continue. why?
Generating a Configurable Project for custom EFM32TG11 hardware
I've designed a custom PCB using the EFM32TG11 processor.
I'm able to flash the processor with the "Micrium OS Blink" example and it works correctly. However I would like to use the pin tool in order to define the peripherals that I'm using for each of the pins.
If I convert the project to a Configurable Project (slcp) then I can access the pin tool, but the project no longer builds (even if I dont change anything).
I've read through the user guides (Start a Project - v1.0 - Simplicity Studio API Documentation Silicon Labs (silabs.com)) and the pictures seem to suggest that creating a new project should produce a .slcp file (without needing to convert the project to a configurable project), but this isn't what happens for me when I follow the instructions.
What is the correct workflow to generate a new Micrium OS project for custom hardware?
Regards,
Errol
energy profiler is easy to hang up and can't be resume
How to pass defined symbols to C compiler for headless builds
Hi,
We're running CI builds based on "AN1121: Headless Builds with Simplicity Studio v4" like below.
Is there any way to pass chosen defined-symbols to C compiler on CLI when using BuildExistingProject_v2.py so that CI can automatically build 2 flavors with OPTION1=1 (w/ sequence A) and not (w/ sequence B) with the C code like below?
I know symbols can be defined for C compiler on Simplicity Studio GUI , but I want to know how to pass defined symbols dynamically for every single headless build (probably with "-D" option).
Relative paths or Workspace paths in "Other objects"
Using Simplicity Studio SV4.1.13.9
I'd like to use a Workspace relative path in "Other objects"
"./BL652/autorun.o" doesn't work.
${workspace_loc:/${ProjName}/BL652/autorun.o} fails at the link stage with:
Difference in 2 projects containing same code
Hi All,
I have a task in which I need to
1. create a project
2. replace few files so that the code matches the original code (but .cproject file of the projects is different)
3. build the project to generate .s37
But when a file comparison is done on the resultant .s37 binary with the original .s37 binary, both are not same.
Is this expected behavior, if so, will this affect the functionality of the resultant binary?
Thanks a lot,
Vaishnavi
Quick Diff on Simplicity Studio 5 with Git Commit as Reference
Hello,
I would like the Simplicity Studio 5 IDE to show the current changes compared to the code committed in git (within the same branch). After doing some quick search I found this link:
https://www.systutorials.com/how-to-make-eclipse-to-highlight-changed-lines-compared-to-git-commit/
However, under "Use this reference source" I could only find "Version on disk" as the available option. Do you know what I need to do so "A Git Revision" can be selected instead?
For version control, I currently navigate to the project folder and Git Bash there to manage the changes.
Thank you all in advance for helping!
simplicity studio sign in has a problem