Is there a restriction on non-commercial License of SES

Hey All,

I am using a non commercial license of SES (v6.30). Initially as PoC I built code with a TX/RX combination using the examples/peripheral/usbd_hid_generic/ for RX (connected to the Host via USB) and examples/peripheral/radio/transmitter for TX. Everything built fine and I was able to do a PoC.

Then, going through the SES code base I saw that we can eliminate the RX/TX combination and use BLE. So, I modified the examples/ble_peripheral/ble_app_hids_mouse/ code for the same. Added some code required from the RX/TX coding done earlier. I tried building the same with the SES UI but land up in a 

<info> app_timer: RTC: initialized.
<error> app: Fatal error - Debugging does not point to a single point.

Then on further exploration I saw the armgcc folder and built it from the makefile (using nrfjprog). For debug I used JLinkRTTLogger and found out that I was out of RAM. Made the changes the viola it worked. But despite doing the same changes into the emproject project I am still unable to run the code (the debugger is a great asset).

I have made some further code changes after this but am getting NRF_ERROR_FORBIDDEN but with the debug tool I don't have much levy into the actual spot which is causing the problem.

So the queries now -

1. Is the non-commercial license an issue. As we moving into development -> production?

2. Do I need to remove some modules unnecessary for us and then try building in the SES?

3. Randomly try different RAM values.

MEMORY
{
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x5a000
RAM (rwx) : ORIGIN = 0x200022F0, LENGTH = 0xdd10
}

Let me know if any more info is required.

Regards

Yash

Parents
  • Hey Edvin,

    I took the license at shown in the video and after that still I have issues when I compile and flash my code with SES.

    <info> app_timer: RTC: initialized.
    <info> app: calling blestack_int
    <info> app: before nser 1

    "The code here is err_code = nrf_sdh_enable_request();"
    <info> app: after nser - 0x8 (0x8 is the err_code which is NRF_ERROR_INVALID_STATE)
    <error> app: Fatal error (At APP_ERROR_CHECK(err_code);)

  • Are you using FreeRTOS? (I am asking because I have seen a bug in SES related to that). 

    If not, then this doesn't really look license related. It just looks like you are trying to enable the softdevice when it is already enabled. The return values from the API that is passed into APP_ERROR_CHECK() is a mechanism to check that the application running on the nRF is actually doing what you expect it to do.

    BR,

    Edvin

Reply
  • Are you using FreeRTOS? (I am asking because I have seen a bug in SES related to that). 

    If not, then this doesn't really look license related. It just looks like you are trying to enable the softdevice when it is already enabled. The return values from the API that is passed into APP_ERROR_CHECK() is a mechanism to check that the application running on the nRF is actually doing what you expect it to do.

    BR,

    Edvin

Children
No Data
Related