Ok, I think i found it. I generated the schematic symbol with a script I wrote that reads database files from ST MicroXplorer. There is a bug in the database file, one pin was wrong and I was grounding it instead of connecting it to VCC. Unfortunately I trashed 1 MCU, Argh. Hopefully the rest of the pins are corrent!
thank you all
ciao
Alberto