Following (is there really no follow button?!)
I now believe the issue is with the CYBLE-212019-EVAL module. I copied the two workspaces mentioned in my first post, updated all projects to use the the device in the CY8KIT-143A and reassigned the pins as needed. Both projects compiled, loaded and operated as expected on a CY8KIT-143A eval board. I then copied the two new workspaces to a new location and reverted the device and pin assignments to those used by the CYBLE-212019-EVAL module. Both projects compiled & loaded OK but neither was able to perform an application update. Same problems as mentioned in my first post. I did notice the eval board had both jumpers install on J6 effectively shorting base pins 2.7 & 3.5 together and connecting them to pin 3.5 of the processor. Removing the 3.5 base to 3.5 proocessor jumper had no effect. I have two CYBLE-212019-EVAL modules. Both produce the same results. The module version is 600-20090-01_REV1.0B (possibly -08) on both eval boards.
Bill K - R O SoftWare
PS I've attached both (cleaned & trimmed) workspaces.
CYBLE-212019 Workspaces.zip 299.0 K
1 of 1 people found this helpful
Open a case with support. They responded with:
"In the bootloader project as well as the bootloadable project, include the below line under CYBLE_EVT_STACK_ON: CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLERD_BB_XO_CAPTRIM), 0x0000BCBC);"
which cleared the problem with both builds. I assume this is specific to the CYCLE-212019 module.
For more information, check out 'AN95089 - BLE Crystal Oscillator Selection & Tuning Techniques'.
1 of 2 people found this helpful
Hi guys! Just to clarify, the issue is not with the CYBLE-212019 module. In fact, the line
CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLERD_BB_XO_CAPTRIM), 0x0000BCBC);
needs to be included in all projects that would run on a module. This line is used to configure the ECO captrim values and the value varies from module to module. The value can be obtained from the module datasheet.
Note: This line needs to be included only with v3.20 and v3.30 of the BLE components. With older versions of the BLE component, this configuration is taken care by the stack.