Quick update. I managed to fix the issue which was caused by the command buffer having an extra zero in the array and a length of 1. Resetting the buffer fixes the issue but there is still the question of how this random byte is getting set which is where a trace would be great. I will ask the team if anyone knows how to make an elf file from the arm compiler and come back here to report how it goes with an elf file. Thanks again for the help.