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.

TMS320F28069: Booting procedure (selecting boot mode)

Part Number: TMS320F28069
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Hello from Ubstadt, Germany,

Documents used:
A) TMS320x280x, 2801x, 2804x Boot ROM Reference Guide;
B) TMS320x2806x Piccolo Technical Reference Manual:

==========
Questions:
==========

1.) The booting procedure (using GPIO settings to select boot mode)
is described differently in each document. Both methods cannot be applicable at the same time.
Which of the mentioned documents describes the method correctly?


2.) If the method in document B) applies:
This would require defined values in defined OTP locations  -- or ALTERNATIVELY:
GPIO 37 == 1; GPIO 34 == 1; TRST == 0.
==> Is this statement correct?

(By the way: How to place values into the OTP when no software/data has
been loaded so far (device is in delivery state))?


3.) We plan to avoid using the ROM-bootloader. This is, we plan to
download the software via JTAG; then to configure booting to "run to flash"
 -- without using the OTP, if this is possible. Is it? (See 2.))?
 

 4.) Two different applications shall be loaded to the µC, one of them being a custom
bootloader (which is currently under work). The second (placed in higher flash sections) is the actual
application.
This means that from the bootloader we must branch *properly* to the application (after downloading
the appl. or after a timeout if no download is desired). How to achieve this branching correctly?

==> Or, in general: What must we keep in mind in order to branch correctly from one independent
application to another one the same board?


Thanks & Greetings
Goetz

Annotation for support members:

Somehow, my email address didn't come through correctly; here it is again:

g.borkowski.ext@bremsenergie.de

  • Goetz

    Hello!
    1) Use the F2806x technical reference manual (doc B), those other docs don't apply to F2806x
    2) Yes correct. You don't have to program OTP if you just want to boot to flash or use any bootloaders in the default table. You need to program OTP via CCS and JTAG. Or Uniflash.
    3) Yes it is possible without programming OTP, GetMode defaults to boot to flash when nothing is programmed in OTP.
    4) You want to perform a long branch instruction to the address with "code_start" which contains the function call to the init_00 RTS function.

    The F2806x boot code source can be found in C2000Ware

    Best regards
    Chris
  • Hello from Ubstadt,

    Thanks for your rapid response :-),

    things seem cleared for issue 1-3.

    For issue 4.): I'll come back to this matter as soon as I've

    implemented a test application. I think, there are some details left to be cleared...

    Thanks a lot for the moment!

    Best regards

    Goetz

  • Goetz

    Alright! If you need further assistance, create a new post.

    I'm closing this one.

    Best regards
    Chris