Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

TMS320F28379D: Error -1137: Device is held in reset ... (Emulation package 8.1.0.00007)

$
0
0

Part Number:TMS320F28379D

When debugging and loading to a launchpad, I'm getting a Device is held in reset error. When switching to a sample project, I can get a successful load, which would rule out hardware related issues. I copied the targetConfig file from the sample into unsuccessful project, and am also using the same debug configuration (by changing the program tab to the specific project). 

During the unsuccesful debug/loading, it will get to the 'Finish" stage (>90% and past all the erasing flash/loading program calls), then eventually throws an error after  hanging at the Finished state.

JTAG test connection is successful:

[Start: Texas Instruments XDS100v2 USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\a0226870\AppData\Local\TEXASI~1\
CCS\ccs901\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'Mar 25 2019'.
The library build time was '17:36:26'.
The library package version is '8.1.0.00007'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '4' (0x00000004).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.

-----[Print the reset-command hardware log-file]-----------------------------

The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the FTDI FT2232 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for FTDI FT2232 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).

-----[The log-file for the JTAG TCLK output generated from the PLL]----------

There is no hardware for programming the JTAG TCLK frequency.

-----[Measure the source and frequency of the final JTAG TCLKR input]--------

There is no hardware for measuring the JTAG TCLK frequency.

-----[Perform the standard path-length test on the JTAG IR and DR]-----------

This path-length test uses blocks of 64 32-bit words.

The test for the JTAG IR instruction path-length succeeded.
The JTAG IR instruction path-length is 6 bits.

The test for the JTAG DR bypass path-length succeeded.
The JTAG DR bypass path-length is 1 bits.

-----[Perform the Integrity scan-test on the JTAG IR]------------------------

This test will use blocks of 64 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG IR Integrity scan-test has succeeded.

-----[Perform the Integrity scan-test on the JTAG DR]------------------------

This test will use blocks of 64 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG DR Integrity scan-test has succeeded.

[End: Texas Instruments XDS100v2 USB Debug Probe_0]

Console Output:

C28xx_CPU1: GEL Output: 

Memory Map Initialization Complete
C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
C28xx_CPU1: Error: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.1.0.00007)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Breakpoint Manager: Unable to remove requested AET job
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

or sometimes

C28xx_CPU1: Error: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.1.0.00007)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
C28xx_CPU1: GEL: Error while executing OnTargetConnect(): Could not write 0x0005F412@Data: target is not connected
at *((int *) 0x5F412)=0x000F [f28377d_cpu1.gel:79]
at OnTargetConnect()
C28xx_CPU1: Error occurred during flash operation: Could not read 0x70204@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5FB00@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not write 0x5FB00@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x0005F800@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not write 0x0005F800@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5FF00@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not write 0x5FF00@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x0005FC00@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not write 0x0005FC00@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x70268@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x700B0@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x70201@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x00070202@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x00070200@Data: target is not connected
C28xx_CPU1: Flash Programmer: Warning: The configured device (TMS320F28377D), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx_CPU1: Error occurred during flash operation: Could not write 0x5FB00@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not write 0x0005F800@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not write 0x5FF00@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not write 0x0005FC00@Data: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F000@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F000@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F000@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F002@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F002@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F004@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F01A@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F01C@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F01E@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F020@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F040@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F040@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F040@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F042@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F042@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F044@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F05A@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F05C@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F05E@Program: target is not connected
C28xx_CPU1: Error occurred during flash operation: Could not read 0x5F060@Program: target is not connected

 


MSP430F5528: How to program UART BSL

$
0
0

Part Number:MSP430F5528

Hello,

I want to change this micronctroller's BSL to the full version of the UART BSL. I have made a scripter module that is made to be able to interact with the BSL of the MSP430F5xx and 6xx series and later found out that the MSP430F5528 series currently has programmed inside of the the USB BSL that is very limited capabilites such as only being able to do RAM write only. How do I program the microcontroller to have the UART BSL? I know this is possible according to the MSP430F5528 datasheet: http://www.ti.com/document-viewer/MSP430F5528/datasheet/revision-history-slas5902007#SLAS5902007 which is noted in seciont 6.5.2. I was also wondering how to change the UART pins if possible as well on the BSL.

Thank you for your time,

Nick

CC8520: Control GPIO Pin on Slave via the PurePath Link

$
0
0

Part Number:CC8520

Does a solution exist for controlling a GPIO pin the slave device from the master?

