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.

Serial flash programmer on embedded system

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28055

Hello everyone,

Background: I'm going to work with tms320F28055 and i'm planning to program it via another embedded system. Program should run from flash. I'm planning to use flah kernel that you guys have in the controlSUITE example, it's a really nifty thing so I hope that I will be able to implement it successfully. I have examined CCS code and I think i got it. My questions are:

1) I wont be able to run an application that you have ready to use in controlSUITE utilities folder (serial flash programmer), nevertheless I think that it wont be a big problem (at least I hope so). I'm going to pass two .txt files to my embedded processor and then it will simply transmit them via SCI, of course, with respect to the data stream that is implemented both in the SCI Bottloader and in the CCS flash-kernel program. Kernel first, then my application. Is there anything else I should take care of?

2) How can i debug the flash-kernel program? I want to reboot my processor, start it in the SCI Boot Mode, load the flash kernel program. Then program should stuck in the AutobaudLock function and I want to connect my emulator at this point and start debugging to verify that everything goes seamlessly. How can I do this?


Thanks in advance!

  • Hi Andrei,

    It is good to see you are making use of the flash kernels and serial flash programmer.

    Regarding 1, you have it correct. The F2805x kernels expect a block of data and then a checksum for that block of data. You can see how the kernel communicate with the serial flash programmer and model your communication between embedded processors after that.

    Regarding 2, You can connect the emulator to CCS via JTAG and debug. After programming the flash kernel with the bootloader, you can use CCS and load the symbols of the flash kernel and debug. Does this answer your question?

    Best Regards,
    sal
  • Hello,

    Thank you for your response. I have already moved quite forward. I debugged flash-kernel simply by burning it directly onto the chip with CCS and then used my embedded system and custom software to send my main application file. This worked wonderful. But afterwards I've completely redesigned my bootloader. I took your flash-kernel as a base and have incorporated it as a part of my main application. I haven't finished it yet, but hopefully it's gonna work.
  • That is great!  We have provided tools like the serial flash programmer and flash kernels in order to be uses by customers as a basic flash programmer as well as to be a foundation to build custom applications with.

    Regards,

    sal

  • Hi All,
    I posted a question on serial flash programmer on 28069 controlCard. I was wondering if anyone has comments or suggestions, especially if you have got it working? Thanks and here is the link:

    e2e.ti.com/.../1538489
  • link to my post/question on serial flash programmer:
    e2e.ti.com/.../1538489