Hi, I'm doing a comparison between BL51 and Lx51 to determine the code space savings- I'm a bit suprised to see that for the same project, Lx51 yields a code reduction of only 0.6%- I've enabled the AJMP/ACALL setting, and altered the optimisation levels (speaking of which, under Lx51 raising the optimsation levels from 9 to the 'new' levels of 10/11 actually increases the code size) Does anyone have any similar experience of this phenomena- or any suggestion as to what else I should try to get the touted 10-15% reductions available using LX51? I'm only using the 'BANKAREA' LX51 controls... Thanks David
"Bit of a contradiction there, no? On one hand you're saying that you should use what you've tested, and on the other you're saying that testing is no good." Not really. Erik is saying that testing is imperfect. If you test something and then change the optimisation level, you invalidate the previous testing - so you go from something incompletely proven to effectively un-proven. That is definitely a retrograde step!