Other Parts Discussed in Thread: HALCOGEN,
The First file sys_core_bootloader.asm is from the boot loader provided by TI and second file sys_core_application.asm attached is from HALCOgen .
What is difference between "System Mode" and "Supervisor Mode" in the TMS570LS3137 , I have not seen any documentation on this in the Reference Manual .
; Switch to System Mode ( Shares User Mode registers ) (M = 11111)
cps #31
mov lr, r0
mrs r1,cpsr
msr spsr_cxsf, r1
; Switch back to Supervisor Mode (M = 10011)3441.sys_core_bootloader.asm6165.sys_core_application.asm
cps #19