Debug work fine but release not working..

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

Debug work fine but release not working..

1,047 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by F-Omenal on Mon Apr 28 07:26:02 MST 2014
Hello,

i playing around the lpc1114 with a cool board from olimex : https://www.olimex.com/Products/ARM/NXP/LPC-H1114/
it s a cool thing, i playing with my lpcxpresso 1114 and cut it to use LPCLink on the board.
all work ok in debug mode on the 2 card; i use blink template, systick and adc. i test something to see how to configure lpc.

so when i made something cool i test in debug mode, all is ok, i t run. it's run in stand alone mode to. but when i use the release mode nothing append.
i test with no optimization (like i see on another post) but nothing change.

so i have 2 question,
Eventually, if someone have an idea on why i have this problem, and the 2 is what really diff between debug an release in asm code except the optimisation and the stop capacity.

Thanck for your help.
0 项奖励
回复
2 回复数

1,027 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by F-Omenal on Mon Apr 28 09:17:43 MST 2014
yes, i find this tread after, and i have a lost variable who is not in "volatile"

Regards
0 项奖励
回复

1,027 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon Apr 28 07:50:31 MST 2014
Did you read

'Optimized code fails to execute correctly'

http://www.lpcware.com/content/faq/lpcxpresso/compiler-optimization

:quest:

Which library are you linking?
0 项奖励
回复