Good Morning, I made a code here and it was working normally, but to implement a new function run into this error .. seems to be memory size or something , someone knows or can help me ? The program I use to debug is the IAR Embedded Workbench IDE. The error is the following: O erro é o seguinte: Error[e16]: Segment CODE (size: 0x4a30 align: 0x2) is too long for segment definition. At least 0xb50 more bytes needed. The problem occurred while processing the segment placement command "-Z(CODE)CODE=40-3FFF", where at the moment of placement the available memory ranges were "CODE:120-3fff" Reserved ranges relevant to this placement: 40-11f ICODE 120-3fff CODE Thanks, Thiago Brandão.