I found that the CC8520 supports HID functions like power control, pairing, volume control, audio channel selection etc. that can be mapped to I/Os using the PurePath Wireless Configurator, but how can I control a GPIO on the slave via the PurePath link for an arbitrary purpose?

DAC38RF85: test of eval board as stand alone DDS

DRV8303: FET Reverse Polarity Protection

$
0
0

Part Number:DRV8303

Can the DRV 8303 be used to turn on a N Channel  FET with the source connect to power in and the the drain connected to PVDD od the DRV8303? I want to used the FET for reverse polarity protection. Can the trickle charge circuit turn on the FET channel and bypassed the substrate diode to reduce the voltage drop?

LDC1614: Trying to design triangular coils

$
0
0

Part Number:LDC1614

My application requires 4-layer triangular coils which does not seem to be supported in your coil designer tool. Is there an alternate method available for the design of these coils?

CCS/TMS570LS0432: Connection to XDS200 fails: E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_io

$
0
0

Part Number:TMS570LS0432

Tool/software: Code Composer Studio

I can no longer debug using my XDS200 emulator. This has been working but no longer works. If I Test Connection I get:

[Start: Texas Instruments XDS2xx USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\knadler\AppData\Local\TEXASI~1\
    CCS\ti\1\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_io
Failed to open i/o connection (xds2xxu:0)

An error occurred while soft opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-250' (0xffffff06).
The title is 'SC_ERR_ECOM_EMUNAME'.

The explanation is:
An attempt to access the debug probe via USCIF ECOM has failed.

[End: Texas Instruments XDS2xx USB Debug Probe_0]

I don't know if this is significant but the configuration has Port Number 16. This is not a comm port is it? My XDS200 is on comm ports 23 and 25.

Any suggestions?

Thanks in advance,

ken

ADS131A02: Clarification

$
0
0

Part Number:ADS131A02

Hi, we are working with ADS131A02 with the configuration:

M0: GND througth 1k resistor.
M1: floating.
M2: GND througth 1k resistor.
8MHz crystal.

We have some questions:

WREG responses

1) Is 0x2F03 a correct response for ADC_ENA write with 0x0F? I received that response, but I expect the OR operation between:
0x2000 (RREG response)
0x0F00 (address for ADC_ENA register)
0x000F (valid value for ADC_ENA register, only 0x00 or 0xFF are valid)
result-> 0x2F0F, But we received 0x2F03.


2) There is the ADC_ENA the last register to write? Then we are not able to write all the registers with an only one WREGS command?

If 1) is correct, we have another question:

3) We have the SYS_CFG register with 0x7C (watch dog off, CRC mode 1, DNDLY 12ns, HIZDLY 12ns, FIXED off, CRC off). After the LOCK command we recibe: 0x05557FFF8000, then we interpret:
0x0555-> ADC is locked.
0x7FFF-> value for channel 1 conversion (positive full scale).
0x8000 -> value for channel 2 conversion (negative full scale).

Is this interpretation correct?


Thanks in advance
Martin


AM3356: More McASP Serializers

$
0
0

Part Number:AM3356

Hello,

Do we have an ARM processor with PRU-ICSS and 16 McASP serializers? The AM335x seems to top out at 8 serializers.

Thank you!

Regards,
Ryan B.

Developing with GUI Composer on local hard drive

$
0
0

Sorry for the basic question, but is there a way to developing with GUI Composer on a local hard drive?

Definitely understand we can download completed GUI Composer projects and run on local HDD.

But is it true we can only develop on TI Cloud i.e. the "graph paper" IDE?

Developing on CCS locally on HDD has a lot more features than CCS Cloud. Just seems incongruent to have GUI Composer Cloud only (if that is true).

LMH1228: LMH1228's expected input level

$
0
0

Part Number:LMH1228

Hi Team

What is the expected value of the input signal level of the LMH1228?

According to the standard, the output level of the previous stage is at 300 to 850mV,but the transmission loss is calculated as -6dB and the input is 150 to 425mV.

Does this mean the assumption of an input voltage of this level?

Why is there no provision for IC input pins?

If you do not know the transmission path, you can not assume what the actual input will be.

As loss of 4 to 5 dB is also assumed, I think that there is a possibility of actually shifting.

Does that mean that the LMH1228 has enough margin to absorb it?

Thanks

Best regards,

Shidara

General Multi-voltage Power Supply Design Question

$
0
0

