Date   

Booting from QSPI with mimxrt1050 EVK

mbarrett@...
 

Hi All,

I'm trying to flash code, and boot out of the QSPI memory on the MIMXRT1050 EVKB board. Does anyone have experience with this? I've been unable to successfully flash so far.

Here are the steps I've taken
1. Swap 0 ohm resistors on the board as mentioned in the user guide and schematic to connect QSPI device to Soc (instead of Hyperflash part). I've triple checked that these are correct.
2. Load JLink OpenSDA firmware for the MIMXRT1050-EVK-QSPI (hold the switch, copy bin file to "MAINTENANCE" drive....)
3. Change toggle switch SW7 on board to 0.0.1.0
4. Build and load samples/basic/blinky with "west build -b mimxrt1050_evk_qspi" and "west flash"

Does anyone know if I'm missing something? Do these steps look correct?

Thanks for the help!
Marshal


Hello! #stm32

Ajit Ananthadevan
 

New here just stumbled on Zephyr. I  come from a PIC background and moved to STM32, loved it.... except the HAL framework...
 
I like how everything is integrated in Zephyr and how easy it is to put to gether a "IOT gateway" project. In practice that's all I do!!! But had major difficulty putting this together in other frameworks....
 
I look forward to working with this group in the rollercoaster ahead and learning Zephyr!!


Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

Chen, Jason <jason.chen@...>
 

Hi

 

                Do you have verification? The executable files I compiled with cypress official software have logs. It is work well.

 

Thx

Jason Chen

 

From: Gerson Fernando Budke <nandojve@...>
Date: Wednesday, December 22, 2021 at 8:56 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Hi Jason,

 

mentioned that "The most complex part is short circuit pins 14 and 15 from U13. That connect UART_RTS with UART_CTS from KitProg2."

 

KitProg CDC-ACM requires RTS/CTS pins to work, see 3.2.4 USB-UART Bridge from "PSoC 6 BLE Pioneer Kit Guide.pdf"

 

Gerson

 

Em ter., 21 de dez. de 2021 às 23:10, Chen, Jason <jason.chen@...> escreveu:

Hi

 

                Thank you for replying.

 

                Actually, I also ran cy8ckit_062_ble_m0 boards without any log output, just like cy8ckit_062_wifi_bt_m0 boards.

 

                Could you test it with cy8ckit_062_ble_m0 again? Then if you can run successfully, Please send me the .hex file or .elf file.

 

Thx

Jason Chen

 

From: Gerson Fernando Budke <nandojve@...>
Date: Wednesday, December 22, 2021 at 1:11 AM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Jason,

 

I have Zephyr running with cy8ckit_062_ble_m0. I would ask you to review board configs.

Compare cy8ckit_062_wifi_bt_m0 with cy8ckit_062_ble_m0.

 

Regards,

Gerson

 

Em ter., 21 de dez. de 2021 às 13:56, nandojve via lists.zephyrproject.org <nandojve=gmail.com@...> escreveu:

I do not have the PSoC6 WiFi-BT Pioneer Kit board but I introduced the PSoC6 BLE Pioneer Kit and made

all improvements using that board, which is the same SoC.

 

What example did you use?

 

Em ter., 21 de dez. de 2021 às 13:12, Chen, Jason <jason.chen@...> escreveu:

Hi

                I want to add some more comments.

                I use the zephyr example with PSoC6 WiFi-BT Pioneer Kit. It has built successful and flash .elf file to boards. It seems that the board can not run.

                I just debug  found that the program is dead as follow code:

 

                                SECTION_FUNC(TEXT, z_SysNmiOnReset)

                                                wfi

                                                b z_SysNmiOnReset

 

                Would you like help us to fix the issue and update the zephyr project?  Much appreciate it.

 

Thx

Jason Chen

 

From: "Chen, Jason" <jason.chen@...>
Date: Tuesday, December 21, 2021 at 11:54 PM
To: Gerson Fernando Budke <nandojve@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Hi Gerson

 

                Thank you for replying me.

 

       My board is PSoC6 WiFi-BT Pioneer Kit, Exactly the same as the boards on the Zephyr website. The link I refer to is https://docs.zephyrproject.org/latest/boards/arm/cy8ckit_062_wifi_bt/doc/index.html

                I would like to ask whether this project has been validated?

Thx

Jason Chen

 

 

 

From: Gerson Fernando Budke <nandojve@...>
Date: Tuesday, December 21, 2021 at 11:43 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

*** Please use caution this is an externally originating email. ***

Hi Jason,

 

