Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hey everyone,
Versions:
Product | Version |
Hardware | CC1352R1_LAUNCHXL_TIRTOS |
CodeComposerStudio | 11.1.0 |
SimpleLink CC13xx CC26xx SDK | 5.30..1.01 |
XDCtools | 3.62.1.16_core |
SysConfig | 1.10.0 |
I can not change the versions because the are fixed for an library I need to include for a sub GHz rf protocoll.
What I did:
I took the sample project of the sub-GHz protocll an merged the project zero project into it. I needed to adjust some thing for example add an .cfg file because the orognal Sub-GHz project does not have one. Now i have all include errors resolved and manged to get a build. The sub-GHz part is working like a charm, but when i add the the calls for the Bluetooth tasks in the main (see code below) i allways got suck in "xdc_runtime_Error_policySpin__E()"
ICall_init(); ICall_createRemoteTasks(); ProjectZero_createTask();
I traced the Error back to function call in the file "ble_user_config_stack.c" :
pTxPowerTblEntries = (txPwrVal_non_const_t*)ICall_malloc(sizeof(txPwrVal_non_const_t)*(userCfg->boardConfig->txPwrTbl->numTxPwrVals));
( I am not totally sure but I think it crashes in the file rrtos_heaposal.h in line 422 "tmp =*hdr;")
hdr = (heapmgrHdr_t *)((hmU8_t *)hdr + tmp); tmp = *hdr;
Something in this call makes the CC1352 crash. A look in the Runtime Object Viewer under HWI--> Exception showed me this:
I allready tryed to increase the heap-size in the CC132R1_LAUNCHXL_TIRTOS.cmd file from 30000 to 50000
//HEAPSIZE =30000; /* Size of heap buffer used by HeapMem */ //HEAPSIZE =50000; /* Size of heap buffer used by HeapMem */
Increasing it more resolves in an error that the buidl will not fit into the memory anymore.
Can anyonoe give me some tips to resolve the issue?
Regards
Jones