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
I do not think that it has to do with the memory model. Maybe you have just an issue with defining the format string for printf. How is the format string defined and passed to the printf function? Reinhard