Re: [OpenOCD-devel] Excessive RAM consumption when reading 64MiB flash bank

2019-02-21 Thread Bohdan Tymkiv
Hi Matthias, Did you get a chance to find a patch you mentioned? I've tried to implement the code using your approach and it turned out such implementation is by far not trivial. The problem is that it is not safe to execute the queue in dap_cmd_new(). DAP queue is not fully 'assembled' and inter

Re: [OpenOCD-devel] Excessive RAM consumption when reading 64MiB flash bank

2019-02-13 Thread Matthias Welwarsky
On Mittwoch, 13. Februar 2019 13:48:21 CET Bohdan Tymkiv wrote: > Hi all, > > I've found an interesting issue while working with 64 MiB external QSPI > flash bank. Bank is memory mapped, so 'default_flash_read()' is used in the > flash driver. OpenOCD consumes as much as 6.8 GiB (!!!) of RAM when

[OpenOCD-devel] Excessive RAM consumption when reading 64MiB flash bank

2019-02-13 Thread Bohdan Tymkiv
Hi all, I've found an interesting issue while working with 64 MiB external QSPI flash bank. Bank is memory mapped, so 'default_flash_read()' is used in the flash driver. OpenOCD consumes as much as 6.8 GiB (!!!) of RAM when I am trying to read (flash read_bank) or verify (flash verify_bank) the co