Hello
I have done the experiment with the next sequence:
1) Turn on the C6678EVM
2) Load the ССS
3) Correct the parameter externalLoopNmax on 4000000 (project "Cores synchronization_5_4")
4) Clean Project
5) Debug As -> 1Code Composer Debug Session -> Core#1 -> Resume -> Core#0 -> Resume
Result:
[C66xx_0] delta_time_point[01] = 8052000555 [cycles] (about 8 sek)
[C66xx_0] time_point[0] = 16299198266 [cycles]
[C66xx_0] time_point[1] = 24351198821 [cycles]
[C66xx_1] delta_time_point[01] = 8052000324 [cycles] (about 8 sek)
[C66xx_1] time_point[0] = 25046273719 [cycles]
[C66xx_1] time_point[1] = 33098274043 [cycles]
But really program workes (until to print) about 82 sek (i.e. about ten times more than 8 sek).
6) Terminate of the Debug
7) Launch Selected Configuration -> Core#0 -> Connect Target -> Tools->GEL Files -> evmc6678l.gel -> Scripts -> EVMC6678L Init Functions -> Global_Default_Setup -> Run->Load->Load Program ->
Launch Selected Configuration -> Core#1 -> Connect Target -> Tools->GEL Files -> evmc6678l.gel -> Scripts -> EVMC6678L Init Functions -> Global_Default_Setup -> Run->Load->Load Program ->
Core#1 -> Resume -> Core#0 -> Resume
Result:
[C66xx_0] delta_time_point[01] = -36584166623 [cycles] (?)
[C66xx_0] time_point[0] = 44636178846 [cycles]
[C66xx_0] time_point[1] = 8052012223 [cycles]
[C66xx_1] delta_time_point[01] = -36584166623 [cycles] (?)
[C66xx_1] time_point[0] = 44636178846 [cycles]
[C66xx_1] time_point[1] = 8052012223 [cycles]
Really program workes (until to print) about 9 sek (i.e. close to 8 sek)
8) Terminate of the Debug
9) Debug As -> 1Code Composer Debug Session -> Core#1 -> Resume -> Core#0 -> Resume
Рез-т:
[C66xx_0] delta_time_point[01] = 8052000568 [cycles] (about 8 sek)
[C66xx_0] time_point[0] = 9386390267 [cycles]
[C66xx_0] time_point[1] = 17438390835 [cycles]
[C66xx_1] delta_time_point[01] = 8052000334 [cycles] (about 8 sek)
[C66xx_1] time_point[0] = 65349145295 [cycles]
[C66xx_1] time_point[1] = 73401145629 [cycles]
Really program workes (until to print) about 9 sek (i.e. close to 8 sek)
I repeated this sequence some times and got the same result.
It seems as system's behavior depends on previous state.
Is it a natural system's behavior ?
Best regards,