Solved
This topic has been closed for replies.
Looks like things are a bit broken. My guess would be that the address isn't being handled properly. Looking at the tlc file for the block which should be in the install directory I see the following.
STM32\blks\mex\tlc_c\I2C_Write.tlc on line 230
%else
%if !%<LibIsEmpty(Target_Register)>
%assign Data_str = LibBlockInputSignal(0, "", "", 0)
uint8_t* %<block_name>_aTxBuffer = &%<Data_str>;
%endif
%endifI think this is not suppose to be done this way:

I would look into the function LibBlockInputSignaladdr instead.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.