Hi Doinita,
thanks for the reply! I read all the faqs related to this and I can confirm that I'm linking to Redlib(nohost). In fact the DEBUGOUT macro does work before using the DMA.
The problem is a dinamic allocation in the FLASH from a malloc() call inside the printf(), the error is this:
No source available for "printf() at 0x14002d72"
No source available for "malloc() at 0x14003fa8"
No source available for "<signal handler called>() at 0xfffffff9"