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.

[Request] Bootloader

Hi,

I'm trying to implement serial Bootloader for controller  TM4C1231H6PZ in CCS 6

i took the project from the path

C:\ti\TivaWare_C_Series-2.0.1.11577\examples\boards\dk-tm4c123g\boot_serial\ccs

 while compiling the project i got errors as follows.

Description	Resource	Path	Location	Type
#20 identifier "tEMACWakeUpFrameFilter" is undefined	.ccsproject	/Bootloader	line 1008, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\driverlib\emac.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 864, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\driverlib\emac.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 163, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#20 identifier "tEMACWakeUpFrameFilter" is undefined	.ccsproject	/Bootloader	line 1010, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\driverlib\emac.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 864, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\driverlib\emac.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 175, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 359 of "C:/ti/TivaWare_C_Series-2.0.1.11577/boot_loader/bl_usbfuncs.h")	.ccsproject	/Bootloader	line 175, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 175, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 189, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 329)	.ccsproject	/Bootloader	line 359, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 359, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#20 identifier "tUSBRequest" is undefined	.ccsproject	/Bootloader	line 448, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#20 identifier "tUSBRequest" is undefined	.ccsproject	/Bootloader	line 473, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 329, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 274)	.ccsproject	/Bootloader	line 329, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 329, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 359, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 163, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 274, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 163)	.ccsproject	/Bootloader	line 274, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 274, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\bl_usbfuncs.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 316)	.ccsproject	/Bootloader	line 332, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 332, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 316, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 296)	.ccsproject	/Bootloader	line 316, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 316, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 296, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 261)	.ccsproject	/Bootloader	line 296, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 296, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 261, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 225)	.ccsproject	/Bootloader	line 261, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 261, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 225, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 189)	.ccsproject	/Bootloader	line 225, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 225, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 189, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 175)	.ccsproject	/Bootloader	line 189, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 414, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 414, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 362)	.ccsproject	/Bootloader	line 414, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#258 invalid redeclaration of type name "__attribute__" (declared at line 332)	.ccsproject	/Bootloader	line 362, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 362, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#66 expected a ";"	.ccsproject	/Bootloader	line 332, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

#80 expected a type specifier	.ccsproject	/Bootloader	line 362, external location: C:\ti\TivaWare_C_Series-2.0.1.11577\boot_loader\usbdfu.h	C/C++ Problem

Please guide me..

Thank You

  • Hello Ramesh,

    The path for the 3 boot loader are as follows

    C:\ti\TivaWare_C_Series-2.1.0.12573\examples\boards\dk-tm4c123g

    The boot_serial is the flash based boot loader

    The boot_demo1 and boot_demo2 are the two application codes that the boot_serial will flash and jump to.

    I have used the 3 programs and I have not seen such an issue so far. Have you changed anything in the CCS project?

    Regards

    Amit

  • Hi Amit,

    Changes i made:

    Changed the controller to   TM4C1231H6PZ

    and i created a Bootloader project in my drive and copied the bootloader folder to my Bootloader Project and included  in ARM Compiler Include Options

    "C:\ti\TivaWare_C_Series-2.0.1.11577\examples\boards\dk-tm4c123g\boot_serial"
    
    "C:\ti\TivaWare_C_Series-2.0.1.11577"
    
    "C:\TI_CCS6\ccsv6\tools\compiler\tms470_5.1.5\include"
    
    "C:\ti\TivaWare_C_Series-2.0.1.11577\driverlib"

    below is my project screenshot

  • Hello Ramesh

    When I imported the project it looks like the following screenshot. It clearly does not have files that are there in your screenshot. I would ask you to delete it from the Workspace and just do a simple import of boot_serial

    Regards

    Amit

  • Hi Amit,

    Yes you  are correct.

    my mistake was instead of importing i have created another project and added the boot_loader folder to it.

    Thank You