...does not support TI processors.

By Bill E. : Dec 29, 2021 at 04:31 PM (16:31 hours)
Staff: Johnny N. : 14 comments

Trying to program an image to a TI TM4C123AE6 part using CPROGACMP but I get the following:

Pre-processed line 1 Ok ::providepower 1
Pre-processed line 2 Ok ::poweroffonexit 0
Pre-processed line 3 Ok ::DEVICE TI_TM4C123_TM4C123AE6
P&E Interface detected - Flash Version 10.81
**************************************************
The hardware interface that you are using does not
support TI processors.
**************************************************
ERROR 72 during script!

I know that the hardware interface is not a problem as I can download to the part using IAR EWARM.

Does anyone know why I am getting this error?

Thanks.

Greetings,

What is the version of PROGACMP?

What is the hardware interface and revision (should be on the back label)?

What is the flash/firmware version on your hardware interface as reported by PROGACMP in the status window?

-Johnny

Hello Johnny.

I apologize for leaving some of this off of the original post.

PROGACMP Version is: 5.93.00.00.

Interface: USB Multilink Universal FX Rev B

Flash version: 10.81 (Shown in original post)

Thanks,

Bill

Thank you.

Did this USB Multilink Universal FX Rev B and version of PROGACMP work on this TI device before?

I can not say that it did...only that the FX works with IAR EWARM to program the part.

Bill

Greetings Bill,

I apologize for the delay. I was away for the New Years holiday.

That error "The hardware interface that you are using does not support TI processors" can occur if your firmware is not for ARM. I have confirmed this through testing.

Can you download our PEFirmware Config utility from this link:
http://www.pemicro.com/downloads/download_file.cfm?download_id=346

Open the utility and select USB Multilink Universal FX from the interface drop down menu. Then choose the ARM architecture and update the firmware to 10.81 for ARM.

-Johnny
PEMICRO

Hi Johnny, Happy New Year!

I had done this update in November but downloaded from the link and did the firmware update.

Results are the same as in the original post. Sorry.

Anything else to try?

Bill

Bill,

Can you share your full batch file and configuration script? You can send it to technical-info@pemicro.com

-Johnny
PEMICRO

Johnny,

I temporarily changed the line "poweroffonexit 0" to "poweroffonexit 1" and I was able to program the TI part!?!
I changed the line back to the original "poweroffonext 0" and I get more successes than failures (using the same board).

Another observation:
There is a pause after the CPROGACMP dialogue outputs "P&E Interface detected - Flash Version 10.81". During this pause it sounds like Windows is dropping (disconnecting?) a USB device. The blue light on the FX does not go out during this pause.

If the pause is only about four seconds then the script completes successfully (new behavior today). If the pause lasts around ten seconds I get the failure from the original post (original problem and less frequent today).

Bill

Bill,

Does programming always work if you power your target board externally (so :providepower 0 and no target voltage jumper is set on the FX)?

It sounds like the Multilink FX is losing connection with your USB port at some point. That can cause the original error you reported.

What Windows OS are you using? Does this pause or disconnection occur in IAR on this PC?

-Johnny

Hi Johnny,

Looking at the attached USB devices with "USB Device Tree Viewer" I am seeing the "P & E Microcomputer USB Multilink 2.0" blink when running the script (while the FX is powering the target).

In about twenty tries, the programming always works with the target board externally powered. Also, the pause after the banner is very short.

I am using 64-bit Win10 Pro. I do notice the disconnection when using IAR EWARM but the connection dialogue comes up before writing to the part.

Theory is that the target board is attempting to charge a cap or something that is causing the Multilink FX to momentarily drop off USB briefly.

I did try various values for ":POWERUPDELAY" but it only seemed to make the FX-powered failures much more consistent.

Thanks,

Bill

Bill,

>Theory is that the target board is attempting to charge a cap or something that >is causing the Multilink FX to momentarily drop off USB briefly.

Does this issue only occur on this specific TI board? Can you test other boards with different designs or microcontrollers?

I believe the FX can provide about 0.5 A of current max. How much current does your board draw?

If the FX is dropping off USB momentarily or being reset, then I don't think the powerupdelay and powerdowndelay options will help with the issue.

Regards,
Johnny
PEMICRO

Johnny,

Sorry for the long pause.

It does seem that the issue is tied to this board layout. Another board design with the same processor does not have the USB hiccough.

I would have to get the answer to your "Draw" question from the hardware team so I can't answer that at this point.

I believe we can close this as providing power to the board outside of the FX gives me the consistent ability to program the part. I am not likely to get a design change to reduce the 3.3V draw on the FX.

Putting in new FX firmware definitely improved the success rate earlier even though I had gone through that process a couple months ago.

Thanks for all your help Johnny!

Bill

Bill,

Thanks for the update and good to know.

-Johnny