This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger Studio crashing, looking for alternatives

Hi All,

we were tasked by a customer to develop software for the nRF52840 and they recommended to use segger embedded studio. We downloaded it from the Nordic web site, installed it, started it and...... opened up fine. So far so good.

Now we were trying examples from the sdk17 and segger studio has been crashing on numerous occasions. Sometimes when compiling, now recently just when opening an example project file. Crashing as in seeing a microsoft style pretty much useless window telling you segger studio had to close. No further information, core dump, error log etc. (at least not that I'm aware of).

My question now: is this normal and to be expected? Or should it be running rock solid? I admit software crashing seems to be acceptable in the microsoft world but certainly not on other operating systems I worked on in the past. At the moment we are using RHEL 7.

Are there other debuggers available apart from the segger software that works well with the Nordic software and libraries? We will build the software and program from the command line anyway short term but occasionally we would require a debugger; jlink probe is not a must I believe.

Comments, advice, hints etc. welcome.

Kind Regards,

Parents
  • Hi Terje,

    thank you for your reply, so the problem must be with the Linux version.

    I do not know what older versions are doing, I simply downloaded the latest from the Nordic Website. It is V4.52c. Maybe they let it crash because they did not detect a commercial license? When I click on "Activate your free license" for Nordic parts nothing happens.

    I will have a look at the other j-link tools but I think I did not see a separate debugger there any more. As far as I remember segger offered that separately at some stage but it seems they put everything now into their studio software.

    I saw the jlink gdb server executable; we may try this with an old open source stand alone debugger we have.

    Their nRF Connect (which we would have liked to use) is not working either. Starting it gives a chrome-sandbox (chrome as in google chrome spyware?) error message, with --no-sandbox option I get the Nordic logo and then an empty window. Nothing else. In fairness they say it works with a particular Ubuntu version so you cannot really expect the stuff to work with any Linux system. Too many around at this stage; the curse of the open source community reinventing the wheel.

    Kind Regards,

  • Hi,

    nRF Connect for Desktop is actually developed by us, in-house, so I can have a talk with the developers. It is based on node.js, hence the built-in web browser, as is not unusual in today's day and age. If you get a blank window, sometimes reloading (ctrl + r) solves the issue.

    Regards,
    Terje

  • Hi Terje,

    pressing Ctrl-R makes the window go white for a split second and then its back to the nice light blue colour:

    Apart from minimising and maximising there is not much happening. Does it require internet connection? Computer runs offline. I'd say don't waste any time on this if it works fine for all the other users. I have an embedded BLE board here with some handknit software running on the computer which makes a fine client, so that will do.

    Here the screen when segger studio refuses to work but as I said already nothing related to the underlying problem in it:

    Kind Regards,

Reply
  • Hi Terje,

    pressing Ctrl-R makes the window go white for a split second and then its back to the nice light blue colour:

    Apart from minimising and maximising there is not much happening. Does it require internet connection? Computer runs offline. I'd say don't waste any time on this if it works fine for all the other users. I have an embedded BLE board here with some handknit software running on the computer which makes a fine client, so that will do.

    Here the screen when segger studio refuses to work but as I said already nothing related to the underlying problem in it:

    Kind Regards,

Children
  • Hi,

    nRF Connect for Desktop is a platform for several tools/applications, and those "apps" are fetched over the Internet, so yes, no Internet connection may lead to issues. It should run fine once installed, except for you not getting any new updates.

    Regarding the SES issues I am sure Segger would welcome the automated error report with your added description, although I suspect that would need an Internet connection as well, for sending the report in.

    Do you have a similar setup on a machine connected to the Internet, so that Internet connection (or rather lack thereof) can be ruled out as an error source, for both SES and nRF Connect for Desktop?

    Regards,
    Terje

  • Hi Terje,

    all work computers are not on the internet, so it looks as if we cannot use nRF Connect nor can we send an error report to Segger.  So be it; nothing I can do about that. Software designers nowadays seem to assume internet connection is always present.

    Wrt to the Segger software crashing: it seems to happen when deleting or adding projects. Once you don't do that it seems to be fairly well behaved; have not seen any crashes since.

    I think we should file that under "unexplained software phenomenon" and close this thread.

    Kind Regards,

    p.s.: what's the matter with your web software? One email would be enough...

Related