32614_1489253935 0 Posted November 29, 2014 Share Posted November 29, 2014 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! Quote Link to post Share on other sites
spirilis 1,265 Posted November 30, 2014 Share Posted November 30, 2014 That Tiva part# doesn't look right, can you verify? Do you mean TM4C123GH6PMI? Quote Link to post Share on other sites
spirilis 1,265 Posted November 30, 2014 Share Posted November 30, 2014 It also sounds like we need more detail about your target board. Check for solder bridges, make sure that XTAL and load caps are fairly close to the MCU, verify the board's Vcc voltage rail is clean, etc. Quote Link to post Share on other sites
32614_1489253935 0 Posted November 30, 2014 Author Share Posted November 30, 2014 I have done, but I can not set HIGH digital output at pin PC4, (GH6PMI), other pin is still good, where is my fail? Thanks spirilis Quote Link to post Share on other sites
32614_1489253935 0 Posted December 6, 2014 Author Share Posted December 6, 2014 I measure voltage of VCC=3.3, VDDC =1.21 (V), I try to set digital output on pin PC4 and measure V_PC4=0.91 volt, But when I use TIva LaunchPad V_PC4=3.3 V. I hope someone explain for my issue. Thanks everyone! Quote Link to post Share on other sites
Lyon 3 Posted December 6, 2014 Share Posted December 6, 2014 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 32614_1489253935 1 Quote Link to post Share on other sites
32614_1489253935 0 Posted December 6, 2014 Author Share Posted December 6, 2014 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 ? Quote Link to post Share on other sites
Lyon 3 Posted December 6, 2014 Share Posted December 6, 2014 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.