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.

TMS320F280049C: 关于LFU历程使用的问题

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

在使用C2000中C:\ti\c2000\C2000Ware_4_01_00_00\driverlib\f28004x\examples\flash目录下flashapi_ex5_lfu_no_reset历程时,成功通过if(command == (uint16_t)0x0700)判断后,程序却跳转到了static void Interrupt_illegalOperationHandler(void)中,请问在使用这个历程时需要什么额外的配置么?

  • 你好,工程师将在工作时间回复你的问题。

  • 你好,例程需要的配置一般在工程的main.c文件开头的注释中会说明,这个例程的说明挺多的,你可以看一下是否有做相关设置:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    //! This example demonstrates how to perform a live firmware update with use
    //! of the Live Device Firmware Update (Live DFU or LDFU) command. The LDFU
    //! command is supported in Serial Flash Programmer which communicates with
    //! the SCI Flash Kernel.
    //!
    //! In the example, an SCI autobaud lock is performed and the byte used for autobaud
    //! lock is echoed back. Two interrupts are initialized and enabled: SCI Rx FIFO
    //! interrupt and CPU Timer 0 interrupt. The CPU Timer 0 interrupt occurs every 1
    //! second; the interrupt service routine (ISR) for CPU Timer 0 toggles an LED
    //! based on the build configuration that is running. LED1 is toggled for the
    //! BANK0_FLASH and BANK0_ROM build configurations and LED2 is toggled for the
    //! BANK1_FLASH and BANK1_ROM build configuration. The SCI Rx FIFO interrupt is set
    //! for a FIFO interrupt level of 10 bytes. The number of bytes in a packet from the
    //! Serial Flash Programmer (when using the LDFU command) is 10. When a command is
    //! sent to the device from the Serial Flash Programmer, the SCI Rx FIFO ISR receives
    //! a command from the 10 byte packet in the FIFO. If the command matches the Live
    //! Device Firmware Update (Live DFU) command, then the code branches to the Live DFU
    //! function located inside of the SCI Flash Kernel for the corresponding bank.
    //!
    //! The project contains 2 build configurations:
    //! - BANK0_FLASH: Links the program sections to the appropriate locations
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX