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.

PBANK - MPAGE setting

Other Parts Discussed in Thread: CC2540

the sample projects with the CC2540 dev kit wind up setting ?PBANK with *two* different values -- 0x93 and 0xA0....  the former value is set in the .xcl file, while the latter is taken from the Data Pointer tab of the project's General Options....

besides receiving a warning from the linker that symbol ?PBANK is redefined at the command-line, it would appear that 0xA0 is the value the finally sticks according to the linker .map file....

now, when i read the user's guide (as well as consult the .xcl file), it looks like 0x93 is in fact the correct value -- as it corresponds with the MPAGE SPR....

having initially tried running programs with ?PBANK=0xA0 -- and having these programs go off into the weeds when certain C-language constructs were used -- i traced this back through the user's guide....

can someone confirm that ?PBANK should in fact be 0x93 -- and not 0xA0 as is the case when building the stock projects out of the box....

thanks in advance

  • Thanks bios.bob.  We are looking into this and will let you know soon.  We are not seeing crashes just yet,  but not everything has been migrated to 7.60 either just yet. We do need to figure this out and likely update settings for our release 1.1 which will be based on IAR 7.6.