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.

TM4C123BH6ZRB: ROM_BootLoader, max. BlockSize? -> differs on older devices.

Part Number: TM4C123BH6ZRB

Hey,

we use TM4C123BH6ZRB bootloader to flash the TIVA via SPI.

On SPI master (i.MX 6) which downloads the binary file I have to set the block transfer size (must be a multiple of four).

Now I'm wondering about different max. block sizes: on device accepts 240 bytes, others max. 60 bytes.

Is there a legacy limit on older ROM functions (firmware)?

Best regards,

Tobi

  • Hi,

      Please refer to the bootloader user's guide for details. If you look at the serial protocol, the COMMAND_DOWNLOAD will provide the program size of the binary image. 

     The transfer size is limited by the size of the received buffer on the bootloader. 

    The BUFFER_SIZE is defined in the bl_config.h and it is limited to maximum of 65 beyond which unused space will result. Default is 20 for flash bootloader. 

  • Hi Charles,

    The max. BUFFSIZE of 65 32bit words equates to 260 bytes.

    So the use of 240 bytes (transfer size=60 word) should work - good to know!

    Most likely the limit of 64 bytes (16words) is set by spi master (iMX, device configuration) and TIVA is not responsable for limitation!

    thanks for request!

    Regards,

    Tobi