Hi All,
I am trying to gain a better understanding of the relationship between the code banks and the size of the part.
I built the SampleApp application include the latest Z-Stack 2.4 which is currently for the CC2530 that has a 256 KB flash. However, I tried to rebuild the same project for a 128 KB flash part with no code changes nor project settings changes except for changing the General Options>>Target>>Device Information>>Device to point to the 128 KB device description file. I then end up with the following error:
Error[e16]: Segment ZIGNV_ADDRESS_SPACE (size: 0x3000 align: 0) is too long for segment definition. At least 0x2fb7 more bytes needed. The problem occurred while processing the segment placement command "-Z(CODE)ZIGNV_ADDRESS_SPACE=_ZIGNV_ADDRESS_SPACE_START-_ZIGNV_ADDRESS_SPACE_END", where at the moment of placement the available memory ranges were "CODE:3f7b7-3f7ff"
Reserved ranges relevant to this placement:
CODE:3c412-3f7b6 BANKED_CODE
CODE:3f7b7-3f7ff ZIGNV_ADDRESS_SPACE
BIT:0-7 BREG
BIT:80-97 SFR_AN
BIT:a0-af SFR_AN
BIT:b8-c7 SFR_AN
BIT:e8-ef SFR_AN
BIT:f8-ff SFR_AN
Any insight into what changes I would need to make to have the project support a different sized part (ie changes to code model, data model, or code banks) would be greatly appreciated!