Hello,
There is a regression that appeared in 7.68b, when using printf with LF to display logs under Eclipse using GDB Segger Jlink.
Globally, when doing a printf containing a \n, the last 4 characters are repeated after the LF.
Easier to explain with an example :
printf("Flash drivers demo"\n);
printf("- Initialize flash driver");
printf("-> OK\n");
I get this in Eclipse console:
SEGGER J-Link GDB Server V7.68a - Terminal output channel
Flash drivers demo
- Initialize flash driver -> OK
SEGGER J-Link GDB Server V7.68b - Terminal output channel
Flash drivers demo
demo
- Initialize flash driver -> OK
> OK
If it can help the issue disappears when using \r instead of \n
(could be a workaround, but unfortunately in that case it does not work anymore with other IDEs such as IARW).
Below some details, let me know if you need more:
SEGGER J-Link GDB Server V7.68b Command Line Version
JLinkARM.dll V7.68b (DLL compiled Jul 22 2022 17:24:21)
Regards,
Frederic
There is a regression that appeared in 7.68b, when using printf with LF to display logs under Eclipse using GDB Segger Jlink.
Globally, when doing a printf containing a \n, the last 4 characters are repeated after the LF.
Easier to explain with an example :
printf("Flash drivers demo"\n);
printf("- Initialize flash driver");
printf("-> OK\n");
I get this in Eclipse console:
SEGGER J-Link GDB Server V7.68a - Terminal output channel
Flash drivers demo
- Initialize flash driver -> OK
SEGGER J-Link GDB Server V7.68b - Terminal output channel
Flash drivers demo
demo
- Initialize flash driver -> OK
> OK
If it can help the issue disappears when using \r instead of \n
(could be a workaround, but unfortunately in that case it does not work anymore with other IDEs such as IARW).
Below some details, let me know if you need more:
SEGGER J-Link GDB Server V7.68b Command Line Version
JLinkARM.dll V7.68b (DLL compiled Jul 22 2022 17:24:21)
Regards,
Frederic