[go: up one dir, main page]

Menu

#205 Use transaction block number for address offset

none
open
nobody
None
2024-08-19
2024-08-19
No

Hi, I've got a slight improvement on image downloading when using the block number for the address calculation instead of sending the new address before each chunk and a fixed block number =2. I've only tested it with a STM32F072.

1 Attachments

Discussion

  • Tormod Volden

    Tormod Volden - 2024-08-19

    Interesting, thanks! At a first view, this seems to make sense. It is limited to 65535-2 blocks though, but that can be dealt with if necessary. How much is the gain that you are seeing?

     
    • Horacio Saint Andre

      Around 47ms for a 120kB image and a 2kB block size (60 transactions).
      Indeed, I am not sure whether it would work for any combination of memory size/block size. As per AN3156, it seems to apply for all cortex-m series.

       

Anonymous
Anonymous

Add attachments
Cancel