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.
Panometric
Level 5
Level 5
10 likes received 100 sign-ins 100 replies posted

I was optimistic we might finally have an OTA solution for the CYBLE-046415, but I'm not seeing an answer yet. I made a try at getting this to work, but can't seem top plug all the holes. 

  1. Changed BSP to CY8CPROTO-063-BLE
  2. Added template for TARGET_CY8CPROTO-063-BLE
  3. Added psoc63_1m_cm0_int_swap_single.json to flashmap directory from github
  4. Upgraded flashmap.py in scripts by copying from mtb_shared\mcuboot\v1.8.3-cypress\boot\cypress\scripts

But even though no internal flash is defined, it keeps trying to run the qspi configurator. 

The project is attached. Can you fix it?

$ make eclipse
make -C bootloader_cm0p eclipse MTB_APPLICATION_SUBPROJECTS="bootloader_cm0p blinky_cm4" MTB_APPLICATION_NA
ME="MCUboot-Based_Basic_Bootloader" && make -C blinky_cm4 eclipse MTB_APPLICATION_SUBPROJECTS="bootloader_c
m0p blinky_cm4" MTB_APPLICATION_NAME="MCUboot-Based_Basic_Bootloader" && true
make[1]: Entering directory '/cygdrive/c/Users/%USER%/mtw32/MCUboot-Based_Basic_Bootloader/bootloader_cm0p'
Removing .mtbqueryapi file...
Searching installed tools in progress...
Searching installed tools complete
../mtw32/MCUboot-Based_Basic_Bootloader/bootloader_cm0p/libs/mtb.mk:51: warning: overriding recipe for target 'bsp-assistant'.. AND MANY MORE OVERRIDES

=============================================================
= Generating cy_flash_map.h and flashmap.mk =
=============================================================
python ./scripts/flashmap.py -p PSOC_063_1M -i ./flashmap/psoc63_1m_cm0_int_swap_single.json -o ./source/cy
_flash_map.h > ./flashmap.mk
=============================================================

make[2]: Leaving directory '/cygdrive/c/Users/%USER%/mtw32/MCUboot-Based_Basic_Bootloader/bootloader_cm0p'
[INFO] Log file= "C:/Users/%USER%/AppData/Local/Temp/qspi-configurator-cli/qspi-configurator-cli-20230901.230
543.389-6888.log"

[INFO] Command line= "C:/Users/%USER%/ModusToolbox/tools_3.1/qspi-configurator/qspi-configurator-cli.exe --co
nfig"

Missing value after '--config'.
--config=
Error: Configuration file path is not set. Use the --config argument to set the configuration file.
make[1]: *** [../../mtb_shared/core-make/release-v3.2.2/make/core/bwc.mk:149: _mtb_build__legacy_project_pr
ebuild] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/%USER%/mtw32/MCUboot-Based_Basic_Bootloader/bootloader_cm0p'
make: *** [C:/Users/%USER%/ModusToolbox/tools_3.1/make/application.mk:61: eclipse] Error 2

 

 

1 Solution
Waldi
Level 4
Level 4
5 solutions authored 10 sign-ins 10 replies posted

Follow this link:

https://github.com/Infineon/mtb-example-btstack-freertos-battery-server#building-and-programming-mcu... 

Try:

git clone https://github.com/mcu-tools/mcuboot.git
cd mcuboot
git checkout v1.9.0-cypress

Use this file:

psoc63_1m_cm0_int_swap_single.json

Next:

cd boot/cypress
git submodule update --init --recursive
make clean app APP_NAME=MCUBootApp PLATFORM=PSOC_063_1M FLASH_MAP=./psoc63_1m_cm0_int_swap_single.json

You must edit 'toolchains.mk' if you are using new environment. Try something like this:

TOOLCHAIN_PATH ?= c:/Infineon/Tools/ModusToolbox/tools_3.0/gcc

View solution in original post

0 Likes
6 Replies
Panometric
Level 5
Level 5
10 likes received 100 sign-ins 100 replies posted

One week, no reply, is someone up to this please?

0 Likes
Sidramesh_S
Moderator
Moderator
Moderator
250 sign-ins 100 replies posted 25 solutions authored

Hi @Panometric ,

Please tell me clearly what is your requirement.

Did you want to run https://github.com/Infineon/mtb-example-psoc6-mcuboot-basic CE on CY8CPROTO-063-BLE and stuck while creating the project?

Thanks and regards,
Sidramesh

0 Likes

@Sidramesh_S Yes, I got here from the https://github.com/Infineon/mtb-example-btstack-freertos-battery-server project which requires a bootloader, and does support 063 devices,  but https://github.com/Infineon/mtb-example-psoc6-mcuboot-basic  does not support 063 devices yet.  So it needs to. 

0 Likes
Waldi
Level 4
Level 4
5 solutions authored 10 sign-ins 10 replies posted

Follow this link:

https://github.com/Infineon/mtb-example-btstack-freertos-battery-server#building-and-programming-mcu... 

Try:

git clone https://github.com/mcu-tools/mcuboot.git
cd mcuboot
git checkout v1.9.0-cypress

Use this file:

psoc63_1m_cm0_int_swap_single.json

Next:

cd boot/cypress
git submodule update --init --recursive
make clean app APP_NAME=MCUBootApp PLATFORM=PSOC_063_1M FLASH_MAP=./psoc63_1m_cm0_int_swap_single.json

You must edit 'toolchains.mk' if you are using new environment. Try something like this:

TOOLCHAIN_PATH ?= c:/Infineon/Tools/ModusToolbox/tools_3.0/gcc

0 Likes
Sidramesh_S
Moderator
Moderator
Moderator
250 sign-ins 100 replies posted 25 solutions authored

Hi @Waldi  and @Panometric ,

Thanks @Waldi  for your response.

@Panometric  did you try the above solution given by @Waldi  ?.

Thanks and regards,
Sidramesh

0 Likes
Panometric
Level 5
Level 5
10 likes received 100 sign-ins 100 replies posted

Sorry I missed this. But No, because even if we did the BLE stack has not been proven to work on this part. We have suspended all efforts until our case IFX-230918-1074679 is handled. 

Looking at it though in https://github.com/mcu-tools/mcuboot/blob/main/boot/cypress/README.md
Why would I waste my time on this?
QUOTE:

Implemetation differs from conventional and recomended by Cypress Semiconductors development flow for PSoC 6 devices. These applications are not recomended as a starting point for development and should not be considered as supported examples for PSoC 6 devices.

Examples provided to use with ModusToolbox® Software Environment are a recommended reference point to start development of MCUboot based bootloaders for PSoC 6 devices.

0 Likes