Hi when my code reaches a certain size, the sprintf function doesn't work correct anymore. The .h86 file has now a size of 164KB, guess code is around 64KB (last code block in map file). The module has 1MB SRAM and 1MB Flash, so there should be no problem. Memory model is HLarge, segmented. sprintf just removes all '%' from the formatting string but does no replacements. Does anyone know this symptoms? I guess it's a segmentation problem. Any solutions or hints? Thanks