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.

TMS570LC4357: EMAC Bootloader调试问题 初始化死机

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

   您好,我最近在调试TMS570LC4357的 EMAC Bootloader时,发现程序在初始化各个驱动过程中就卡死了,调试过程中点击 Suspend 发现程序停在:HL_sys_intvecs.asm

里的   b   dataEntry 这行,不知道是什么原因?

  我的CMD文件如下:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*----------------------------------------------------------------------------*/
/* sys_link.cmd */
/* */
/*
* Copyright (C) 2009-2018 Texas Instruments Incorporated - www.ti.com
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

另外还想问问,关于HALCoGen生成的代码,有没有 HL_sys_intvecs.asm 、HL_sys_link.cmd、HL_sys_core.asm、HL_sys_phantom.c等系统文件的说明,

我想了解一下各个文件的作用,后续开发过程也好定位问题,多谢!!!

  • 已为您联系TI资深工程师,一旦得到回复会立刻回复给您

  • Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    ******************************************************************************
    TI ARM Linker PC v20.2.5
    ******************************************************************************
    >> Linked Wed Feb 15 17:18:22 2023
    OUTPUT FILE NAME: <downsize.out>
    ENTRY POINT SYMBOL: "_c_int00" address: 0001f0ec
    MEMORY CONFIGURATION
    name origin length used unused attr fill
    ---------------------- -------- --------- -------- -------- ---- --------
    VECTORS 00000000 00000020 00000020 00000000 X (ffffffff)
    FLASH0 00000020 001fffe0 0001f878 001e0768 R X (ffffffff)
    FLASH1 00200000 00200000 00000000 00200000 R X (ffffffff)
    STACK 08000000 00002000 00000000 00002000 RW
    RAM 08002000 0007e000 0006c594 00011a6c RW X
    ECC_VEC f0400000 00000004 00000000 00000004 R
    ECC_FLA0 f0400004 0003fffc 00000000 0003fffc R
    ECC_FLA1 f0440000 00040000 00000000 00040000 R
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    我编译后的MAP文件,麻烦帮忙看看,多谢!

  • 您是否可以共享您的完整项目以便我们进行调试?

  • 我给您发了一封邮件,请注意查收。您可以通过邮件发送项目。

  • 因为问题比较复杂,工程师需要花多一些的时间来分析您的代码。在此同时,能否请您先参考以下 TI 的 Hercules Ethernet Bootloader 示例?

    1680.Hercules_Ethernet_Bootloader.zip

  • 好的 我先试试  您那边有回复时麻烦告诉我

  • 已在E2E英文论坛为您询问资深工程师,一旦得到回复会立刻回复给您

  • 请问这个示例代码可以在4357的开发板上运行吗?使用CCS11.0,可以吗?

  • 请问这个示例代码可以在4357的开发板上运行吗?使用CCS11.0,可以吗?

  • 我目前把Ethernet_Bootloader示例程序放在 桌面的Ti文件夹里,然后使用CCS11.0导入工程文件,发现无法进行编译,请问是不是该工程放到固定的目录下?

  • 已为您联系TI资深工程师,稍后给您回复

  • 不需要的,无论目录如何,都应该能够导入项目