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.

关于CC2530访问 地址范围 疑问

Other Parts Discussed in Thread: CC2530

使用的CC2530 253K芯片,现在我对这个芯片的地址理解是:

可以直接访问64K的地址,但是为了访问256K的flash,CC2530做了地址映射,低32K分给RAM和其他寄存器,高32K来映射flash,我现在碰到的问题是:

1.readflash函数读flash是要切换bank的,我使用NV来调用readflash是成功的,但是我自己的app直接调用readflash总是有问题,对比发现NV的CODE都指定放在特殊的地址,这个地址好像是低32K的范围内,那么应用层函数想直接调用readflash函数读取flash是不是一定要把code放在低32K地址内?

2.题外话,,开发者访问flash需要做bank操作,cc2530 cpu自己在执行flash上的code时是怎么访问的?