Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: Error compiling/linking TI-BLE 1.3 examples with IAR 8.20: Error[e16]: Segment SLEEP_CODE (size: 0x9 align: 0) is too long for segment definition. At least 0x1 more bytes needed.

$
0
0

We just tried to compile some of the examples (KeyFobDemo, heartrate) with IAR 8.20, but when compiling (or better when linking), it displays the following error:

Error[e16]: Segment SLEEP_CODE (size: 0x9 align: 0) is too long for segment definition. At least 0x1 more bytes needed. The problem occurred while processing the  
segment placement command "-Z(CODE)SLEEP_CODE=_SLEEP_CODE_SPACE_START-_SLEEP_CODE_SPACE_END", where at the moment of placement the  
available memory ranges were "CODE:7ff8-7fff"
   Reserved ranges relevant to this placement:
   CODE:7ff8-7fff       SLEEP_CODE
   BIT:0-7              BREG
   BIT:80-97            SFR_AN
   BIT:a0-af            SFR_AN
   BIT:b8-c7            SFR_AN

Can the version 8.20 not be used? Must we go back to 8.11?

(It seems TI used a older version, because IAR project files were converted when opening them in IDE?)

Or is there any workaround fixing this error even with 8.20?


Viewing all articles
Browse latest Browse all 116964

Trending Articles



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