This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Porting an pca10028 to pca20006

I have found these 2 threads in this forum regarding this matter but I am a bit stuck.

devzone.nordicsemi.com/.../ devzone.nordicsemi.com/.../

I want to port the BLE-UART central app to the beacon kit (PCA20006). I'm a total beginner in Keil and everything regarding the sdk's.

Changing IROM1 and IRAM1 what is this and where does it need to happen? Replace BOARD_PCA10028 with BOARD_PCA20006 in preprocessor symbols, where do I do this?

When I download the example for pca10028, what are the steps required to get it running on pca20006? Which files do i need to edit.

Any help would be fantastic! Marvin

Parents
  • Hi Marvin,

    If you use in the project boards.h file with board type defined as global variable (e.g. in Makefile or project properties) then simply exchange PCA10028 to PCA20006 and unless you are using some code (e.g. some wired interface such as UART/SPI/I2C) which is incompatible with BSP (board support package) defines in .\components\boards\ header files the project should compile and work normally.

    When it comes to IROM1/IRAM1 and similar settings these should change only if you are migrating to different chip family/model but latest nRF51 DK (PCA10028 v1.0.0 and later) and nRF51822 Beacon Kit (PCA20006 v1.3.0) are both having nRF51x22_yFAC chip variants which are Rev3 chips with 256kB of flash and 32kB of RAM. So no change needed. If you are using earlier version of Beacon Kit (up to v1.2.1) then you have nRF51822_CyAA variant with only 16kB of RAM. That means to restrict RAM max value (how depends on your compilation chain).

    Cheers Jan

Reply
  • Hi Marvin,

    If you use in the project boards.h file with board type defined as global variable (e.g. in Makefile or project properties) then simply exchange PCA10028 to PCA20006 and unless you are using some code (e.g. some wired interface such as UART/SPI/I2C) which is incompatible with BSP (board support package) defines in .\components\boards\ header files the project should compile and work normally.

    When it comes to IROM1/IRAM1 and similar settings these should change only if you are migrating to different chip family/model but latest nRF51 DK (PCA10028 v1.0.0 and later) and nRF51822 Beacon Kit (PCA20006 v1.3.0) are both having nRF51x22_yFAC chip variants which are Rev3 chips with 256kB of flash and 32kB of RAM. So no change needed. If you are using earlier version of Beacon Kit (up to v1.2.1) then you have nRF51822_CyAA variant with only 16kB of RAM. That means to restrict RAM max value (how depends on your compilation chain).

    Cheers Jan

Children
No Data
Related