Other Parts Discussed in Thread: TMS570LS3137
Hello everyone! I'd like to ask you a couple of questions about the CPU Compare Module of the TMS570LS3137:
1) Is there any way to disable it for testing purposes? If not, is there any way to prevent it from raising an FIQ when there's a compare error?
2) Is there any way to force a Compare Error to occur without enabling Error Forcing Mode? I'm trying to use the following instructions right after enabling the FPU (but without initializing the FP registers):
vstmdb.64 sp!, {d0-d15}
vldmia.64 sp!, {d0-d15}
According to the datasheet, storing the FP registers in the stack without having initialized them will result in a Compare Error being raised. However, this doesn't seem to be the case, as I can execute those instructions normally without nERROR being asserted. I did notice, though, that it seems to happen when the OS I'm using pushes them because of a context switch.
Thanks a lot!