XMC1302 XMC1000_BmiInstallationReq(0xFFC0)

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

cross mob
User10223
Level 1
Level 1
Hello,
I am using XMC1300 boot kit to set BMI.
So far so good.
I tried using function: XMC1000_BmiInstallationReq(0xFFC0) to change BMI to default ASC mode.
Although the BMI changed to ASC mode , I am now unable to set BMI to user mode SWD1 via Boot kit and segger Jlink.
In a blank chip this is always possible.
What could be the problem?

regards
AAH
0 Likes
6 Replies
Not applicable
Hi AAH,

Can you give more details on your setup; i.e. how are you doing the change of BMI, the hardware setup.
Also, are you able to read back the BMI from the DAVE BMI tooling?

Regards,
Daryl
0 Likes
User10223
Level 1
Level 1
Hello Daryl,
I am using xmc1300 boot kit to program uC on target board. The board is in mass production , so , no hardware after thoughts.
In DAVE I switched to user productive mode.(Get BMI, Set BMI)
XMC1000_BmiInstallationReq(0xFFC0) was run in firmware to switch back to ASC mode.
I cannnot read BMI using Get BMI in DAVE.
I am actually using using SWD1(P1.3,P1.2) for programming flash.
Do I use XMC1000_BmiInstallationReq function to switch back to SWD1 instead of ASC mode?
I could do that and waste a uC.:)
regards

AAH
0 Likes
Not applicable
Hi AAH,

"In DAVE I switched to user productive mode.(Get BMI, Set BMI)"
- There was a reported bug in the BMI tooling integrated in DAVE and a patch to address was released at end January.
http://www.infineonforums.com/threads/3697-DAVE-v4.1.4-plug-%C2%96in-update-to-fix-a-problem-with-th...

Did you update your DAVE already?

Regards,
Daryl
0 Likes
User10223
Level 1
Level 1
Hello Daryl,
Actually I don't have a problem with Get BMI, set BMI in DAVE 3.1.8.
Let me make it more clear:
1. I use Get BMI, Set BMI to set user productive mode.
2. This works.
3. In firmware, I switch BMI to ASC mode using : XMC1000_BmiInstallationReq(0xFFC0).
4. Now Get BMI functions fails to read back BMI value.
Is it supposed to work this way?

regards

AAH
0 Likes
User10223
Level 1
Level 1
Hello Daryl,
Let me check again with XMC1000_BmiInstallationReq set for SWD1 or SWD0.
I will keep you posted.

Thanks

AAH
0 Likes
chismo
Employee
Employee
First like received
Hello AAH,

Regarding the BMI switching sequence, did you power off and on the board (plug out from USB then plug in again) before step 4 to read back the new BMI value?

As long as this is done, you should be able to read back the new BMI status.

Regards,
Min Wei
0 Likes