IR remote

i am using freeduino board having ATMEGA328P-PU controller , and ihad flshed the record code it from Ken Shirriff’s blog .
i have samsung remote .
when i am trying to record my smasung remote codes i am not getting on the serial port .
how can i fix thi9s error .
i want to record and send my samsung remote codes
please help me