Hi,
I was able to make the dsps_device exemple work with Keil on a Windows computer. I would like to do the same with Eclipse under Linux. I downloaded the SPS and made two changes to user_profile.h, I undefined CFG_PRF_REMOTE_CONFIG and CFG_PRF_SUOTAR. When I do the same in Eclipse under Linux, I compile after a Clean. I get 8 errors and 15 warnings. If I redo build with no change, I got 0 errors and 0 warning. But when I start debugging the code stops at system_init() which is great and after I click the Resume button, the chip do not advertise. Then, I click the suspend button and find in the disassembly that the execution is always stuck at the same address which is 000010fc. Please try to reproduce, I am sure that there is a bug here. This is what I am using:
DA14531-00FXDEVKT-P with DA14531-01FXDB-P daughterboard.
SDK 6.0.22.1401
PSP 6.150.6.77
Linux Mint 21.2
Thank you,
Rémi
Hi Remi,Thank you for posting your question online.For the DA1453x you should use the SmartSnippets Studio IDE which is Eclipsed based. You can download it from here: SmartBond Development Tools | RenesasYou should be able to compile the SPS projects with SmartSnippets Studio.Best Regards,OV_Renesas
Hi OV,
Thanks for your answer. I am already using SmartSnippets Studio. It is version 2.0.20.4060.
Thanks,
Hi Remi,Thank you for the reply.
Remi said:Thanks for your answer. I am already using SmartSnippets Studio. It is version 2.0.20.4060.
I used the same version (but on Windows) and I did not face any problems:Please make sure you have selected inside the SDK as your workspace so the .metadata folder is placed correctly:Best Regards,OV_Renesas
It is the case, my Workspace is set to /DA145xx_SDK/6.0.22.1401/
The metadata seems good since I can chose for which device I compile with the arrow on the build button. Same for launching the debug session.
Also, my compiler version is arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.
Hi Remi,Thank you for the reply.The SDK v6.0.22 is not the same as the SPS SDK.The latest SPS SDK v 6.150.6.77 is based on the SDK v6.0.20 and this is stated on the SPS SDK Release Notes.It is not clear to me which project you are trying to compile and for which SDK exactly.Please share more information or screenshots of your workspace and the errors you are facing.Best Regards,OV_Renesas
I did retry using the SDK included with the SPS. I got similar results. This is where I set the workspace:
This is what I get when I compile for the first time:
When I compile the second time I get this:
Then I start the debugger and it shows it is trapped in a signal handler:
After I click resume but it stops immediately. I then click view disassembly and get this:
If I start the debugger for a second time it execute some code and crashes. I found where it crashes by tracing. It is in arch_rom.c at line 310:
_ble_base = __SCT_BLE_BASE; // Initialize BLE EM base
Hope it helps. Thanks,
Hi Remi,Thank you for the replies.The dsps_device project was not successfully built.
Remi said:I did retry using the SDK included with the SPS. I got similar results. This is where I set the workspace:
Please try to set the workspace on 6.150.6.77 and not on sdk6 folder.
OV_Renesas said:Please make sure you have selected inside the SDK as your workspace so the .metadata folder is placed correctly:
Then please try again.Best Regards,OV_Renesas
Thanks for your answer. I retried with the worspace set at the folder with the version number. I got the exact same result. I did the same with Windows and it worked immediately. The problem is the Linux support. Please try to reproduce and solve.
Hi Remi,Thank you for the reply.Could you please copy paste the built output in a text file and share it with us?Best Regards,OV_Renesas