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.

CC1312R: CC1312R custom bootloader

Part Number: CC1312R
Other Parts Discussed in Thread: CC1310

The official CC1312R bootloader is either using UART or SPI to communicate/upgrade,

1.can i write my own protocol to do so ?

2. i find the bootloader resource is here :

so my updated question is the offical :cc1310/2 bootloader is using either UART or SPI to do the job, can i rewrite the "bootloader" protocol myself? say using 1 wire to do the job ?

thanks

3.the link to is down, may i ask any update one?

thanks

Jeff

  • Hi Jeff,

    For your information, the serial bootloader is placed in ROM. Hence, you cannot modify the bootloader in any meaningful way.

    However, you are of course free to write your own bootloader with a similar protocol to the one in the serial bootloader, or write a completely new one. If you choose to use UART, SPI or 1 wire is of course up to you.

    Here is a working link to the serial bootloader interface collateral: http://www.ti.com/lit/pdf/swra466c

  • hi severin,

    thanks for reply.

    may i ask any document or technical spec that can show  or guide how to make my own bootloader without using the one in rom? thanks

    Jeff

  • Jeff,

    We don't provide any such examples. The closest examples you can start with as a starting point are the BIM examples in the SDK (<SDK>/examples/nortos/<BOARD>/bim/), which implements the bootloader logic such as flashing an application image and jumping to application images. What you will have to do is implement some serial driver (UART or SPI) with BIM, and implement some protocol on top of the serial interface. You are free to do whatever you want here regarding the protocol. I can imagine some rough overview of the procedure would be the custom serial bootloader to enter serial mode if the backdoor pin is active, and from there the serial bootloader would receive blocks of the application image and store it in RAM, then for each block program the internal flash. When all blocks are received, you can jump to the application.