Are you using P13-0, P13-1 ? See below:

The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.

To enable shields, uart was directioned to another port. You can enable any if you prefer.

 

It shows a board review example. It can be useful for you.

 

BTW, there is almost no support for this boards, currently.

 

&uart6 {

status = "okay";

current-speed = <115200>;

interrupt-parent = <&intmux_ch21>;

pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;

};

 

image.png

 

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

nandojve@...
 

Hi Jason,

mentioned that "The most complex part is short circuit pins 14 and 15 from U13. That connect UART_RTS with UART_CTS from KitProg2."

KitProg CDC-ACM requires RTS/CTS pins to work, see 3.2.4 USB-UART Bridge from "PSoC 6 BLE Pioneer Kit Guide.pdf"

Gerson

Em ter., 21 de dez. de 2021 às 23:10, Chen, Jason <jason.chen@...> escreveu:

Hi

 

                Thank you for replying.

 

                Actually, I also ran cy8ckit_062_ble_m0 boards without any log output, just like cy8ckit_062_wifi_bt_m0 boards.

 

                Could you test it with cy8ckit_062_ble_m0 again? Then if you can run successfully, Please send me the .hex file or .elf file.

 

Thx

Jason Chen

 

From: Gerson Fernando Budke <nandojve@...>
Date: Wednesday, December 22, 2021 at 1:11 AM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Jason,

 

I have Zephyr running with cy8ckit_062_ble_m0. I would ask you to review board configs.

Compare cy8ckit_062_wifi_bt_m0 with cy8ckit_062_ble_m0.

 

Regards,

Gerson

 

Em ter., 21 de dez. de 2021 às 13:56, nandojve via lists.zephyrproject.org <nandojve=gmail.com@...> escreveu:

I do not have the PSoC6 WiFi-BT Pioneer Kit board but I introduced the PSoC6 BLE Pioneer Kit and made

all improvements using that board, which is the same SoC.

 

What example did you use?

 

Em ter., 21 de dez. de 2021 às 13:12, Chen, Jason <jason.chen@...> escreveu:

Hi

                I want to add some more comments.

                I use the zephyr example with PSoC6 WiFi-BT Pioneer Kit. It has built successful and flash .elf file to boards. It seems that the board can not run.

                I just debug  found that the program is dead as follow code:

 

                                SECTION_FUNC(TEXT, z_SysNmiOnReset)

                                                wfi

                                                b z_SysNmiOnReset

 

                Would you like help us to fix the issue and update the zephyr project?  Much appreciate it.

 

Thx

Jason Chen

 

From: "Chen, Jason" <jason.chen@...>
Date: Tuesday, December 21, 2021 at 11:54 PM
To: Gerson Fernando Budke <nandojve@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Hi Gerson

 

                Thank you for replying me.

 

       My board is PSoC6 WiFi-BT Pioneer Kit, Exactly the same as the boards on the Zephyr website. The link I refer to is https://docs.zephyrproject.org/latest/boards/arm/cy8ckit_062_wifi_bt/doc/index.html

                I would like to ask whether this project has been validated?

Thx

Jason Chen

 

 

 

From: Gerson Fernando Budke <nandojve@...>
Date: Tuesday, December 21, 2021 at 11:43 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

*** Please use caution this is an externally originating email. ***

Hi Jason,

 

Are you using P13-0, P13-1 ? See below:

The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.

To enable shields, uart was directioned to another port. You can enable any if you prefer.

 

It shows a board review example. It can be useful for you.

 

BTW, there is almost no support for this boards, currently.

 

&uart6 {

status = "okay";

current-speed = <115200>;

interrupt-parent = <&intmux_ch21>;

pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;

};

 

image.png

 

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

Chen, Jason <jason.chen@...>
 

Hi

 

                Thank you for replying.

 

                Actually, I also ran cy8ckit_062_ble_m0 boards without any log output, just like cy8ckit_062_wifi_bt_m0 boards.

 

                Could you test it with cy8ckit_062_ble_m0 again? Then if you can run successfully, Please send me the .hex file or .elf file.

 

Thx

Jason Chen

 

From: Gerson Fernando Budke <nandojve@...>
Date: Wednesday, December 22, 2021 at 1:11 AM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Jason,

 

I have Zephyr running with cy8ckit_062_ble_m0. I would ask you to review board configs.

Compare cy8ckit_062_wifi_bt_m0 with cy8ckit_062_ble_m0.

 

Regards,

Gerson

 

Em ter., 21 de dez. de 2021 às 13:56, nandojve via lists.zephyrproject.org <nandojve=gmail.com@...> escreveu:

