To hec :
You 're probably right, the code is a copy/paste from this post (http://e2e.ti.com/support/low_power_rf/f/538/t/225247.aspx), and I thought it was the same but it wasn't. Sorry for this mistake. The real code is :
PHY_Reset
2BB6D PUSH DPL
2BB6F PUSH DPH
2BB71 MOV DPTR,#0x61B1
2BB74 MOVX A,@DPTR
2BB75 CLR A,0
2BB77 MOVX @DPTR,A
2BB78 MOVX A,@DPTR
2BB79 SETB A,0
2BB7B MOVX @DPTR,A
2BB7C MOV DPTR,#0x6188
2BB7F MOVX A,@DPTR
2BB80 XRL A,#0x04
2BB82 JNZ 0x2BB7C
2BB84 LJMP 0xC0D0
I'm using the CC2540_ble_single_chip_cent.lib library.
To Aslak N. :
A lot of files have been moved or deleted to only keep files that I need for my project and to seperate codes/project files and Libs/API/HAL/OSAL/Profiles. It is compiling without warnings (after includes paths modifications). The lib file "CC2540_ble_single_chip_cent.lib" is now located in "ble" folder (where we can find 'controller',' hci', 'host' and 'include' folders) and others BLE libs were deleted.
In \Project\ble\ I've deleted 'SBL' and 'UBL' folders. The folder '\Project\ble\common' (containing OnBoard.h, linker...) has been moved in the same folder than Osal, Hal, Ble.... The .cfg files have been moved too. I think these are the most significants modifications. It's hard to explain and I hope I was understandable. Don't hesitate if you want more details ! Thank you for your answers !
Antoine