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.

RTOS/TMS320F28335: How to manipulate bootloader in TMS320F28335

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI-RTOS

Hello,

I am a student studying TMS320F28335 board.

I have a security project about this board, and I want to store hash values in my boot ROM.

To do so, I think have to use the boot loader. Is there a way to manipulate the boot loader? or, Is there a document to refer to?

Are these ideas feasible?

Thank you.

  • Hello

    I'm not sure what you mean by storing them in your boot ROM. The boot loaders on the device receive your applicable via a communication peripheral and program them to RAM. Your hash values would be part of your application. You'd have to customize a bootloader and put it in flash to have it change its action based on some hash value within your application. The bootloaders in ROM on the device source code are in C2000Ware.

    Best regards
    Chris
  • Thanks for your reply, Chris


    If there is a precondition that the flash area is not safe, use the boot loader to put the hash value into the safe area at boot time.

    The safe area usually means boot ROM in embedded and I want to put the hash value in boot ROM.

    I will humbly accept advice and criticism, so I want you to say a lot to me.

    Regards

    Han

  • Hello

    The only place to store a value that isn't part of the application flash memory space is to use the User OTP space on the device. Boot to OTP is also an option on the device and then you can perform a small action there. If this isn't what you're trying to solve, then you'll need to provide me with a flow chart to better describe what you are trying to accomplish.

    Boot User Guide: www.ti.com/.../spru963a.pdf

    Best regards
    Chris
  • Thanks, Chris

    Your explanation is enough.
    But there was another question.
    There are various types of boot mode on the tms320f28335 board, but I want to know why different in boot mode.

    As an example, Although i do not set the boot mode in Flash, i can load the executable code by setting the .text area in Flash memory.
    So I'm wondering why set the boot mode to Flash.

    Regards
    Han
  • Han

    Loading the code via CCS and running, bypasses the boot up code. Setting the boot mode is for when you boot up the device without the debugger that it will perform the expected action. For flash boot mode, it will go through boot and then branch to the flash entry address. Similar for others such as OTP boot mode.

    Best regards

    Chris

  • Your answer has been really helpful.
    Thanks Chris.
    I hope you have a good week.

    Regards
    Han