I do not have the PSoC6 WiFi-BT Pioneer Kit board but I introduced the PSoC6 BLE Pioneer Kit and made

all improvements using that board, which is the same SoC.

 

What example did you use?

 

Em ter., 21 de dez. de 2021 às 13:12, Chen, Jason <jason.chen@...> escreveu:

Hi

                I want to add some more comments.

                I use the zephyr example with PSoC6 WiFi-BT Pioneer Kit. It has built successful and flash .elf file to boards. It seems that the board can not run.

                I just debug  found that the program is dead as follow code:

 

                                SECTION_FUNC(TEXT, z_SysNmiOnReset)

                                                wfi

                                                b z_SysNmiOnReset

 

                Would you like help us to fix the issue and update the zephyr project?  Much appreciate it.

 

Thx

Jason Chen

 

From: "Chen, Jason" <jason.chen@...>
Date: Tuesday, December 21, 2021 at 11:54 PM
To: Gerson Fernando Budke <nandojve@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Hi Gerson

 

                Thank you for replying me.

 

       My board is PSoC6 WiFi-BT Pioneer Kit, Exactly the same as the boards on the Zephyr website. The link I refer to is https://docs.zephyrproject.org/latest/boards/arm/cy8ckit_062_wifi_bt/doc/index.html

                I would like to ask whether this project has been validated?

Thx

Jason Chen

 

 

 

From: Gerson Fernando Budke <nandojve@...>
Date: Tuesday, December 21, 2021 at 11:43 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

*** Please use caution this is an externally originating email. ***

Hi Jason,

 

Are you using P13-0, P13-1 ? See below:

The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.

To enable shields, uart was directioned to another port. You can enable any if you prefer.

 

It shows a board review example. It can be useful for you.

 

BTW, there is almost no support for this boards, currently.

 

&uart6 {

status = "okay";

current-speed = <115200>;

interrupt-parent = <&intmux_ch21>;

pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;

};

 

image.png

 

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

nandojve@...
 

Jason,

I have Zephyr running with cy8ckit_062_ble_m0. I would ask you to review board configs.
Compare cy8ckit_062_wifi_bt_m0 with cy8ckit_062_ble_m0.

Regards,
Gerson

Em ter., 21 de dez. de 2021 às 13:56, nandojve via lists.zephyrproject.org <nandojve=gmail.com@...> escreveu:

I do not have the PSoC6 WiFi-BT Pioneer Kit board but I introduced the PSoC6 BLE Pioneer Kit and made
all improvements using that board, which is the same SoC.

What example did you use?

Em ter., 21 de dez. de 2021 às 13:12, Chen, Jason <jason.chen@...> escreveu:

Hi

                I want to add some more comments.

                I use the zephyr example with PSoC6 WiFi-BT Pioneer Kit. It has built successful and flash .elf file to boards. It seems that the board can not run.

                I just debug  found that the program is dead as follow code:

 

                                SECTION_FUNC(TEXT, z_SysNmiOnReset)

                                                wfi

                                                b z_SysNmiOnReset

 

                Would you like help us to fix the issue and update the zephyr project?  Much appreciate it.

 

Thx

Jason Chen

 

From: "Chen, Jason" <jason.chen@...>
Date: Tuesday, December 21, 2021 at 11:54 PM
To: Gerson Fernando Budke <nandojve@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Hi Gerson

 

                Thank you for replying me.

 

       My board is PSoC6 WiFi-BT Pioneer Kit, Exactly the same as the boards on the Zephyr website. The link I refer to is https://docs.zephyrproject.org/latest/boards/arm/cy8ckit_062_wifi_bt/doc/index.html

                I would like to ask whether this project has been validated?

Thx

Jason Chen

 

 

 

From: Gerson Fernando Budke <nandojve@...>
Date: Tuesday, December 21, 2021 at 11:43 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

*** Please use caution this is an externally originating email. ***

Hi Jason,

 

Are you using P13-0, P13-1 ? See below:

The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.

To enable shields, uart was directioned to another port. You can enable any if you prefer.

 

It shows a board review example. It can be useful for you.

 

BTW, there is almost no support for this boards, currently.

 

&uart6 {

status = "okay";

current-speed = <115200>;

interrupt-parent = <&intmux_ch21>;

pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;

};

 

image.png

 

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

nandojve@...
 

I do not have the PSoC6 WiFi-BT Pioneer Kit board but I introduced the PSoC6 BLE Pioneer Kit and made
all improvements using that board, which is the same SoC.

What example did you use?

