Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Boot failing in SSP 1.5.1 at tx_semaphore_create(&g_ssp_common_initialized_semaphore)

$
0
0

Hello,

I have recently tried to upgrade my project to SSP 1.5.1 from 1.5.0.

  • We have been running 1.5.0 for over a month with no issues.
  • We are using IAR.
  • I installed the SSP 1.5.1 over my existing 1.5.0 install (C:\Renesas\Synergy\ssc_v6.2.1_ssp_v1.5.0)
  • After install I opened my project in IAR then opened the configurator. I did not get the typical upgrade prompt
  • I went to the BSP tab and set the version to 1.5.1. After this I got a warning on the BSP tab, which I believe is expected per the release notes
  • Checking my configuration.xml, a subset of modules are upgraded to 1.5.1, which I believe is expected
  • The compilation goes fine with no new warnings
  • Download to target goes fine, and I reach main()
  • Shortly after I get a BSP_CFG_UNRECOVERABLE_ERROR() upon:

err = tx_semaphore_create(&g_ssp_common_initialized_semaphore, "SSP Common Init Sem", 1);
if (TX_SUCCESS != err) {
tx_startup_err_callback(&g_ssp_common_initialized_semaphore, 0);
}

Err returns 0xC. It fails on the check of the sizeof(TX_SEMAPHORE) compare within txe_semaphore_create(), which upon inspection of the tx_api.h macro makes no sense, since it passes sizeof(TX_SEMAPHORE) into txe_semaphore_create().

With 1.5.1 installed, I tried the same project without upgrading configuration.xml to 1.5.1 - it works fine.

Did I do the configuration.xml upgrade incorrectly? At that point in the code, only Renesas code has been run.

Thank you!


Viewing all articles
Browse latest Browse all 5781


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>