Hi,
I have put cc2540 in advertising mode that way when it powers up.
One way to check if it is advertising or not is by using a CC2540 in central mode like USB dongle provided with TI development kit. When you scan for the devices, the device will be detected if it is advertising.
Hope this helps. Verify the answer if it worked for you.
Regards,
maharjanbk