Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IAR embedded workbench error at building

with version 9.10.1 of IAR embedded workbench I get the following error when building the project SimpleBLEPeripheral-CC2541DK-MINI keyfob . when making OSAL_SimpleBLEPeripheral.c. the error says the following:

Error[e16]: Segment ISTACK (size: 0xc0 align: 0) is too long for segment definition. At least 0xe more bytes needed. The problem

occurred while processing the segment placement command "-Z(IDATA)ISTACK+_IDATA_STACK_SIZE#08-_IDATA_END", where 

at the moment of placement the available memory ranges were "IDATA:4e-ff"

Reserved ranges relevant to this placement:
IDATA:8-1f VREG
IDATA:21-40 VREG
IDATA:41-42 XSP
IDATA:43-43 DATA_I
IDATA:44-4b DATA_Z
IDATA:4c-4d IDATA_Z
IDATA:4e-ff ISTACK
BIT:0-7 BREG
BIT:80-97 SFR_AN
BIT:a0-af SFR_AN
BIT:b8-c7 SFR_AN
Error while running Linker

 

  • You should use IAR 8.20 to build BLE stack 1.4.0. You can download IAR 8.20 at http://www.iar.com/Products/Wireless-solutions/Tools-for-TI-wireless/
  • I have had the same issue, but when I changed the IDATA setting to 0xA0 (the old setting is 0xC0), then it worked (linked without any errors). I did this based on the error message, which kind of saying somewhere needs "0xd" bytes more space, but I don't know what the exact reason is, because the old setting worked fine with the old version IAR.  I hope someone will give some insight about this. I would like to know if there is any side effect to do so.