Hi LiangYuG_Altera
Thank you for your reply.
I think it's not a problem with rxbuffer[1] = 0x01 because the values in the debug window are good. So that seems that the memcopy were right.
As i put the first breakpoint at the first printf("SCD30\n"); the code before this brekpoint should be executed with the same time as usual and the values are good. The problem is when after this breakpoint i execute the code step by step the printf print the wrong values in juart-terminal. It seems also that there is print problem as the accentuated character "é for example" are not printed correctly.
Regards
Eric