PSoC_Creator_4.2_es100_b641 build issue

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.
SuRa_2245351
Level 4
Level 4
First like received First like given

I had created project attached below using PSoC creator(PSoCCreatorSetup_4.2_b574) and it is working fine, but now I have  updated to PSoC creator(PSoCCreatorSetup_4.2_es100_b641) and simply built the project and programmed PSoC 6 BLE (CY8CKIT-062-BLE)

with the ".hex" file. Now its not working, even UART is also not working , I checked using both methods by replacing

and without replacing files when window for updated configuration files popped. Hardware remains same for both the cases.

0 Likes
1 Solution
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

"I tested your project. It's fine about UART printing function.

There is no printing just because code execution is halted in init_RTC(). More specifically, the halt is caused by below code snippet:

if(RTC_DateTime.year > CY_RTC_MAX_YEAR) /* If user input 4 digits Year information, set 2 digits Year */

    {

        RTC_DateTime.year = RTC_DateTime.year % 100u;

    }

RTC_DateTime.year then becomes 0, and beyond range defined in CY_RTC_IS_YEAR_LONG_VALID(year).

Comment the above code snippet, code can executed smoothly with normal printing function.

Please check your code logic. "

From

FWAN

View solution in original post

0 Likes
4 Replies