TLE9879 can't work

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

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.
User15455
Level 2
Level 2
10 sign-ins 5 sign-ins 10 replies posted

Hi

I have 1pcs 9879 that can't be reprogrammed. 

 

DLL: V6.30h, compiled Mar 16 2018 18:02:51
Firmware: J-Link Pro V4 compiled Feb 4 2021 13:00:16
Hardware: V4.00
S/N : 174504811
Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDB

* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
* JLink Info: CPUID register: 0x412FC231. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M3 r2p1, Little endian.
* JLink Info: FPUnit: 2 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ E00FF000
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 13:25:48

0 Likes
1 Solution
Sahil_K
Moderator
Moderator
Moderator
First like given 100 solutions authored 250 sign-ins

Hi @User15455 ,

>>Entry to Debug Support mode is determined by pin setting(TMS, P0.1,&P).2) at power-up.

sk7211_0-1671441710301.png

>>Incorrect operation of Flash may cause TLE9879 to enter sleep mode, so to wake-up the device please follow the steps as mentioned:-

  • Use MON1 as a wake-up source, and RESET as a wake-up trigger.
  •  For this purpose, connect the pin RESET with pin MON1.
  •  Set VS below 8V (the MONx threshold is defined as VS/2, RESET drives 5V max.).
  •  The output of RESET is fed into the MON1 and is recognized as a wake-up event.
  •  By this the device stays alive and can be re-flashed after the successful flash update, the connection between RESET and MON1 can be removed, and VS will rise again.

Thank you

Best Regards

Sahil Kumar

 

View solution in original post

0 Likes
8 Replies
Sahil_K
Moderator
Moderator
Moderator
First like given 100 solutions authored 250 sign-ins

Hi @User15455 ,

Could you please let us know which board are you using? TLE9879 Eval Kit/ Bldc shield or Custom Board. Also, let us know the hardware setup. 

Could you please also ensure that the power supply to the board is applied correctly?

Thank You 

Best Regards

Sahil Kumar

0 Likes
Sahil_K
Moderator
Moderator
Moderator
First like given 100 solutions authored 250 sign-ins

Hi @User15455  ,

I have not heard from you since my response on 27th Nov 2022. I assume that this is because the issue is resolved and you are busy with other important work.

If, however, the issue is not resolved, please do let me know and I shall work with you to ensure that the issue is resolved.

Thank you

Best Regards

Sahil Kumar

0 Likes

Hi, it's a custom board. I didn't do any special operations. I don't know how to reset it. Is there any process to reset this chip?  I think micro should be fine, it's not damaged, and it seems the boot code has some issue.

0 Likes
Sahil_K
Moderator
Moderator
Moderator
First like given 100 solutions authored 250 sign-ins

Hi @User15455 ,

Before commenting on whether the MCU part has been damaged,  I will need some more information to understand the problem better.

Could you please provide further information about the current setup like:-

1)Is the custom board designed based on TLE9879 EVAL BOARD?

2) Is it possible to share the board’s schematic?

3)How/Why do you suggest that the Microcontroller is working properly?

 

Thank you

Best Regards

Sahil Kumar

0 Likes

Hi,  yes, the custom board is designed based on TLE9879 EVAL board. There is no special design. I already have programmed this chip many times, but it suddenly didn't work when I debug the boot flash portion, chip power supply is ok.

0 Likes

 

Hi,

Today I found sometime Jlink can find it, and sometimes Jlink can't find this  chip.

JLink info:
------------
DLL: V6.30h, compiled Mar 16 2018 18:02:51
Firmware: J-Link Pro V4 compiled Feb 4 2021 13:00:16
Hardware: V4.00
S/N : 174504811
Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDB

* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
* JLink Info: CPUID register: 0x412FC231. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M3 r2p1, Little endian.
* JLink Info: FPUnit: 2 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ E00FF000
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 18:57:49

0 Likes
Sahil_K
Moderator
Moderator
Moderator
First like given 100 solutions authored 250 sign-ins

Hi @User15455  ,

In the previous reply from the statement made “debug the boot flash portion”, we would like to understand the following to provide further help,

1) Were you trying to debug the unit by changing the H/W configuration(As per table 2.1)? 

Doc:-Infineon_TLE986x_TLE987x-BootROM-UM-v01_80-EN

2) Please provide in detail the process performed for debug operation in boot flash operation.

Thank you
Best regards
Sahil Kumar

0 Likes
Sahil_K
Moderator
Moderator
Moderator
First like given 100 solutions authored 250 sign-ins

Hi @User15455 ,

>>Entry to Debug Support mode is determined by pin setting(TMS, P0.1,&P).2) at power-up.

sk7211_0-1671441710301.png

>>Incorrect operation of Flash may cause TLE9879 to enter sleep mode, so to wake-up the device please follow the steps as mentioned:-

  • Use MON1 as a wake-up source, and RESET as a wake-up trigger.
  •  For this purpose, connect the pin RESET with pin MON1.
  •  Set VS below 8V (the MONx threshold is defined as VS/2, RESET drives 5V max.).
  •  The output of RESET is fed into the MON1 and is recognized as a wake-up event.
  •  By this the device stays alive and can be re-flashed after the successful flash update, the connection between RESET and MON1 can be removed, and VS will rise again.

Thank you

Best Regards

Sahil Kumar

 

0 Likes