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.

Tiva4C TM4C123G LaunchPad default qs-rgb program build



Hi,

I got the Tiva4C TM4C123G LaunchPad few days back, I downloaded all the necessary softwares and Labwork exercises. The lab works are working fine with Build and then program to the chip.

I was trying to rebuild the default program(qs-rgb) which was pre-loaded in the board. I got the driverlib and qs-rgb.c file from TI site but whenever I am trying to build, it is showing   unresolved symbol for all ROM_*** (Ex. ROM_FPUEnable) definition, whereas I have included the rom.h header. In rom.h header I see there is some conditions to define these ROM_*** like 

#if defined(TARGET_IS_TM4C123_RA1) || \
defined(TARGET_IS_TM4C123_RA3) || \
defined(TARGET_IS_TM4C123_RB1) || \
defined(TARGET_IS_TM4C129_RA0) || \
defined(TARGET_IS_TM4C129_RA1) || \
defined(TARGET_IS_TM4C129_RA2)
#define ROM_ADCSequenceDataGet \
((int32_t (*)(uint32_t ui32Base, \
uint32_t ui32SequenceNum, \
uint32_t *pui32Buffer))ROM_ADCTABLE[0])

and for defining TARGET_IS_TM4C123_RA1 also some conditions like

#ifdef TARGET_IS_SNOWFLAKE_RA0
#define TARGET_IS_TM4C129_RA0
#endif
#ifdef TARGET_IS_SNOWFLAKE_RA1
#define TARGET_IS_TM4C129_RA1
#endif
#ifdef TARGET_IS_SNOWFLAKE_RA2
#define TARGET_IS_TM4C129_RA2
#endif
#ifdef TARGET_IS_BLIZZARD_RA1
#define TARGET_IS_TM4C123_RA1
#endif
#ifdef TARGET_IS_BLIZZARD_RA2
#define TARGET_IS_TM4C123_RA2
#endif
#ifdef TARGET_IS_BLIZZARD_RA3
#define TARGET_IS_TM4C123_RA3
#endif
#ifdef TARGET_IS_BLIZZARD_RB0
#define TARGET_IS_TM4C123_RB0
#endif
#ifdef TARGET_IS_BLIZZARD_RB1
#define TARGET_IS_TM4C123_RB1
#endif
#endif

I simply can not find the definition of TARGET_IS_BLIZZARD_RA1. Please help me resolve this issue, 

Thanks in advance.  

  • Hello Abhirup,

    If using TM4C123 then the define must be TARGET_IS_TM4C123_RB1 or TARGET_IS_TM4C123_RB2. The latter is part of TivaWare 2.1.2.111 release

    To check if it is RB1 or RB2, can you connect the debugger and check the value of the SYSCTL_DID0 register or send across the marking on the top of the device?

    Regards
    Amit