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.

CCS/HERCULES-F021FLASHAPI: UARTbootloader can not download app

Part Number: HERCULES-F021FLASHAPI

Tool/software: Code Composer Studio

I want to download the app through UART bootloader,the source code of UART bootloader is mentioned in the sheet spna193(UART BOOTloader for Hercules TMS570ls31xMCU),using CCS 6.2.on win7 64bit os.The  problem is the bootloader cannot download the app code(HEX).When run to the flash function it turns an error.Couid somebody shed some liaght on me?

  • Hello HongKe,

    The UART bootloader should work with a tool on PC side (HyperTerminal, TeraTerm, etc). The protocol used in the bootloader is Y-Modem. The file format is binary rather then HEX format (Intel, or Motorola etc).

    Regards,

    QJ   

  • Hi,QJ Wang,
    Thanks for your reply. I did use HyperTerminal and the protocol used in the bootloader is Y-Modem,other settings of HyperTerminal is same to the sheet spna193(UART BOOTloader for Hercules TMS570ls31xMCU),the setup is 115200 8-N-1.The item is successful except 1 and 2. When running the bootloader I can't download the app.The problem appears when running the code of flash operation(uint32_t Fapi_BlockErase( uint32_t Bank, uint32_t ulAddr, uint32_t Size)).I reupload a clear picture ,please help me to see what cause the error.I guess something is wrong with F021_API_CortexR4_BE.lib.But I don't know why.Besides,how can I  generate the .bin file ?