
Hi Lukasz,
On Wed, Jan 23, 2019 at 7:01 PM Joris Offouga offougajoris@gmail.com wrote:
Hi Lukasz,
Please check if malloc pool size (in Kconfig) is large enough to handle DFU requests.
The dfu request is smaller than the size of malloc pool size
Otherwise, please #define DEBUG in ./drivers/dfu.c and dfu_mmc.c and share output.
This is a log when dfu failed :
blk_find_device: if_type=6, devnum=0: usdhc@30b40000.blk, 6, 2 blk_find_device: if_type=6, devnum=0: usdhc@30b50000.blk, 6, 1 blk_find_device: if_type=6, devnum=0: usdhc@30b60000.blk, 6, 0 Request would exceed designated area! dfu_write_buffer_drain: Write error! #Deferred dfu_flush() failed!reset_config: unbind function 'dfu'/9ef6e678 g_dnl_unbind: calling usb_gadget_disconnect for controller 'ci_udc'
Do you have any idea on this issue, please?
This DFU bug is one of the items that is blocking the DM conversion of this board.
Thanks