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.

Programming a XM4C1294NCPDT12 with launchpad debugger?

 I have a tiva launchpad and a connected launchpad. I want to prototype using the connected launchpad. I want to basically copy the microcontroller and ethernet circuit of the connected launchpad.

Is there a bootloader on the microcontroller on the connected launchpad?

Can I use one of my launchpads to program the micro on my stand alone board using Keil or CCS?

thanks

  • Hello Daniel,,

    Yes,the bootloaders are present on both TM4C123 and TM4C129. Please read the ROM Boot Loader User Guide to understand the usage. Also there are quite a lot of posts on how to do the same on the forum.

    Also it is possible to use the TIVA TM4C123 LaunchPad as a debugger to program another TIVA device using CCS or Keil.

    1. Keep the Switch in Debug Mode

    2. Remove the VDD Header

    3. Connect the JTAG Wires as shown in the center of the board (markers are present on the board)

    4. Connect the GND between the two boards.

    I have attached a JPG File for reference

    Regards

    Amit

  • cool thanks,  is the bootloader factory install on the chips or is it like arduino were you have to burn the bootloader to the fresh chip first? before programming it.

  • Hello Daniel,

    The Boot Loaders are in ROM and will be executed if the flash is empty (which is the factory default). If you have code in the Flash then the boot loaders will not be called. To invoke the boot loader with the Code in flash you would need to use

    1. The BOOTCFG register to indicate when to call the boot loaders

    2. Have a small code snippet in the Flash that can call the Boot Loaders via the Boot Loader API's as given in the ROM Boot Loader User Guide.

    The TIVAWare has examples for the same in the boot_loader directory.

    Regards

    Amit

  • I found and read a little of the user guide. but I want this to program and debug just like the launchpad boards. I've never had to screw around with the boot loader functions or registers before.  I've used Keil and CCS with and without TivaWare.

  • Hello Daniel,

    I am a little confused here.

    If the requirement is to just take the part and program a code through CCS and/or Keil via a debugger then you do not need a boot loader. Please clarify.

    Regards

    Amit

  • you just answered my question. thanks