Timer 1 Interrupt not working on Atmega1280 (Arduino Mega) [solved]

SOLVED! I was not using the oficial code::blocks and it was mapping the RAM memory at the wrong way, I configured the oficial code::blocks with the avr-gcc and now it is working beautiful!