Sporadic application crashes when running Keil / MQX above Optimization 0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Sporadic application crashes when running Keil / MQX above Optimization 0

跳至解决方案
1,664 次查看
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 项奖励
回复
1 解答
1,263 次查看
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 项奖励
回复
2 回复数
1,264 次查看
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 项奖励
回复
1,263 次查看
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 项奖励
回复