Jump to content
Sign in to follow this  
32614_1489253935

can not debug

Recommended Posts

HHi everyone,

I have made a board with MCU TM4CGH6MPI (TI's sample), with 16 Mhz crystal SMD.

I have connected Jtag of TIva LaunchPad and board as below:

TCK -TCK

TMS-TMS

TDO-TDO

TDI-TDI

GND-GND

PA0-PA0

PA1-PA1

 

The next time, I debugged code but It do not allow, and notify some thing 'Error connecting to the target', 'Error connecting to the target out of freqency'.

Can I solve my problem? I have spend a large amount of money for this board, please help me!

Thanks everyone!

Share this post


Link to post
Share on other sites

Hi,

First of all, your JTAG pins must have a pull-up resistors mounted on-board.

Second, if you use your Lauchpad board as debug-out ( to debug another board) then you must disable your LP target micro ( the test/target micro from LP board, the debug one should be active). You can do that by short-circuit of reset capacitor on LP board.

L

Share this post


Link to post
Share on other sites

Thanks @@Lyon for your recommend, in my case, Board have worked, I can toggle two LEDs on pin PB0 and PB1, But when I config for pin PC4, it can not control, I also to test PC5 (close to PC4), it work perfectly.

Please give me a explanation, my TM4CGH6PM was shipped from Ti's sample (free). I was doubted about this sample, can I trust in all TI's sample ?

Share this post


Link to post
Share on other sites

Hi,

For the moment you can trust the samples. Try to test/check other pins also, try an UART or SPI.

Since it is your board, check/ double check your board for shorts with other pins/traces - sometimes it may happen to have small, near invisible shorts...

Worth to try also a second board if you have.

L

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×