Monday, May 21st 2018, 1:09pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

tosh

Beginner

Date of registration: May 13th 2016

Posts: 13

1

Wednesday, January 4th 2017, 5:20pm

[SOLVED] Ozone for Mac OSX crash

I noticed that recent Ozone releases for Mac OSX no longer able to load elf image. When I invoke "Download & Reset Program", it always crashes. :(

I found v2.22a works find, but v2.22b and later releases crash without any messages. My Mac OSX version is 10.12.2, J-Link version is 6.12d.

SEGGER - Niklas

Super Moderator

Date of registration: Oct 6th 2014

Posts: 1,691

2

Wednesday, January 4th 2017, 5:27pm

Hi,


I am currently working with Ozone 2.22k under macOS 10.12.2, so this seems not to be a generic issue.
Would it be possible for you to provide a .elf file for reproduction purposes'?

Best regards,
Niklas
Would you like to be added to the J-Link software update notification list, so you get informed automatically when a new version becomes available?
Just write me a PM or in case you want to subscribe to it yourself, please use this link: Link
Notification for J-Link, J-Link Debugger, SystemView & J-Scope: Link
Notification for Embedded Studio: Link

tosh

Beginner

Date of registration: May 13th 2016

Posts: 13

3

Thursday, January 5th 2017, 11:58am

Hi,

My target is STM32 Nucleo-L476RG board which is J-Link flashed. Please find attached zipped elf file.
I tested with Ozone v2.22k, but it crashed with this .elf.

I also experienced same problem with STM32F767 target, but I can't provide the .ELF for this target.

Regards,

Tosh
tosh has attached the following file:
  • UVCDisp.elf.zip (556.4 kB - 146 times downloaded - Last download: Today, 6:31am)

SEGGER - Alex

Super Moderator

Date of registration: Dec 18th 2007

Posts: 1,516

4

Monday, January 9th 2017, 6:34pm

Hi Tosh,

We were unsuccessful in reproducing the issue.
We will contact you regarding this issue via the e-mail address you registered with.
We will send you an unofficial version of Ozone that provides extended logging in this case.


Best regards
Alex

Avenue33

Beginner

Date of registration: Aug 9th 2016

Posts: 12

5

Friday, January 27th 2017, 8:56pm

I'm experiencing the same issue with Ozone v2.22m and Segger J-Link Edu on macOS Sierra 10.12.3 (16D32).

Installed J-Link is 612g.

Ozone crashes and quits when I click on any of the three Debug > Start Debugging options.

Everything works fine with JLinkGDBServer and arm-none-eabi-gdb against an ATSAM3X8E.

-device ATSAM3X8E
-if swd
-speed 4000

Please find the .elf file attached.

Ozone with the exact same project works fine on Windows 10.

Thank you for your help.
Avenue33 has attached the following file:

This post has been edited 3 times, last edit by "Avenue33" (Jan 27th 2017, 10:36pm)


SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 379

6

Monday, January 30th 2017, 10:01am

Hi,

Unfortunately no luck to reproduce the crash.

Could you create a log file from starting the debug session? (Call Project.SetJLinkLogFile("/Users/<UserName>/Desktop/JLink.log"); in your project)

Regards
Johannes

Avenue33

Beginner

Date of registration: Aug 9th 2016

Posts: 12

7

Tuesday, January 31st 2017, 12:19pm

Thank you for your answer. Please find the log file below.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TF4D4000 000:000 SEGGER J-Link V6.12f Log File (0000ms, 0000ms total)
TF4D4000 000:000 DLL Compiled: Jan 13 2017 16:40:56 (0000ms, 0000ms total)
TF4D4000 000:000 Logging started @ 2017-01-31 12:18 (0000ms, 0000ms total)
TB8B073C0 012:467 JLINK_DEVICE_GetIndex(sDeviceName = ATSAM3X8E)  returns 244 (0090ms, 0090ms total)
TB8B073C0 012:557 JLINK_DEVICE_GetInfo(DeviceIndex = 244)  returns 0 (0000ms, 0090ms total)
TB8B073C0 012:560 JLINK_DEVICE_GetIndex(sDeviceName = ATSAM3X8E)  returns 244 (0000ms, 0090ms total)
TB8B073C0 012:560 JLINK_DEVICE_GetInfo(DeviceIndex = 244)  returns 0 (0000ms, 0090ms total)
TB8B073C0 012:560 JLINK_DEVICE_GetInfo(DeviceIndex = 244)  returns 0 (0000ms, 0090ms total)
TB8B073C0 012:587 JLINK_DEVICE_GetInfo(DeviceIndex = 244)  returns 0 (0000ms, 0090ms total)
JLINK_GetpfGetInstInfo()  returns 0

TF4D4000 016:336 JLINK_EnableLog(...) (0000ms, 0090ms total)
TF4D4000 016:336 JLINK_SetErrorOutHandler(...) (0000ms, 0090ms total)
TF4D4000 016:336 JLINK_SetWarnOutHandler(...) (0000ms, 0090ms total)
TF4D4000 016:336 JLINK_Open()
Firmware: J-Link V9 compiled Dec 16 2016 15:34:10
Hardware: V9.40
S/N: 269401196
OEM: SEGGER-EDU
Feature(s): FlashBP, GDBWEBSRV Webserver running on local port 19080 (0013ms, 0103ms total)
TF4D4000 016:336   returns O.K. (0013ms, 0103ms total)
TF4D4000 016:349 JLINK_GetAvailableLicense()


I'm using a J-Link Edu. Does Ozone require another model?

This post has been edited 1 times, last edit by "Avenue33" (Jan 31st 2017, 1:42pm)


tosh

Beginner

Date of registration: May 13th 2016

Posts: 13

8

Wednesday, February 1st 2017, 4:09am

Ozone for Mac OSX crash


I'm using a J-Link Edu. Does Ozone require another model?

When I play with J-Link plus, Ozone works great. If I use J-Link for ST-LINK, I always encounter this problem.

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 379

9

Wednesday, February 1st 2017, 9:47am

Hi,

We found an issue regarding additional J-Link licenses, which could cause the crash on macOS and Linux.
Since J-Link PLUS already includes the license for Ozone, this combination does not crash.

The fix will be part of the upcoming release of the J-Link software.

Best regards
Johannes

Avenue33

Beginner

Date of registration: Aug 9th 2016

Posts: 12

10

Wednesday, February 1st 2017, 7:48pm

Thank you for the update.

I there a date for the release?

Avenue33

Beginner

Date of registration: Aug 9th 2016

Posts: 12

11

Thursday, February 2nd 2017, 10:54am

I'm experiencing the same issue with Ozone v2.22m and Segger J-Link Edu on macOS Sierra 10.12.3 (16D32).

Installed J-Link is 6.12g.


Still the same issue with updated Ozone v2.22n [2017-02-01] and Segger J-Link V6.12h [2017-02-02].

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 379

12

Thursday, February 2nd 2017, 11:43am

J-Link V6.12h includes just one important fix, but not the fix for the crash.

A release which includes the fix for the crash (Ozone V2.22o and J-Link V6.12i) is planned for tomorrow.

Regards
Johannes

Avenue33

Beginner

Date of registration: Aug 9th 2016

Posts: 12

13

Thursday, February 2nd 2017, 1:33pm

Thank you!

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 379

14

Friday, February 3rd 2017, 6:28pm

Ozone V2.22o, which includes the new J-Link V2.12i, is available now.

Regards
Johannes

Avenue33

Beginner

Date of registration: Aug 9th 2016

Posts: 12

15

Saturday, February 4th 2017, 1:17pm

It works! Thank you for the prompt support.

SEGGER - Niklas

Super Moderator

Date of registration: Oct 6th 2014

Posts: 1,691

16

Tuesday, February 7th 2017, 3:11pm

Hi,


good to hear that you are up and running!
/closed


Best regards,
Niklas
Would you like to be added to the J-Link software update notification list, so you get informed automatically when a new version becomes available?
Just write me a PM or in case you want to subscribe to it yourself, please use this link: Link
Notification for J-Link, J-Link Debugger, SystemView & J-Scope: Link
Notification for Embedded Studio: Link