TLC.UPDATE() stuck the system

Hello
I have built a costume board with ATMEGA2560
I have Leds and buttons on the board
As soon as I press one of the buttons i need to see specific led turning on

The TLC5940 works fine if I am tyring to load the "night Rider" example
But as soon as I try to load my SW that combines them all (buttons and lights)
As soon as the routine gets to the TLC.UPDATE()
It stuck the system and noting happens

Please advise

It's nothing to do with tlc.update(), that's just where it happened.

I bet you ran out of RAM.

tzif:
Hello
I have built a costume board with ATMEGA2560
I have Leds and buttons on the board
As soon as I press one of the buttons i need to see specific led turning on

The TLC5940 works fine if I am tyring to load the "night Rider" example
But as soon as I try to load my SW that combines them all (buttons and lights)
As soon as the routine gets to the TLC.UPDATE()
It stuck the system and noting happens

Please advise

Best idea is to post your code and let us see what you're doing.