The psoc6ble program cannot execute After migration

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

The psoc6ble program cannot execute After migration

1 The ori PSOC6 BLE program named "CE217639_BLE"Heart_Rate_Client01" was created frome creater software,The program is uesd for poc6ble KIT,
2 The MUC I use is CY8C6347LQI-BLD52 which different from the ori Porgam used,so the ori program is miagrated to a new one;
3 but the new program that only MUC version was changed could not work at all,could not debug either

4 The miagrated program and schematic diagram contained in the attachment

5 MY PCB has 2 floors
/**********************************/
1 原程序是 creater 软件上的 CE217639_BLE"Heart_Rate_Client01,这个程序是用于开发板上的
2 我自己的MCU 型号是 Y8C6347LQI-BLD52,所以需要在原程序更改 MCU型号
3 在原有程序知识 MCU 型号更改了,在新板子上无法启动 ,无法进入debug
4 附件有移植后的程序和我的PCB 原理图
5 我的PCB 是2层

0 Likes
13 Replies
lock attach
Attachments are accessible only for community members.
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Could you please elaborate more on the issue which you are facing ? I tried building the project at my end, i didn't observed any errors.
Please check your project with latest PDL v3.1.5 and with updating all the components.

Thanks,
P Yugandhar.

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

Yes, there are no errors in the compilation. The library used is also pdl3.13, but the program after migration cannot run; Is it feasible if ble runs in CM4?

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

After program migration, it is now "CY_ BLE_ EVT_ HARDWARE_ERROR  "The machine crashed after this log . It should be a hardware problem. How can I solve it? Thank you

0 Likes
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Yes, this event(CY_BLE_EVT_HARDWARE_ERROR) indicates that some internal hardware error has occurred. The possible error codes for this event are defined in cy_ble_stack_host_error.h file.
In firmware, you can get the event parameter value from the CY_BLE_EVT_HARDWARE_ERROR event as follows:

case CY_BLE_EVT_HARDWARE_ERROR:

DBG_PRINTF("CY_BLE_EVT_HARDWARE_ERROR: %d \r\n", *(uint8_t *)eventParam);

break;

Please check the error code, and find the corresponding description from the cy_ble_stack_host_error.h file.

Thanks,
P Yugandhar.

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

The code CY_BLE_EVT_HARDWARE_ERROR has to be located;

I predict that it should be the hardware problem. The most likely problem is the ble power supply problem, and the power supply may be abnormal; Otherwise, at least the signal is weak, and the code should be able to run;The schematic is in the attachment,very appreciate if your help  to improve 

Thanks so much 

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog
 

Is there a clock problem that causes the program to fail to run after Bluetooth is turned on

 

 

Thanks

0 Likes
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Could you please check the VCC(vbus) connection in your schematic file. Please refer to page 39 in the PSoC63 BLE family datasheet for more information.

Please refer to the section '8.4 Load Capacitance Value for Designs with PSoC 6 BLE Device' in the AN95089 datasheet and make sure of the external load capacitance values.

Also, please check the error code in the firmware, and find the corresponding description from the cy_ble_stack_host_error.h file.

Also, please check with some other code examples(ex: PSoC6BLE_FindMe code example) and update your results. 

Thanks,
P Yugandhar.

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

1. The program has no errors
2. Would you please give a creator program according to the above clock related documents?
3. The current problem is still not found....

 

Thanks

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

The log is :
BLE Wireless Power Receiver Code Example
BLE Stack Version: 5.0.10.365
Hardware Error

0 Likes
lock attach
Attachments are accessible only for community members.
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Please check the attached PSoC6BLE_FindMe project. Please send the UART Logs.
In the Configure System Clocks window, add the load capacitor, crystal accuracy, and startup time details in the AltHF clock configure window.

Thanks,
P Yugandhar.

0 Likes
lock attach
Attachments are accessible only for community members.
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

1. The program is configured with IO port, and others are not modified
2. The program cannot be started ,and  no log 
3. Please see the attachment for others

4. Is there a problem with the circuit design

Thanks  very much

0 Likes
Frank_vec
Level 4
Level 4
Distributor - Zenitron(GC)
50 replies posted First like received First comment on blog

Could you give me a schematic diagram for CY8C6347LQI-BLD52  BLE,Thanks

0 Likes
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

You can refer to page 39 in the PSoC63 BLE family datasheet for CY8C63x6/7, 68-QFN package.

Also, you can refer to the PSoC 6 MCU Hardware Design Considerations datasheet. 

Thanks,

P Yugandhar. 

0 Likes