Em ter., 21 de dez. de 2021 às 13:12, Chen, Jason <jason.chen@...> escreveu:

Hi

                I want to add some more comments.

                I use the zephyr example with PSoC6 WiFi-BT Pioneer Kit. It has built successful and flash .elf file to boards. It seems that the board can not run.

                I just debug  found that the program is dead as follow code:

 

                                SECTION_FUNC(TEXT, z_SysNmiOnReset)

                                                wfi

                                                b z_SysNmiOnReset

 

                Would you like help us to fix the issue and update the zephyr project?  Much appreciate it.

 

Thx

Jason Chen

 

From: "Chen, Jason" <jason.chen@...>
Date: Tuesday, December 21, 2021 at 11:54 PM
To: Gerson Fernando Budke <nandojve@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Hi Gerson

 

                Thank you for replying me.

 

       My board is PSoC6 WiFi-BT Pioneer Kit, Exactly the same as the boards on the Zephyr website. The link I refer to is https://docs.zephyrproject.org/latest/boards/arm/cy8ckit_062_wifi_bt/doc/index.html

                I would like to ask whether this project has been validated?

Thx

Jason Chen

 

 

 

From: Gerson Fernando Budke <nandojve@...>
Date: Tuesday, December 21, 2021 at 11:43 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

*** Please use caution this is an externally originating email. ***

Hi Jason,

 

Are you using P13-0, P13-1 ? See below:

The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.

To enable shields, uart was directioned to another port. You can enable any if you prefer.

 

It shows a board review example. It can be useful for you.

 

BTW, there is almost no support for this boards, currently.

 

&uart6 {

status = "okay";

current-speed = <115200>;

interrupt-parent = <&intmux_ch21>;

pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;

};

 

image.png

 

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

Chen, Jason <jason.chen@...>
 

Hi

                I want to add some more comments.

                I use the zephyr example with PSoC6 WiFi-BT Pioneer Kit. It has built successful and flash .elf file to boards. It seems that the board can not run.

                I just debug  found that the program is dead as follow code:

 

                                SECTION_FUNC(TEXT, z_SysNmiOnReset)

                                                wfi

                                                b z_SysNmiOnReset

 

                Would you like help us to fix the issue and update the zephyr project?  Much appreciate it.

 

Thx

Jason Chen

 

From: "Chen, Jason" <jason.chen@...>
Date: Tuesday, December 21, 2021 at 11:54 PM
To: Gerson Fernando Budke <nandojve@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

Hi Gerson

 

                Thank you for replying me.

 

       My board is PSoC6 WiFi-BT Pioneer Kit, Exactly the same as the boards on the Zephyr website. The link I refer to is https://docs.zephyrproject.org/latest/boards/arm/cy8ckit_062_wifi_bt/doc/index.html

                I would like to ask whether this project has been validated?

Thx

Jason Chen

 

 

 

From: Gerson Fernando Budke <nandojve@...>
Date: Tuesday, December 21, 2021 at 11:43 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

*** Please use caution this is an externally originating email. ***

Hi Jason,

 

Are you using P13-0, P13-1 ? See below:

The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.

To enable shields, uart was directioned to another port. You can enable any if you prefer.

 

It shows a board review example. It can be useful for you.

 

BTW, there is almost no support for this boards, currently.

 

&uart6 {

status = "okay";

current-speed = <115200>;

interrupt-parent = <&intmux_ch21>;

pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;

};

 

image.png

 

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


Re: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

Chen, Jason <jason.chen@...>
 

Hi Gerson

 

                Thank you for replying me.

 

       My board is PSoC6 WiFi-BT Pioneer Kit, Exactly the same as the boards on the Zephyr website. The link I refer to is https://docs.zephyrproject.org/latest/boards/arm/cy8ckit_062_wifi_bt/doc/index.html

                I would like to ask whether this project has been validated?

Thx

Jason Chen

 

 

 

From: Gerson Fernando Budke <nandojve@...>
Date: Tuesday, December 21, 2021 at 11:43 PM
To: "Chen, Jason" <jason.chen@...>
Cc: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [EXT] Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

 

*** Please use caution this is an externally originating email. ***

Hi Jason,

 

Are you using P13-0, P13-1 ? See below:

The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.

To enable shields, uart was directioned to another port. You can enable any if you prefer.

 

It shows a board review example. It can be useful for you.

 

BTW, there is almost no support for this boards, currently.

 

&uart6 {

status = "okay";

current-speed = <115200>;

interrupt-parent = <&intmux_ch21>;

pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;

};

 

image.png

 

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


