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.

Flash code downloading issue



Hi,

I am working with tms570 micro. I have new bootloader with which I am unable to download my previous flash code.

Please help where exactely to look.

Regards,

Amit

  • Hello Amit,

    Do you have a list of what changes were made to the bootloader compared to what you used previously? Was this boot loader provided by TI or is it one that you or someone in your organization created?

    What is the failure mechanism? Are you able to connect/communicate with the device? Are you able to at least see the process begin to work and then fail or does it fail right away?

    Can you elaborate on how the boot loader is working? Is it using CAN, SPI, SCI, or some other mechanism to communicate with the device?

    Which specific TMS570 part are you using?

    Without some additional information it will be difficult to help.

  • Hi,

    Thanks for replying.

    1) I dont have much info about the changes in the bootloader as it is provided by other organisation (not TI).

    2) I am able to download the SBL file but unable to download the Flash part. I am not sure what is the exact problem. Yes, I am able to communicate to the device through CAN.

    Rgds,

    Amit

  • Hello Amit,

    Unfortunately, if there isn't any information about the bootloader and what it is doing, then there isn't much that we can do to assist. In order to program the device, the bootloader would have to utilize the TI Flash API which will have specific return codes upon failure. The bootloader should return these error codes when failures occur so that flash failures can be debugged. If these are not provided, then either the bootloader is not calling the functions to program or the bootloader is not communicating the errors back upstream.

    In regard to your second point, I believe SBL files is the symbol file. Generally, this is used only during a debug session to "translate" data from the device to the recognizable sysmbol names in the code. I am not sure why this would be required by the bootloader.

    Given the bootloader is a thrid party tool, I would suggest you open a discussion with whoever provided it. Note that the bootloader should be specific to the device and use the TI Flash API specific to the device/part number being programmed.

  • Hello Amit,

    Given the question is primarily about your third party supplied boot loader and this thread has been silient for many weeks, I will close the thread at this time. If you have any device specific issues that arrise, please open a new thread and we will be pleased to help you resolve them.