2022-05-26 09:01 PM
Hi Team ,
We are using PLS debugger for one of our project ST SPC58NG84E7 controller ,compiler GHS Version 202114 and Debugger UDE STK2021 .
But we are facing one issue while debugging one function in SetAbsAlarm(1,10,10)
In SetAbsAlram while we debugging first argument value instead of 1 it is taking as 8 .
We saw disassembly code but first argument instruction is SE_LI R3,0x1 but after
executing this instruction R3 value it is loading with 8 instead of 1 .
Please find the snap shot attached below line no 876 due to these we are facing incorrect functionality .
Kindly provide support .
Regards
Praveen
Solved! Go to Solution.
2022-05-31 02:23 AM
Hello,
your assembly seems to be well generated by GHS: 0x4813 code(01001)IM7(0000001)Reg(0011) => SE_LI R3,1
Would you export the first parameter in SetAbsAlarm throug UART for example to check if it is 1 or 8 ?
Best regards,
-Olivier
2022-05-31 02:23 AM
Hello,
your assembly seems to be well generated by GHS: 0x4813 code(01001)IM7(0000001)Reg(0011) => SE_LI R3,1
Would you export the first parameter in SetAbsAlarm throug UART for example to check if it is 1 or 8 ?
Best regards,
-Olivier