Martin, very good work. I'm having the same problem and with the same test. Since our tests were the same, would you mind sharing your conclusions?
Also, I have another question. My routine takes about 12 clock cycles longer when running from RAM. I would expect RAM timing to be better than flash. Is there any explanation why running linear code from RAM takes longer than flash?
Thanks,
JR Simma
Simma Software, Inc
The J1939 Experts