Re: [Zephyr-devel] cy8ckit_062_wifi_bt_m0 board issue

nandojve@...
 

Hi Jason,

Are you using P13-0, P13-1 ? See below:
The PSoC-6 has a weird connection with an onboard psoc programmer. It uses the same pins from the Arduino UART Connector.
To enable shields, uart was directioned to another port. You can enable any if you prefer.

It shows a board review example. It can be useful for you.

BTW, there is almost no support for this boards, currently.

&uart6 {
status = "okay";
current-speed = <115200>;
interrupt-parent = <&intmux_ch21>;
pinctrl-0 = <&p13_0_uart6_rx &p13_1_uart6_tx>;
};

image.png

Em ter., 21 de dez. de 2021 às 12:08, Chen, Jason via lists.zephyrproject.org <jason.chen=assaabloy.com@...> escreveu:

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


cy8ckit_062_wifi_bt_m0 board issue

Chen, Jason <jason.chen@...>
 

Hi all

 

I have downloaded the zephyr project completely, I plan to use the cy8ckit_062_wifi_bt_m0 board, I have built successfully, there is no error, but there is no log output in the corresponding development board. Has the cy8CKIT_062_wifi_bt_M0 board of zephyr been tested?

 

If your build executable has data output, can you send me the.HEX or.elf file?

 

 

Thx

Jason chen

 

 

Best regards,

Jason Chen

Firmware Lead - APAC Ecosystem Team

ASSA ABLOY (China) Investment Company Limited
Mobile: +86 15921614136

Email: jason.chen@...

www.assaabloy.com

Experience a safer and more open world

 

 

 

 


SPI problem

Dominika Sułot <dominikasulot@...>
 

Hi,
 is there an option to run SPI on zephyr driver with MOSI with option Active_Low? I would really appreciate your answer.
Best regards,
Dominika Sułot


Analog and temperature sensors on BT610 #driver #nrf52840 #gpio

Garrett
 

Howdy y'all, I am working on bringing up some of the features on the Laird BT610 board. I've been able to bring up the digital and magnetic sensors. However, I'm a bit confused with the analog and temperature sensors. In the device tree, they look like digital GPIOs to me and I don't see an ADC. What is the recommended way of accessing these devices? Any help would be appreciated. 

Thanks,
Garrett


bt_le_per_adv_start() failing successfully

Jason Bens
 

Hi,

 

I’m developing a broadcast audio application with the nRF5340 SoC, based on the iso_broadcast and iso_receive sample.  At the moment, I can connect the broadcaster with multiple receivers and transmit stereo audio.  I wanted to increase the bitrate of LC3-encoded audio as I had noticed that the output wasn’t very nice when I bumped the system up to 32-bit stereo.  Unfortunately, when I increased the bitrate from 96000 to 110000 (the threshold at which I see this issue) , the receiver was no longer able to connect to the broadcaster.  The receiver is looping at ‘if (!per_adv_found && info->interval)’, where info->interval is 0 for all scanned devices.

 

My suspicion is that the broadcaster has stopped advertising.  When I step through the code, though, it doesn’t seem as though bt_le_ext_adv_create(), bt_le_per_adv_start(), or bt_le_ext_adv_start() are returning errors.  Rather, execution continues without issue.  I’ve also created a dummy sent callback and passed it to bt_le_ext_adv_create(), but this callback isn’t being called, either.  What else can I do to troubleshoot this?

 

Thanks,

 

  • Jason


Re: CPP support

David Leach
 

Any consideration in upstreaming the C++ versions of the semaphores and mutexs?

-----Original Message-----
From: users@... <users@...> On Behalf Of Kim Boendergaard via lists.zephyrproject.org
Sent: Wednesday, December 15, 2021 1:30 AM
To: Guy Morand <guy.morand@...>; Zephyr-users@...
Subject: Re: [Zephyr-users] CPP support

I think you are missing CONFIG_LIB_CPLUSPLUS=y

When it comes to threads (and semaphores, mutex etc) the Zephyr implementation is lacking a bit, but except from that it is working fine.
We have made our own C++ versions of semaphores, mutex etc based on the Zephyr kernel API.

Usage of iostream takes up a lot of flash resources

Best regards,

Kim Bøndergaard

-----Original Message-----
From: users@... <users@...> On Behalf Of Guy Morand
Sent: Tuesday, 14 December 2021 17.22
To: Zephyr-users@...
Subject: [Zephyr-users] CPP support

EXTERNAL - Use caution when opening link(s) or attachment(s) ________________________________

Hi Zephyr users!

