On Wed, Nov 29, 2017 at 11:09:33PM -0500, Thomas Chen wrote:
question about DFU...
working with AT91SAM3 board,
i tried,
1. use sam-ba to flash the DFU image (works fine)
2. try to use dfu-util to flash the APP, but it does not seem to write into
flash (after reboot
we still have the initial DFU image ??)
Are you trying to flash the DFU image/bootloader using DFU? This is not possible (at least
not with this DFU implementation).
The DFU bootloader only allows to conveniently (re)flash the main application image. The
DFU image can't overwrite itself.
Once the DFU bootloader is working and fulfilling its purpose (flashing the main
firmware/application) there is no need to re-flash it.
If you are developing on the DFU image you will have to flash it using SAMBA