Sporadic application crashes when running Keil / MQX above Optimization 0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sporadic application crashes when running Keil / MQX above Optimization 0

Jump to solution
1,216 Views
pmt
Contributor V

From the MQX release notes (originally in 3.8.0 but still in release 3.8.1):


5.18 ARM MDK Keil uVision Support – Optimization in Release target MQX libraries

The code optimization level in the ARM MDK Keil uVision Release target is reduced to 0. Sporadic application crashes were observed in case any higher optimization level was used. The root cause of the issue was not known at the release date.


This seems to be a very vague and alarming release note that needs investigation.  Is this an MQX issue or is this a Keil issue?  Can either company step up to the plate and take ownership?  Keil tech support says they know nothing of this issue.  Is this issue active?  Optimizations would be a very nice thing to run at some point.


Thanks,

pmt 

0 Kudos
Reply
1 Solution
815 Views
c0170
Senior Contributor III

Hello pmt,

this issue was fixed, it was MQX issue.

The working KEIL optimizations are going to be enabled in MQX 4.0 with full functionality. If you or any other user insist on using optimization, I can provide a workaround.

Regards,

MartinK

View solution in original post

0 Kudos
Reply
2 Replies
816 Views
c0170
Senior Contributor III

Hello pmt,

this issue was fixed, it was MQX issue.

The working KEIL optimizations are going to be enabled in MQX 4.0 with full functionality. If you or any other user insist on using optimization, I can provide a workaround.

Regards,

MartinK

0 Kudos
Reply
815 Views
tunguyen
Contributor I

Hello,

Apparently, this MQXViewer fatal crash is still around in the latest version of microVision.  I ran my session for several hours and this MQXViewer crash appeared, and the only way to get out of this crash was to terminate my microVision 4.70.0.0.

I need to troubleshoot my application, but this crash prevents me from running my application over time!

Would you please advise?

IDE-Version:

µVision V4.70.0.0

Copyright (C) 2013 ARM Ltd and ARM Germany GmbH. All rights reserved.

License Information:

Tu Nguyen

LIC=removed

Tool Version Numbers:

Toolchain:        MDK-ARM Standard: 3 user  Version: 4.70.0.0

Toolchain Path:    C:\Keil\ARM\ARMCC\bin\

C Compiler:         Armcc.Exe

Assembler:          Armasm.Exe

Linker/Locator:     ArmLink.Exe

Librarian:             ArmAr.Exe

Hex Converter:      FromElf.Exe

CPU DLL:               SARMCM3.DLL       V4.70.0.0

Dialog DLL:         DCM.DLL

Target DLL:             ULP2CM3.DLL       V2.190.0.0

Dialog DLL:         TCM.DLL       V1.12.0.0

MQXViewer crash in KEIL mVision V4.70.0.0.png

Message was edited by: removed details which are not supposed to be shared c0170

0 Kudos
Reply