I'm new to Zephyr and was asked to write a small "study" project in c++.
I didn't find much in the documentation about c++, except one sample and the following page:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fdocs.zephyrproject.org%2Flatest%2Freference%2Fkernel%2Fother%2Fcxx_support.html__%3B!!KHGsRxShrw!q__J4PjhnarC-Jb1FvV4Wwd6ge_OL5p7ZPC38_w0Agi5c7hMfT_zp-SLVDmfr3bDSstITFXG%24&amp;data=04%7C01%7Cdavid.leach%40nxp.com%7C375d986cd81b430ece7d08d9bfc5b672%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637751678161294067%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=KxWvulJLRIlpVEki%2F9dDofmAa0l1LaVlbeKUyFMVCkk%3D&amp;reserved=0


I'm using the Zephyr SDK 0.13.2 and I started with:

```
#include <memory>

void main(void) {
std::unique_ptr<int> intValue = std::make_unique<int>(1234);

while(1) {
;
}
}
```

My prj.conf contains:

```
CONFIG_CPLUSPLUS=y
CONFIG_STD_CPP20=y
```

Unfortunately, it doesn't build although I can find the <memory> header file in the SDK:

```
main.cpp:6:10: fatal error: memory: No such file or directory
6 | #include <memory>
| ^~~~~~~~
```

* Am I missing something?
* Is the current cpp status is very limited and should avoid standard
library? (what would makes sense :D)

Kind regards,

Guy







[The information contained in this email (including any attachments) is confidential and is intended solely for the use of the named addressee. Any unauthorized use, disclosure, reproduction, copying, distribution, or other form of unauthorized dissemination of the contents is expressly prohibited. If you have received this communication in error, please notify the sender immediately by email and delete the original message. Opinions, conclusions and other information in this message represent the opinion of the sender and do not necessarily represent or reflect the views and opinions of Esco Lifesciences Group companies.]


Re: Using mcuboot with STM32H7

Erwan Gouriou
 

Hi Per-Erik,

There's an on-going change in mcuboot to support extended write sizes:

This should help in the support of H7 and I guess you should start from here.
I don't have specific info on the impact of dual bank, but I'd suggest to ask
directly in mcuboot discussions: https://github.com/mcu-tools/mcuboot/discussions

hih
Erwan 



On Tue, 14 Dec 2021 at 15:02, Per-Erik Klarenfjord <pek@...> wrote:

In our project we are using the microcontroller STM32H753. We are trying to use mcuboot with the sample smp_svr (overlay-udp.conf) for software updates over Ethernet. This has been working good for the F767 microcontroller, but we are failing when using the H753 microcontroller.

 

From what I’ve read on git-hub I’m not sure if mcuboot right now is compatible with the STM32H7-series due to changes in the flash (dual banks and new byte alignment). Am I right or do you know any walk arounds for using STM32H7-series with mcuboot?

 

I’ve done the following steps when trying to use mcuboot with ”smp_svr”:

 

  1. Build and flash mcuboot. The board boots and everything seems good.

 

  1. Build, sign and flash the sample ”smp_svr” to flash partition slot 0. For the signing procedure to work I hade to add the argument ”align 8” when signing (default was ”align 32”), see below. Mcuboot and smp_svr boots and everything seems good.

> west sign -t imgtool -- --align 8 --key ~/zephyrproject/bootloader/mcuboot/root-rsa-2048.pem

 

  1. Upload a second image to flash partition slot 1, usign mcumgr as the tool for uploading. No errors.

>./mcumgr --conntype udp --connstring=[192.168.2.25]:1337 image upload ~/zephyrproject/zephyr/build/zephyr/zephyr.signed.bin

 

  1. List the images. Both images appear as intended.

>./mcumgr --conntype udp --connstring=[192.168.2.25]:1337 image list

 

Images:

image=0 slot=0

    version: 0.0.0

    bootable: true

    flags: active confirmed

    hash: 5bc6846f35e3f01fcb8351b1e3138ecf9f24039776e3b154095ec695e12d9e79

image=0 slot=1

    version: 0.0.0

    bootable: true

    flags:

    hash: 1b3543e439b29e03ac380f46f87e907fec45cc6aff1cd3b75c75ff570c85f174

Split status: N/A (0)

 

  1. Test the image with the hash code. It fails.

>./mcumgr --conntype udp --connstring=[192.168.2.25]:1337 image test 1b3543e439b29e03ac380f46f87e907fec45cc6aff1cd3b75c75ff570c85f174

 

Error: 1

 

The following is printed on the UART debug port:

