You don't show it in your example, but do you have DISABLE before the
loopdata interrupt sub-routine?