Modustoolbox 2.1 inconsistent bugs device configurator 2.1 does not work well?

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

cross mob
MaOs_4728266
Level 1
Level 1
First question asked First reply posted

Hello I am new to Cypress.

I am using kit CY8PROTO-062-4343W

I would appreciate your help

I am following the videos getting starting https://www.cypress.com/video-library/PSoC-Software/modustoolbox-101-lesson-1-2-blinky-led/610051

1. I try to find blinkLed and is not there. Do you know where I can find it?

2. When I creating a new Application, I click New application then I chose "CY8PROTO-062-4343W", "Hello world"  Example. when open the device configurator 2.1 and click the tap pins, the IDE shows me a different MCU the (CY8C6245LQI-S3D72).  This is not correct.  How I can fix this error? thank you

0 Likes
1 Solution
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,

1

I make the program from "Empty PSoC6 App" as follows:

#include "cy_pdl.h"

#include "cyhal.h"

#include "cybsp.h"

int main(void)

{

    cy_rslt_t result;

    /* Initialize the device and board peripherals */

    result = cybsp_init() ;

    if (result != CY_RSLT_SUCCESS)

    {

        CY_ASSERT(0);

    }

    __enable_irq();

    for (;;)

    {

        Cy_GPIO_Inv(LED_RED_PORT, LED_RED_PIN);

        Cy_SysLib_Delay(1000/*msec*/);

    }

}

The setting of Device Configuration is as follows:

Clipboard02.jpg

Unfortunately, I don't have a board, so I would appreciate it if you could check it and report it.

Regards,
Kenshow

View solution in original post

0 Likes
6 Replies
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi maos_4728266,

1

Unfortunately, I haven't found the program.

It's a very simple program, so edit main.c directly.

2

When you created a new Application, did you select "CY8PROTO-062-4343W"?

I can select CY8C624ABZI-D44 which is used in CY8PROTO-062-4343W at Device configuration2.1.

Regards,

Kenshow

Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,

1

I make the program from "Empty PSoC6 App" as follows:

#include "cy_pdl.h"

#include "cyhal.h"

#include "cybsp.h"

int main(void)

{

    cy_rslt_t result;

    /* Initialize the device and board peripherals */

    result = cybsp_init() ;

    if (result != CY_RSLT_SUCCESS)

    {

        CY_ASSERT(0);

    }

    __enable_irq();

    for (;;)

    {

        Cy_GPIO_Inv(LED_RED_PORT, LED_RED_PIN);

        Cy_SysLib_Delay(1000/*msec*/);

    }

}

The setting of Device Configuration is as follows:

Clipboard02.jpg

Unfortunately, I don't have a board, so I would appreciate it if you could check it and report it.

Regards,
Kenshow

0 Likes

Hello Nota

Thank you so much, I tried and it worked, I also tried using the HALS  functions and using the configuration that you noted and it worked as well.

#include "cy_pdl.h"

#include "cyhal.h"

#include "cybsp.h"

int main(void)

{

    cy_rslt_t result;

    /* Initialize the device and board peripherals */

    result = cybsp_init() ;

    if (result != CY_RSLT_SUCCESS)

    {

        CY_ASSERT(0);

    }

    __enable_irq();

    for (;;)

    {

    cyhal_gpio_toggle(LD4_RED_HAL_PORT_PIN);

    cyhal_system_delay_ms(500);

    }

}

/* [] END OF FILE */

0 Likes
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,

Congratulations!

I was relieved to hear your report.

Thanks,

Kenshow

0 Likes

Hi, I beleive answe from @NoTa_459116 was helpful in Q#1.
Regarding Q2, please can you reproduce the issue with following the steps to create an new MTB project ? y

I repeated the steps today to create a hello world program and couldn't reproduce the issue you mentioned. Please find the screenshot here below to see the correct target IC selected.

pastedImage_2.png

0 Likes

Hello Ravikiran.

it seems that I was doing something wrong.  I checked it again and everything is working great.

Thank you so much for your help.

0 Likes