[00:01:36.416,000] <err> flash_stm32h7: Write offset not aligned on flashword length. Offset: 0xbfff0, 2

[00:01:36.416,000] <err> flash_stm32h7: Write range invalid. Offset: 786416, len: 16 

 

 

Do you know how to solve this alignment error when using mcuboot with the STM32H7-series of microcontrollers?

 

Regards, Per-Erik


Re: CPP support

Kim Boendergaard <kim.boendergaard@...>
 

I think you are missing CONFIG_LIB_CPLUSPLUS=y

When it comes to threads (and semaphores, mutex etc) the Zephyr implementation is lacking a bit, but except from that it is working fine.
We have made our own C++ versions of semaphores, mutex etc based on the Zephyr kernel API.

Usage of iostream takes up a lot of flash resources

Best regards,

Kim Bøndergaard

-----Original Message-----
From: users@... <users@...> On Behalf Of Guy Morand
Sent: Tuesday, 14 December 2021 17.22
To: Zephyr-users@...
Subject: [Zephyr-users] CPP support

EXTERNAL — Use caution when opening link(s) or attachment(s) ________________________________

Hi Zephyr users!

I'm new to Zephyr and was asked to write a small "study" project in c++.
I didn't find much in the documentation about c++, except one sample and the following page:
https://urldefense.com/v3/__https://docs.zephyrproject.org/latest/reference/kernel/other/cxx_support.html__;!!KHGsRxShrw!q__J4PjhnarC-Jb1FvV4Wwd6ge_OL5p7ZPC38_w0Agi5c7hMfT_zp-SLVDmfr3bDSstITFXG$


I'm using the Zephyr SDK 0.13.2 and I started with:

```
#include <memory>

void main(void) {
std::unique_ptr<int> intValue = std::make_unique<int>(1234);

while(1) {
;
}
}
```

My prj.conf contains:

```
CONFIG_CPLUSPLUS=y
CONFIG_STD_CPP20=y
```

Unfortunately, it doesn't build although I can find the <memory> header file in the SDK:

```
main.cpp:6:10: fatal error: memory: No such file or directory
6 | #include <memory>
| ^~~~~~~~
```

* Am I missing something?
* Is the current cpp status is very limited and should avoid standard
library? (what would makes sense :D)

Kind regards,

Guy







[The information contained in this email (including any attachments) is confidential and is intended solely for the use of the named addressee. Any unauthorized use, disclosure, reproduction, copying, distribution, or other form of unauthorized dissemination of the contents is expressly prohibited. If you have received this communication in error, please notify the sender immediately by email and delete the original message. Opinions, conclusions and other information in this message represent the opinion of the sender and do not necessarily represent or reflect the views and opinions of Esco Lifesciences Group companies.]


Re: CPP support

Guy Morand
 

Yes, it works with:
```
CONFIG_NEWLIB_LIBC=y
CONFIG_CPLUSPLUS=y
CONFIG_STD_CPP20=y
CONFIG_LIB_CPLUSPLUS=y
```

Thanks a lot for the pointers!

Regards,

Guy

On 15/12/2021 08:30, Kim Boendergaard wrote:
I think you are missing CONFIG_LIB_CPLUSPLUS=y
When it comes to threads (and semaphores, mutex etc) the Zephyr implementation is lacking a bit, but except from that it is working fine.
We have made our own C++ versions of semaphores, mutex etc based on the Zephyr kernel API.
Usage of iostream takes up a lot of flash resources
Best regards,
Kim Bøndergaard
-----Original Message-----
From: users@... <users@...> On Behalf Of Guy Morand
Sent: Tuesday, 14 December 2021 17.22
To: Zephyr-users@...
Subject: [Zephyr-users] CPP support
EXTERNAL — Use caution when opening link(s) or attachment(s) ________________________________
Hi Zephyr users!
I'm new to Zephyr and was asked to write a small "study" project in c++.
I didn't find much in the documentation about c++, except one sample and the following page:
https://urldefense.com/v3/__https://docs.zephyrproject.org/latest/reference/kernel/other/cxx_support.html__;!!KHGsRxShrw!q__J4PjhnarC-Jb1FvV4Wwd6ge_OL5p7ZPC38_w0Agi5c7hMfT_zp-SLVDmfr3bDSstITFXG$
I'm using the Zephyr SDK 0.13.2 and I started with:
```
#include <memory>
void main(void) {
std::unique_ptr<int> intValue = std::make_unique<int>(1234);
while(1) {
;
}
}
```
My prj.conf contains:
```
CONFIG_CPLUSPLUS=y
CONFIG_STD_CPP20=y
```
Unfortunately, it doesn't build although I can find the <memory> header file in the SDK:
```
main.cpp:6:10: fatal error: memory: No such file or directory
6 | #include <memory>
| ^~~~~~~~
```
* Am I missing something?
* Is the current cpp status is very limited and should avoid standard
library? (what would makes sense :D)
Kind regards,
Guy
[The information contained in this email (including any attachments) is confidential and is intended solely for the use of the named addressee. Any unauthorized use, disclosure, reproduction, copying, distribution, or other form of unauthorized dissemination of the contents is expressly prohibited. If you have received this communication in error, please notify the sender immediately by email and delete the original message. Opinions, conclusions and other information in this message represent the opinion of the sender and do not necessarily represent or reflect the views and opinions of Esco Lifesciences Group companies.]
--
bytes at work
Technoparkstrasse 7
CH-8406 Winterthur
Switzerland

