Hi everybody. Is there any possibility to program tm4c123gh6pge microcontroller with tiva c series launchpad which contains tm4c123gh6pm microcontroller?
Thanks to all of you on taking time on reading and perhaps responding this issue.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi everybody. Is there any possibility to program tm4c123gh6pge microcontroller with tiva c series launchpad which contains tm4c123gh6pm microcontroller?
Thanks to all of you on taking time on reading and perhaps responding this issue.
Braian Demian said:Hi everybody. Is there any possibility to program tm4c123gh6pge microcontroller with tiva c series launchpad
May be possible, MSP430 series you can remove processor and it is a definitive YES, this series has all pin available in a confortable 100mils grid, also all pin are available at PORT C and reset on expansion, the worst is you need reprogram your processor leaving all JTAG open or if you own a broken processor remove it.
Launchpad 1294 has external programming connector , DK-TM129 has bidirectional full debug connector but it is more expensive than an XDSx00.
Hi Amit. Thanks for your answer. So you say I need to remove header and where the cables are connected y use them to program tm4c123gh6pge???
the question I have now is which pins do I have to use and where do I hace to connect them?
Thanks a lot
Hello Braian,
The position of the headers as shown in the diagram are given in the schematic for the LauncPad. The connection is one-to-one from the LaunchPad (as debugger) to the TM4C123 device you have on the development board.
Regards
Amit
Hello Amit
Can I ask which are the connection pins of the TM4C123GH6PGE microcontroller or where can I find that information?
Regards
Braian
Hello Braian,
You can refer to the schematic at the following link. This document is User Manual for the TM4C123 LaunchPad
http://www.ti.com/lit/ug/spmu296/spmu296.pdf
Regards
Amit
Amit Ashara said:Yes it is possible to do so.
Amit, thank a lot for info, I see you DON'T have GROUND!!!! AAARGH!
Is not reset required too by target?
Is not processor JTAG suffer if left unpowered?
What is for the middle pin EXT DBG?
Hello Roberto,
1. Yes, of course GND is needed to be common.
2. Reset is not required as the ICDI resets the cortex core directly through JTAG as well
3. No, the second processor will be fine as long as the jumper is removed.
4. I have left it floating.
Regards
Amit
Amit Ashara said:4. I have left it floating.
Appropriate answer to a malformed question :D
What the purpose of that pin? I suppose disable on board ICDI I promise to read new user guide.
Amit Ashara said:1. Yes, of course GND is needed to be common.
Next rule must apply to low voltage non isolated board, high voltage and isolate require it locally.
First rule not to burn boards is connect GND and check before connecting everything else GND MUST be common!
Hello Amit,
We are using TM4C123GH6PZ in our application. We have TM4C123G Development board. I want to program TM4C123GH6PZ controller using JTAG of Development board. I am not getting how to make connection.
Kindly I am requesting you please send snapshot / photo for the same as you send it for launchpad.
Waiting for your reply.
Regards,
Somnath barge
Hello Somnath,
I have not done this on a DK-TM4C123 but the following document page-16 would be the exact info you are looking for
http://www.ti.com/lit/ug/spmu357b/spmu357b.pdf
Regards
Amit
Hi Amit,
Thank you for reply.
I done programming through JTAG using TM4C123G development board. It works on LMFLASHPROGAMMER 1588.
Now I tried to do programming through UART. For the same I write the code as follows-
bootCfg = HWREG(0x400FE000 + 0x1D0);
if (( bootCfg & FLASH_BOOTCFG_NW ) != 0 )
{
FLASH_FMD_R = (FLASH_BOOTCFG_PORT_B | FLASH_BOOTCFG_PIN_4 | FLASH_BOOTCFG_DBG1);
FLASH_FMA_R = 0x75100000;
FLASH_FMC_R = 0xA4420008;
bootCfg = FLASH_FMC_R;
while((FLASH_FMC_R & FLASH_FMC_COMT) == FLASH_FMC_COMT)
{
}
while(1);
}
}
I programmed it with JTAG programming. Then started my code, it is working fine.
Now I connect port PB4 to ground and power on my board. Board goes into uart bootloader. I tried to program it with LM Flash Programmer. It goes upto 4% and then shows following errors-
1. **ERROR**: Failed to send packet!
2. **ERROR**: Failed to program/update the board!
I again UNLOCK the microcontroller using JTAG programmer and programmed it using UART. It works fine.
Why it is not programming using UART if code is available in flash?
Waiting for your reply.
Regards,
Somnath Barge.