Infineon PSoC™ Troubleshooting

Adding the BDH Code Template

  • Open modus-shell

modus-shell
  • Navigate to directory ModusToolbox and Adding the BDH code Template:


Update Firmware

🖥️ For Windows

  • Open modus-shell

ให้สังเกตชื่อไดเรกทอรี tools_3.1 จะต้องให้ตรงกับ version ของ modusToolbox เช่น version 3.1

  • Navigate to directory ModusToolbox/tools_3.1/fw-loader/bin/

./fw-loader --update-kp3

🖥️ For Mac

  • Checking fw’s version

ให้สังเกตชื่อไดเรกทอรี tools_3.1 จะต้องให้ตรงกับ version ของ modusToolbox เช่น version 3.2

ในกรณีที่มีข้อความเตือนว่า "is outdated" ให้ทำการอัพเดท firmware ดังรายละเอียดข้างล่างนี้

  • Update firmware

ในกรณีที่โหมดการเขียนโปรแกรมยังเป็น "KitProg3 DAPLink CMSIS-DAP" ให้เปลี่ยนโหมดการเขียนโปรแกรมให้เป็น "KitProg3 CMSIS-DAP BULK" ดังคำสั่งนี้


Bug issue

Error: It looks like your debug probe is in DAPLink mode. Please switch to KitProg3 mode or use CMSIS-DAP driver instead.

Error alert when launching the Application

How to Fix

Button for Switching mode

In case pressing the switch button doesn't yield any response, you may need to first update the firmware. Follow the steps below:

  1. Open the Modus shell.

  2. Navigate to the necessary directory by entering the following command:

  1. Update the firmware by executing the command:

  1. After updating the firmware, verify the available devices with the command:

Once the firmware is updated, you should be able to use the switch mode button successfully.


Bug #002 : "Error: IMU init failed (0x0000)!" message

Bug issues

How to Fix

Find mtb_shared folder in your project and change the BMI160_CHIP_IP

bmi160_defs.h

Firmware update

  • Update firmware:


Bug#003 Can't install edge-impulse-cli

Visual Studio installer error.

How to fix:

1. Install Visual Studio Installer

Installation
Open and select "Desktop development with C++" then install
Install complect

Important: You need to use python3.11.x

Install edge-impulse-cli again:

Sucessfully install the edge-impulse-cli

Last updated

Was this helpful?