phone: +41 52 213 79 79


CPP support

Guy Morand
 

Hi Zephyr users!

I'm new to Zephyr and was asked to write a small "study" project in c++. I didn't find much in the documentation about c++, except one sample and the following page:
https://docs.zephyrproject.org/latest/reference/kernel/other/cxx_support.html


I'm using the Zephyr SDK 0.13.2 and I started with:

```
#include <memory>

void main(void) {
std::unique_ptr<int> intValue = std::make_unique<int>(1234);

while(1) {
;
}
}
```

My prj.conf contains:

```
CONFIG_CPLUSPLUS=y
CONFIG_STD_CPP20=y
```

Unfortunately, it doesn't build although I can find the <memory> header file in the SDK:

```
main.cpp:6:10: fatal error: memory: No such file or directory
6 | #include <memory>
| ^~~~~~~~
```

* Am I missing something?
* Is the current cpp status is very limited and should avoid standard
library? (what would makes sense :D)

Kind regards,

Guy


Using mcuboot with STM32H7

Per-Erik Klarenfjord
 

In our project we are using the microcontroller STM32H753. We are trying to use mcuboot with the sample smp_svr (overlay-udp.conf) for software updates over Ethernet. This has been working good for the F767 microcontroller, but we are failing when using the H753 microcontroller.

 

From what I’ve read on git-hub I’m not sure if mcuboot right now is compatible with the STM32H7-series due to changes in the flash (dual banks and new byte alignment). Am I right or do you know any walk arounds for using STM32H7-series with mcuboot?

 

I’ve done the following steps when trying to use mcuboot with ”smp_svr”:

 

  1. Build and flash mcuboot. The board boots and everything seems good.

 

  1. Build, sign and flash the sample ”smp_svr” to flash partition slot 0. For the signing procedure to work I hade to add the argument ”align 8” when signing (default was ”align 32”), see below. Mcuboot and smp_svr boots and everything seems good.

> west sign -t imgtool -- --align 8 --key ~/zephyrproject/bootloader/mcuboot/root-rsa-2048.pem

 

  1. Upload a second image to flash partition slot 1, usign mcumgr as the tool for uploading. No errors.

>./mcumgr --conntype udp --connstring=[192.168.2.25]:1337 image upload ~/zephyrproject/zephyr/build/zephyr/zephyr.signed.bin

 

  1. List the images. Both images appear as intended.

>./mcumgr --conntype udp --connstring=[192.168.2.25]:1337 image list

 

Images:

image=0 slot=0

    version: 0.0.0

    bootable: true

    flags: active confirmed

    hash: 5bc6846f35e3f01fcb8351b1e3138ecf9f24039776e3b154095ec695e12d9e79

image=0 slot=1

    version: 0.0.0

    bootable: true

    flags:

    hash: 1b3543e439b29e03ac380f46f87e907fec45cc6aff1cd3b75c75ff570c85f174

Split status: N/A (0)

 

  1. Test the image with the hash code. It fails.

>./mcumgr --conntype udp --connstring=[192.168.2.25]:1337 image test 1b3543e439b29e03ac380f46f87e907fec45cc6aff1cd3b75c75ff570c85f174

 

Error: 1

 

The following is printed on the UART debug port:

[00:01:36.416,000] <err> flash_stm32h7: Write offset not aligned on flashword length. Offset: 0xbfff0, 2

[00:01:36.416,000] <err> flash_stm32h7: Write range invalid. Offset: 786416, len: 16 

 

 

Do you know how to solve this alignment error when using mcuboot with the STM32H7-series of microcontrollers?

 

Regards, Per-Erik

201 - 220 of 3030