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.

RTOS/AM5728: How can I build the RS485_uart diagnostic for RTOS

Part Number: AM5728

Tool/software: TI-RTOS

The directions on the TI web Page

specify:

3.2.2.2. Compiling the Diagnostic Applications

To build the diagnostic examples:

  1. cd <PDK>/packages/ti/board/diag
  2. make <BOARD>

This will make the diagnostic applications for a specific $BOARD. Output files will be located in: <PDK>/packages/ti/board/bin/<BOARD>

 

I perform a:  cd C:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag

I perform a: gmake idkAM572x

 

it does not make the RS485_uart example - it only makes 17 of the 54 diagnostics

 

i change one line in the make file C:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag

from

idkAM572x_DIAG = dcan eeprom emmc framework framework_loader gmac haptics icss_emac lcd_touchscreen led led_industrial mcspi mem mmcsd pmic qspi uart

to

idkAM572x_DIAG = rs485_uart

 

When I execute the changed make file - rs485_uart will not build without errors

 

There are other diagnostics in the diag folder that do not get built

 

Can someone change the PDK make file for the diagnostics so that ALL diagnostics get built not just 17 of the 54 diagnostics in the 

folder:  C:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag

 

  • As an alternative - Could the UART_BasicExample_idkAM572x_c66xExampleProject be converted to use RS485. Which project would be an easier path to get working with RTOS CCS. rs485_uart or UART_BasicExample_idkAM572x_c66xExampleProject ?
  • 8787.makefile

    7282.build_log.txt
    c:\>cd ti
    
    c:\ti>cd pdk_am57xx_1_0_13
    
    c:\ti\pdk_am57xx_1_0_13>DIR
     Volume in drive C is OSDisk
     Volume Serial Number is E4EB-A38C
    
     Directory of c:\ti\pdk_am57xx_1_0_13
    
    01/23/2019  10:50 AM    <DIR>          .
    01/23/2019  10:50 AM    <DIR>          ..
    01/23/2019  10:50 AM    <DIR>          eclipse
    01/23/2019  04:19 PM    <DIR>          packages
                   0 File(s)              0 bytes
                   4 Dir(s)  50,296,274,944 bytes free
    
    c:\ti\pdk_am57xx_1_0_13>cd packages
    
    c:\ti\pdk_am57xx_1_0_13\packages>dir
     Volume in drive C is OSDisk
     Volume Serial Number is E4EB-A38C
    
     Directory of c:\ti\pdk_am57xx_1_0_13\packages
    
    01/23/2019  04:19 PM    <DIR>          .
    01/23/2019  04:19 PM    <DIR>          ..
    12/20/2018  01:20 AM             3,357 API_Documentation.html
    12/20/2018  12:15 AM             1,056 macros.ini
    12/19/2018  11:58 PM             6,632 makefile
    01/28/2019  05:32 PM    <DIR>          MyExampleProjects
    12/20/2018  12:15 AM             3,848 pdkAppImageCreate.bat
    12/20/2018  12:15 AM             4,509 pdkAppImageCreate.sh
    01/23/2019  04:14 PM            32,469 pdkProjectCreate.bat
    12/20/2018  12:15 AM            34,737 pdkProjectCreate.sh
    01/02/2019  05:10 PM             2,645 pdksetupenv.bat
    12/20/2018  12:15 AM             3,230 pdksetupenv.sh
    01/02/2019  05:10 PM             5,811 Rules.make
    01/23/2019  11:10 AM    <DIR>          ti
                  10 File(s)         98,294 bytes
                   4 Dir(s)  50,296,262,656 bytes free
    
    c:\ti\pdk_am57xx_1_0_13\packages>pdksetupenv.bat
    ***************************************************
    Environment Configuration:
    ***************************************************
        SDK_INSTALL_PATH        : C:/ti
        GMAKE_INSTALL_PATH      : C:/ti/xdctools_3_50_08_24_core
        RULES_MAKE              : C:/ti/pdk_am57xx_1_0_13/packages/Rules.make
    ***************************************************
    
    c:\ti\pdk_am57xx_1_0_13\packages>dir
     Volume in drive C is OSDisk
     Volume Serial Number is E4EB-A38C
    
     Directory of c:\ti\pdk_am57xx_1_0_13\packages
    
    01/23/2019  04:19 PM    <DIR>          .
    01/23/2019  04:19 PM    <DIR>          ..
    12/20/2018  01:20 AM             3,357 API_Documentation.html
    12/20/2018  12:15 AM             1,056 macros.ini
    12/19/2018  11:58 PM             6,632 makefile
    01/28/2019  05:32 PM    <DIR>          MyExampleProjects
    12/20/2018  12:15 AM             3,848 pdkAppImageCreate.bat
    12/20/2018  12:15 AM             4,509 pdkAppImageCreate.sh
    01/23/2019  04:14 PM            32,469 pdkProjectCreate.bat
    12/20/2018  12:15 AM            34,737 pdkProjectCreate.sh
    01/02/2019  05:10 PM             2,645 pdksetupenv.bat
    12/20/2018  12:15 AM             3,230 pdksetupenv.sh
    01/02/2019  05:10 PM             5,811 Rules.make
    01/23/2019  11:10 AM    <DIR>          ti
                  10 File(s)         98,294 bytes
                   4 Dir(s)  50,296,147,968 bytes free
    
    c:\ti\pdk_am57xx_1_0_13\packages>cd ti
    
    c:\ti\pdk_am57xx_1_0_13\packages\ti>cd board
    
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board>dir
     Volume in drive C is OSDisk
     Volume Serial Number is E4EB-A38C
    
     Directory of c:\ti\pdk_am57xx_1_0_13\packages\ti\board
    
    01/23/2019  10:55 AM    <DIR>          .
    01/23/2019  10:55 AM    <DIR>          ..
    12/20/2018  12:45 AM             2,164 .xdcenv.mak
    12/20/2018  12:35 AM            11,795 board.h
    12/20/2018  12:35 AM             4,066 board_cfg.h
    12/20/2018  12:35 AM             6,710 board_component.mk
    01/23/2019  10:53 AM    <DIR>          build
    12/20/2018  12:35 AM            22,949 config.bld
    12/20/2018  12:35 AM             1,502 config_mk.bld
    01/23/2019  10:54 AM    <DIR>          diag
    01/23/2019  10:54 AM    <DIR>          lib
    12/20/2018  12:35 AM             1,824 makefile
    01/23/2019  10:54 AM    <DIR>          package
    12/20/2018  12:35 AM             3,564 package.bld
    12/20/2018  12:45 AM           176,542 package.mak
    12/20/2018  12:35 AM               524 package.xdc
    12/20/2018  12:35 AM             2,342 package.xs
    12/20/2018  12:45 AM            13,546 Settings.h
    12/20/2018  12:45 AM               579 Settings.xdc
    12/20/2018  12:35 AM               881 Settings.xdc.xdt
    01/23/2019  10:55 AM    <DIR>          src
    01/23/2019  10:55 AM    <DIR>          utils
    12/20/2018  12:35 AM             2,218 utils.xs
                  15 File(s)        251,206 bytes
                   8 Dir(s)  50,296,020,992 bytes free
    
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board>cd g
    The system cannot find the path specified.
    
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board>cd diag
    
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag>gmake idkAM572x_sd
    gmake sdtarget sboard=idkAM572x bboot=SD
    gmake[1]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    gmake buildtarget bboard=idkAM572x btests=idkAM572x_DIAG
    gmake[2]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    gmake -C dcan BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan/src/dcan_loopback_app_main.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/common/AM572x/diag_entry.S ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/common/AM572x/diag_entry.S: Assembler messages:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/common/AM572x/diag_entry.S:262: Warning: register range not in ascending order
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/common/AM572x/diag_entry.S:262: Warning: writeback of base register when in register list is UNPREDICTABLE
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/dcan_loopback_app_main.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/dcan_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    gmake -C eeprom BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom/src/eeprom_test.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/eeprom_test.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/eeprom_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    gmake -C emmc BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc/src/emmc_main.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/emmc_main.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/emmc_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    gmake -C framework BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework/src/main.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework/src/framework.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/mmcsd/soc/am57xx/MMCSD_soc.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework/src/framework_entry.S ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/mmcsd/sbl_mmcsd.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/rprc/sbl_rprc.c ...
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/rprc/sbl_rprc.c:44:0:
    c:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\rprc\sbl_rprc.h:104:0: warning: "SOC_DSP_L2_BASE" redefined
     #define SOC_DSP_L2_BASE                 (0x800000)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc.h:76:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/cslr_device.h:41,
                     from c:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\rprc\sbl_rprc.h:48,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/rprc/sbl_rprc.c:44:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_soc.h:576:0: note: this is the location of the previous definition
     #define SOC_DSP_L2_BASE                     (CSL_DSP_DSP_L2_REGS)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/rprc/sbl_rprc.c:44:0:
    c:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\rprc\sbl_rprc.h:105:0: warning: "SOC_DSP_L1P_BASE" redefined
     #define SOC_DSP_L1P_BASE                (0xe00000)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc.h:76:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/cslr_device.h:41,
                     from c:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\rprc\sbl_rprc.h:48,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/rprc/sbl_rprc.c:44:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_soc.h:574:0: note: this is the location of the previous definition
     #define SOC_DSP_L1P_BASE                    (CSL_DSP_DSP_L1P_REGS)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/rprc/sbl_rprc.c:44:0:
    c:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\rprc\sbl_rprc.h:106:0: warning: "SOC_DSP_L1D_BASE" redefined
     #define SOC_DSP_L1D_BASE                (0xf00000)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc.h:76:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/cslr_device.h:41,
                     from c:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\rprc\sbl_rprc.h:48,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl//src/rprc/sbl_rprc.c:44:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_soc.h:575:0: note: this is the location of the previous definition
     #define SOC_DSP_L1D_BASE                    (CSL_DSP_DSP_L1D_REGS)
    
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/main.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/framework.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/MMCSD_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/framework_entry.ao C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/sbl_mmcsd.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/sbl_rprc.o into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/framework_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    gmake -C framework_loader BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader/src/fl_main.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader/src/fl_main.c: In function 'FL_load':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader/src/fl_main.c:123:17: warning: implicit declaration of function 'CSL_a15WbAllDataCache' [-Wimplicit-function-declaration]
                     CSL_a15WbAllDataCache();
                     ^~~~~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader/src/fl_main.c:124:17: warning: implicit declaration of function 'CSL_a15InvAllInstrCache' [-Wimplicit-function-declaration]
                     CSL_a15InvAllInstrCache();
                     ^~~~~~~~~~~~~~~~~~~~~~~
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader/src/fl_entry.S ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/fl_main.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/MMCSD_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/fl_entry.ao C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/sbl_mmcsd.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/sbl_rprc.o into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/frameworkLoader_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    gmake -C gmac BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c: In function 'ServiceRx':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c:977:29: warning: passing argument 1 of 'CSL_a15InvDataCache' makes pointer from integer without a cast [-Wint-conversion]
             CSL_a15InvDataCache(curr->BufPtr, BUFFER_SIZE);
                                 ^~~~
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/csl_a15.h:50:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/src/ip/arm_gic/V0/csl_armGicAux.h:46,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/csl_armGicAux.h:49,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c:39:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/arch/a15/V0/csl_a15.h:1347:6: note: expected 'void *' but argument is of type 'Uint32 {aka long unsigned int}'
     void CSL_a15InvDataCache
          ^~~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c: In function 'TxPacket':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c:1167:22: warning: passing argument 1 of 'CSL_a15WbDataCache' makes pointer from integer without a cast [-Wint-conversion]
       CSL_a15WbDataCache(TxDesc->BufPtr, BUFFER_SIZE);
                          ^~~~~~
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/csl_a15.h:50:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/src/ip/arm_gic/V0/csl_armGicAux.h:46,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/csl_armGicAux.h:49,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c:39:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/arch/a15/V0/csl_a15.h:1553:6: note: expected 'void *' but argument is of type 'Uint32 {aka long unsigned int}'
     void CSL_a15WbDataCache
          ^~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c: In function 'CheckStats':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c:1336:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if( HWREG(CpswStatBase+0x44) ||
             ^~
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_main.c:1347:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                 Delay(1000000);
                 ^~~~~
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac/src/gmac_counter.S ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/gmac_main.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/gmac_counter.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/gmac_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    gmake -C haptics BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics/src/haptics_test.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics/build/idkAM572x/GPIO_HAPTICS_config.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/gpio/soc/am572x/GPIO_soc.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/haptics_test.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/GPIO_HAPTICS_config.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/GPIO_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/haptics_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    gmake -C icss_emac BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_main.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_main.c: In function 'ICSS_EmacRxPktCallback':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_main.c:995:56: warning: passing argument 2 of 'ICSS_EmacRxPktInfo' from incompatible pointer type [-Wincompatible-pointer-types]
         pLength = ICSS_EmacRxPktInfo(ICSS_EmacSubSysHandle,&port_number, &queue_number);
                                                            ^
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_main.c:45:0:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/icss_emac/icss_emacDrv.h:836:9: note: expected 'int32_t * {aka long int *}' but argument is of type 'int8_t * {aka signed char *}'
     int32_t ICSS_EmacRxPktInfo(ICSS_EmacHandle icssEmacHandle,
             ^~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_main.c:995:70: warning: passing argument 3 of 'ICSS_EmacRxPktInfo' from incompatible pointer type [-Wincompatible-pointer-types]
         pLength = ICSS_EmacRxPktInfo(ICSS_EmacSubSysHandle,&port_number, &queue_number);
                                                                          ^
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_main.c:45:0:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/icss_emac/icss_emacDrv.h:836:9: note: expected 'int32_t * {aka long int *}' but argument is of type 'int8_t * {aka signed char *}'
     int32_t ICSS_EmacRxPktInfo(ICSS_EmacHandle icssEmacHandle,
             ^~~~~~~~~~~~~~~~~~
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_osal.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_startup.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_startup.c: In function 'systemInit':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac/src/icss_emac_startup.c:153:14: warning: unused variable 'phyAddr' [-Wunused-variable]
         uint32_t phyAddr = 0U;
                  ^~~~~~~
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/uart/soc/am572x/UART_soc.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/icss_emac_main.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/icss_emac_osal.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/icss_emac_startup.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/UART_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/icssEmac_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    gmake -C lcd_touchscreen BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:70:0: warning: "SOC_CORE_PAD_IO_REGISTERS_BASE" redefined
     #define SOC_CORE_PAD_IO_REGISTERS_BASE              (0x4a003400U)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_soc.h:127:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc.h:76,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/cslr_device.h:41,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/i2c/soc/I2C_v2.h:55,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/i2c/soc/I2C_soc.h:52,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:51:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_soc_aliases.h:1840:0: note: this is the location of the previous definition
     #define SOC_CORE_PAD_IO_REGISTERS_BASE                                          (CSL_MPU_CORE_PAD_IO_REGISTERS_REGS)
    
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:73:0: warning: "CM_WKUPAON_GPIO1_CLKCTRL" redefined
     #define CM_WKUPAON_GPIO1_CLKCTRL                    (0x4AE07838)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_soc.h:120:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc.h:76,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/cslr_device.h:41,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/i2c/soc/I2C_v2.h:55,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/i2c/soc/I2C_soc.h:52,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:51:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_wkupaon_cm.h:125:0: note: this is the location of the previous definition
     #define CM_WKUPAON_GPIO1_CLKCTRL  (CSL_WKUPAON_CM_CM_WKUPAON_GPIO1_CLKCTRL_REG)
    
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:74:0: warning: "CM_L4PER_GPIO6_CLKCTRL" redefined
     #define CM_L4PER_GPIO6_CLKCTRL      (0x4A009780)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_soc.h:99:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc.h:76,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/cslr_device.h:41,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/i2c/soc/I2C_v2.h:55,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/i2c/soc/I2C_soc.h:52,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:51:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am572x/src/cslr_l4per_cm_core_component.h:294:0: note: this is the location of the previous definition
     #define CM_L4PER_GPIO6_CLKCTRL  (CSL_L4PER_CM_CORE_COMPONENT_CM_L4PER_GPIO6_CLKCTRL_REG)
    
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:76:0: warning: "HW_WR_REG32" redefined
     #define HW_WR_REG32(addr, data)   *(unsigned int*)(addr) =(unsigned int)(data)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/board.h:69:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:60:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/hw_types.h:87:0: note: this is the location of the previous definition
     #define HW_WR_REG32(addr, value)                                               \
    
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c: In function 'touchscreen_test':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen/src/lcd_touchscreen_test.c:196:10: warning: unused variable 'messageSize' [-Wunused-variable]
      uint8_t messageSize = 4;
              ^~~~~~~~~~~
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/lcd_touchscreen_test.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/lcdTouchscreen_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    gmake -C led BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led/src/led_test.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led/build/idkAM572x/GPIO_LED_config.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/led_test.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/GPIO_LED_config.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/GPIO_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/led_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    gmake -C led_industrial BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial/src/led_industrial_test.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/led_industrial_test.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/ledIndustrial_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    gmake -C mcspi BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi/src/mcspi_diag.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi/src/mcspi_diag.c:79:0: warning: "CSL_MCSPI_PER_CNT" redefined
     #define CSL_MCSPI_PER_CNT   (4U)
    
    In file included from C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am65xx/src/cslr_soc.h:38:0,
                     from C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi/src/mcspi_diag.c:37:
    C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/soc/am65xx/src/cslr_soc_defines.h:68:0: note: this is the location of the previous definition
     #define CSL_MCSPI_PER_CNT                   (5U)
    
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi/build/idkAM572x/GPIO_SPI_config.c ...
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/spi/soc/am572x/SPI_soc.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/mcspi_diag.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/GPIO_SPI_config.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/SPI_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/GPIO_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/mcspi_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    gmake -C mem BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem/src/mem_test.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/mem_test.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/mem_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    gmake -C mmcsd BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd/src/mmcsd_main.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/mmcsd_main.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/mmcsd_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    gmake -C pmic BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic/src/pmic_test.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic/src/pmic_test.c: In function 'pmic_test':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic/src/pmic_test.c:267:13: warning: unused variable 'messageSize' [-Wunused-variable]
         uint8_t messageSize = 4;
                 ^~~~~~~~~~~
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/pmic_test.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/pmic_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    gmake -C qspi BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi/src/qspi_diag.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/qspi_diag.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/SPI_soc.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/qspi_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    gmake -C uart BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart/src/uart_diag.c ...
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/uart_diag.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/uart_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    gmake[2]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    create_sd.bat idkAM572x armv7 0
    Creating SD files for idkAM572x...
    Using out2prc: C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl/tools/out2rprc/bin/out2rprc.exe
    Using multigen: C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl/tools/multicoreImageGen/bin/MulticoreImageGen.exe
    Parsing dcan_diagExample_idkAM572x_armv7.out
    Parsing the input object file, dcan_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing eeprom_diagExample_idkAM572x_armv7.out
    Parsing the input object file, eeprom_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing emmc_diagExample_idkAM572x_armv7.out
    Parsing the input object file, emmc_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing frameworkLoader_idkAM572x_armv7.out
    Parsing the input object file, frameworkLoader_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing framework_idkAM572x_armv7.out
    Parsing the input object file, framework_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing gmac_diagExample_idkAM572x_armv7.out
    Parsing the input object file, gmac_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing haptics_diagExample_idkAM572x_armv7.out
    Parsing the input object file, haptics_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing icssEmac_diagExample_idkAM572x_armv7.out
    Parsing the input object file, icssEmac_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing lcdTouchscreen_diagExample_idkAM572x_armv7.out
    Parsing the input object file, lcdTouchscreen_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing ledIndustrial_diagExample_idkAM572x_armv7.out
    Parsing the input object file, ledIndustrial_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing led_diagExample_idkAM572x_armv7.out
    Parsing the input object file, led_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing mcspi_diagExample_idkAM572x_armv7.out
    Parsing the input object file, mcspi_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing mem_diagExample_idkAM572x_armv7.out
    Parsing the input object file, mem_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing mmcsd_diagExample_idkAM572x_armv7.out
    Parsing the input object file, mmcsd_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing pmic_diagExample_idkAM572x_armv7.out
    Parsing the input object file, pmic_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing qspi_diagExample_idkAM572x_armv7.out
    Parsing the input object file, qspi_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing uart_diagExample_idkAM572x_armv7.out
    Parsing the input object file, uart_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
            1 file(s) moved.
            1 file(s) moved.
    Done! Check C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/sd for images to put onto SD card.
    gmake[1]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag>
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag>
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag>
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag>gmake idkAM572x_sd
    gmake sdtarget sboard=idkAM572x bboot=SD
    gmake[1]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    gmake buildtarget bboard=idkAM572x btests=idkAM572x_DIAG
    gmake[2]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    gmake -C dcan BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/dcan'
    gmake -C eeprom BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/eeprom'
    gmake -C emmc BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/emmc'
    gmake -C framework BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework'
    gmake -C framework_loader BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/framework_loader'
    gmake -C gmac BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/gmac'
    gmake -C haptics BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/haptics'
    gmake -C icss_emac BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/icss_emac'
    gmake -C lcd_touchscreen BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/lcd_touchscreen'
    gmake -C led BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led'
    gmake -C led_industrial BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/led_industrial'
    gmake -C mcspi BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mcspi'
    gmake -C mem BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mem'
    gmake -C mmcsd BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/mmcsd'
    gmake -C pmic BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/pmic'
    gmake -C qspi BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/qspi'
    gmake -C uart BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/uart'
    gmake -C rs485_uart BOARD=idkAM572x TARGET=armv7 BOOTMODE=SD
    gmake[3]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/rs485_uart'
    gmake -f ./build/idkAM572x/armv7/makefile
    gmake[4]: Entering directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/rs485_uart'
    compiling C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/rs485_uart/src/rs485_uart_diag.c ...
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/rs485_uart/src/rs485_uart_diag.c: In function 'uart_test':
    C:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/rs485_uart/src/rs485_uart_diag.c:79:10: warning: unused variable 'p' [-Wunused-variable]
         char p = 'r';
              ^
    linking C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/rs485_uart_diag.o C:/ti/pdk_am57xx_1_0_13/packages/ti/board/obj/idkAM572x/armv7/diag_entry.ao into C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/armv7/rs485_uart_diagExample_idkAM572x_armv7.out ...
    gmake[4]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/rs485_uart'
    gmake[3]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag/rs485_uart'
    gmake[2]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    create_sd.bat idkAM572x armv7 0
    Creating SD files for idkAM572x...
    Using out2prc: C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl/tools/out2rprc/bin/out2rprc.exe
    Using multigen: C:/ti/pdk_am57xx_1_0_13/packages/ti/boot/sbl/tools/multicoreImageGen/bin/MulticoreImageGen.exe
    A subdirectory or file C:\ti\pdk_am57xx_1_0_13\packages\ti\board\bin\idkAM572x\sd already exists.
    Parsing dcan_diagExample_idkAM572x_armv7.out
    Parsing the input object file, dcan_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing eeprom_diagExample_idkAM572x_armv7.out
    Parsing the input object file, eeprom_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing emmc_diagExample_idkAM572x_armv7.out
    Parsing the input object file, emmc_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing frameworkLoader_idkAM572x_armv7.out
    Parsing the input object file, frameworkLoader_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing framework_idkAM572x_armv7.out
    Parsing the input object file, framework_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing gmac_diagExample_idkAM572x_armv7.out
    Parsing the input object file, gmac_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing haptics_diagExample_idkAM572x_armv7.out
    Parsing the input object file, haptics_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing icssEmac_diagExample_idkAM572x_armv7.out
    Parsing the input object file, icssEmac_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing lcdTouchscreen_diagExample_idkAM572x_armv7.out
    Parsing the input object file, lcdTouchscreen_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing ledIndustrial_diagExample_idkAM572x_armv7.out
    Parsing the input object file, ledIndustrial_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing led_diagExample_idkAM572x_armv7.out
    Parsing the input object file, led_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing mcspi_diagExample_idkAM572x_armv7.out
    Parsing the input object file, mcspi_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing mem_diagExample_idkAM572x_armv7.out
    Parsing the input object file, mem_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing mmcsd_diagExample_idkAM572x_armv7.out
    Parsing the input object file, mmcsd_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing pmic_diagExample_idkAM572x_armv7.out
    Parsing the input object file, pmic_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing qspi_diagExample_idkAM572x_armv7.out
    Parsing the input object file, qspi_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing rs485_uart_diagExample_idkAM572x_armv7.out
    Parsing the input object file, rs485_uart_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
    Parsing uart_diagExample_idkAM572x_armv7.out
    Parsing the input object file, uart_diagExample_idkAM572x_armv7.out.
    File conversion complete!
    Number of Input Files 1
    
            1 file(s) moved.
            1 file(s) moved.
    Done! Check C:/ti/pdk_am57xx_1_0_13/packages/ti/board/bin/idkAM572x/sd for images to put onto SD card.
    gmake[1]: Leaving directory `c:/ti/pdk_am57xx_1_0_13/packages/ti/board/diag'
    
    c:\ti\pdk_am57xx_1_0_13\packages\ti\board\diag>

    Hi,

    Only thing I did is to add rs485_uart in the pdk_am57xx_1_0_13\packages\ti\board\diag\makefile, like below, I have no issue to build it.

    idkAM572x_DIAG = dcan eeprom emmc framework framework_loader gmac haptics icss_emac lcd_touchscreen led led_industrial mcspi mem mmcsd pmic qspi uart rs485_uart

    See attached makefile and build log.

    Regards, Eric

  • I reinstalled the sdk and got RS485_uart to build like you did. But you built it using: gmake idkAM572x_sd

    It produces: rs485_uart_diagExample_idkAM572x_armv7.out

    2 questions:

    Can I just load it into a core and run it?

    I need it to run on DSP1 - is the out file only good for the arm
  • Hi,

    Q1. This is an ARM application intended to run from SD card. To run directly on ARM with CCS/JTAG, please check
    software-dl.ti.com/.../index_board.html

    3.2.3.3. Running or debugging on CCS
    To debug your application, CCS can give you access to the chip’s memory and register values. You can follow the below steps to load and run an application in CCS. If you have a SD card loadable image, and is able to load your application, you can connect to the A15 core in CCS and load symbols without having to load and run the entire application. After running “make all” or “make $BOARD”, the output files should be generated under <PDK>/packages/ti/board/bin/ directory. You will have to navigate down to the $BOARD you’re building (eg. idkAM572x, evmAM572x, etc.) and the $TARGET core you’re building for (eg. armv7).

    For the existing diagnostic applications, you may need to define PDK_RAW_BOOT before compiling.

    Q2, No this is for A15, you need to port it to DSP. A15 is the boot master, and the intend of diagnostic is letting customer to check the HW by simply booting/running a test from master core.

    Regards, Eric
  • I need to have the RS485 supported on a DSP. So before I proceed, again my question is:

    Which would be the easier part;

    1. Port the bare metal rs485_uart_diagExample_idkAM572x_armv7 diagnostic which is for an SD card and the A15 to the DSP

    2. Change the UART_BasicExample_idkAM572x_c66xExampleProject to use RS485 on the DSP

    Whichever choice you recommend, I'll start converting.

    Thanks,

    Kenny

  • Hi,

    The #2 is the standard UART on the SOC, the project is for C66x. But the RS485 UART is not the standard UART but the UART using PRU firmware. The #1 is the working case code to test the RS485 UART on A15, I believe using approach #1 is easier.

    Regards, Eric
  • Hi:

    That's what I assumed. So I started going down that route.

    1. I have a project TcpIpPrototype that took TI's Ftp example project and altered it to support a Tcp client & server using the PRU ports

    2. I have the TcpIpPrototype app working with each of the PRU UARTs

    3. I plan to load a copy of that project into CCS

    4. Gut the TcpIp code

    5. Add the RS485 diag project source code  to the gutted project and see where that takes me

    Before I get too far along, I have another question. Assume I get this new RS485 project working. If I then want to merge the RS485 project code into the TcpIpServer project, can this merged app use both PRU2 ETH0 and PRU2 ETH1 and UART3?

  • Hi,

    I checked with the expert on PRU-ICSS. This is possible. But the firmware for Ethernet and UART are separate, you need use one PRU for Ethernet and the other for UART.

    Regards, Eric