I've been working on the design of a power supply for a piece of battery operated portable audio equipment. The power requirements are +5V @ 100mA, +15V @ 200mA, -15V @ 200mA, and +48V @ 25ma with all voltages originating from a 7 volt 2200mAH lithium battery. After looking at and building a few of the designs using the Webench tool with limited success, my question is, is it better to design all of the supplies with the battery as the source or is it better to cascade the supplies? In other words having all supplies deriving their source voltage form the pure but varying DC of the battery or design a larger +15V supply with the battery as it's source and derive the +5V, -15V, and +48V from the +15V supply.

Also any advice on typical components and methodologies used to design such a power supply would be greatly appreciated.

Thanks in Advance,

Ken Dabek

West End Recording

TPS65988: datasheet clarifications

$
0
0

Part Number:TPS65988

1) If an external source is provided to the VIN_3v3 pin, does the "ILDO_3V3_EX" parameter, listed on Pg.8 of the datasheet still apply? Based on the various datasheet diagrams, I am lead to believe the 25mA maximum strickly applies when the LDO is the source, and no external source is on CIN_3v3 pin. If this is the case, then I suspect there is an upper limit on the current flowing through the switch and thus, what is this upper limit? 

2) Also, related to the previous question, and on page 8. There is a bit of confusion on my part and I would like to get some clarification. ILDO_3V3_EX states max current is 25mA, but in the previous 2 parameters, it lists the Current Load as twice that at 50mA. I hope you can see my confusion and can provide some clarity. 

3) Finally, I can't seem to find the GPIO Drive Level (aka IOL Low-Level Output Current or IOH High-Level Output Current). My hunch is, this is also related to the above questions, I.e. if using LDO is the source, then combined max is 25mA, but again, does that still apply the one you provide VIN_3v3.,

Linux/TAS2559: Linux driver for TAS2559

$
0
0

Part Number:TAS2559

Tool/software: Linux

Hi!

We need the Linux driver for TAS2559.

Can I get the TAS2559 Linux Driver?

Pleas check it.

Thank you.

Best Regards.

From Anthony.

SN74HC157: Use SN74HC157 as a Quadrature Decoder

$
0
0

Part Number:SN74HC157

I was told by my distributor that I can use the SN74HC157 as a Quadrature Decoder. 

How do you recommend it be configured.  My input is a 2-phase rotary optical encoder, I need a two bit output or a single bit with a direction indicator.

Thank you,


CCS/TMS320C5515: Can I use Code Composer 7 to connect to a target without programming it?

$
0
0

Part Number:TMS320C5515

Tool/software: Code Composer Studio

I would like to use CCS7 to connect to a target (C5515 on ezDSP) to do things like: start an image that's already programmed on there, or erase the memory, or read memory. However, the only way I can find to connect to the target is to run a debug configuration, which reprograms the target. Can I use CCS7 to just manipulate the target without programming it?

RTOS/PROCESSOR-SDK-C667X: PDK project create problem

$
0
0

Part Number:PROCESSOR-SDK-C667X

Tool/software: TI-RTOS

I installed Processor SDK RTOS C667x v5.03.00.07 and Code Composer Studio v8.3.1 on Linux Ubuntu v16.04 LTS.

When I try to create some examples as explained here by executing the command:

$./pdkProjectCreate.sh c6678 all little all all dsp

It just creates a bunch of folders with macros.ini fileineach of them.

All installations are in the ~/ti folder.

I see that this issue was present previously (more than a year ago) as mentioned in the linked question.

It was resolved by using a Windows machine with I unfortunately don't have.

What alternatives do I have?

Thank you...

 

LM3914: Battery voltage indicator

$
0
0

Part Number:LM3914

Hi:

I am triytng to use the lm3914 for a 3 series li-ion cell battery voltage indicator, in the range of 12.6 to 9 volts.

I found that i can stablish the low reference (pin 4)to 9 volts but the maximum range to the high reference (pin 6 nad 7) is 10.2 volts.

I don´t know if this is because of the 1.2 vd between pin 4 and 6  or is there any other way to have a high range (3 volts) to cover the full scale I am trying to use.

Thank

Carlos

TPA3113D2: "Output Power vs Power Supply Voltage" data

LM2577: Compensation capacitor

$
0
0

Part Number:LM2577

Dear all,

Our customer would like to know about compensation capacitor.

Please answer questions below.

  1. As for the yellow highlight part in the description below(Datasheet p.20"2. Compensation Network (RC, CC) and Output Capacitor (COUT) Selection" ), is "drawing huge currents from the input power supply" mean that excessive current flows to the VIN terminal?
  2. Does the phenomenon described in this yellow highlight occur even when Cc is less than 0.22 uF?

Viewing all 262198 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>