Part Number: TMS570LC4357
Dear support team,
I have the same issue as discussed some years ago in the below-mentioned thread: The preload segment specified in the SEGID_PLOAD field (STCSEGPLR) seems to be ignored by hardware, i.e. the FSEG_ID field in STCFSTAT is still 0b00 when running the diagnostic self-test on segment 1.
Has this literature bug ticket already been applied to any document?
I can't resolve the problem by writing 0b10 or 0b11 to RS_CNT. In this case, the target continues execution immediately when I enable the self-test (writing STCGCR1[3:0]= 0xA), instead of just doing a step-over. So, it seems like the connection to the debugger is lost. I'm not sure now whether the enable triggers the reset immediately and the context restore is the problem, or whether the behavior of RS_CNT[1] outlined in the referenced thread is not completely correct. Could also be due the order I'm writing the different STC registers.
Could you please provide an exact documentation about the meaning of the RS_CNT register field (especially bit 1 which is marked as reserved in the TRM).
Additionally, it would be very useful if you could provide information about the dependencies between the STC configuration registers (or register fields), i.e. which one must be necessarily written after another one to be taken into account.
Thanks in advance!