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.

ubl loading speed increase



Hi,

I'm using DaVinci Serial Boot and Flashing v.2.31, and by default ubl loading (about 9KB) takes 443ms (21KB/s throughput)

I have change  the .ini script (to build ubl) in this way:

; General settings that can be overwritten in the host code
; that calls the AISGen library.
[General]

; Can be 8 or 16 - used in emifa
busWidth=8            

; SPIMASTER,I2CMASTER,EMIFA,NAND,EMAC,UART,PCI,HPI,USB,MMC_SD,VLYNQ,RAW
BootMode=SPIMASTER

; 8,16,24 - used for SPI,I2C
AddrWidth=24          

; NO_CRC,SECTION_CRC,SINGLE_CRC
crcCheckType=NO_CRC

; This section allows setting the PLL0 system clock with a  
; specified multiplier and divider as shown. The clock source
; can also be chosen for internal or external.
;           |------24|------16|-------8|-------0|
; PLL0CFG0: | CLKMODE| PLLM   | PREDIV | POSTDIV|
; PLL0CFG1: | RSVD   | PLLDIV1| PLLDIV3| PLLDIV7|
[PLL0CONFIG]
PLL0CFG0 = 0x00120000
PLL0CFG1 = 0x00000205

; This section lets us configure the peripheral interface
; of the current booting peripheral (I2C, SPI, or UART).
; Use with caution. The format of the PERIPHCLKCFG field
; is as follows:
; SPI:        |------24|------16|-------8|-------0|
;             |           RSVD           |PRESCALE|
;
; I2C:        |------24|------16|-------8|-------0|
;             |  RSVD  |PRESCALE|  CLKL  |  CLKH  |
;
; UART:       |------24|------16|-------8|-------0|
;             | RSVD   |  OSR   |  DLH   |  DLL   |
[PERIPHCLKCFG]
PERIPHCLKCFG = 0x00000004

and so, the throughput boost to 460KB/s.

Is it possible to further increase the throughput?

best regards