i am trying to flash APPLICATION...
however, after reboot/power up, it always go backl to the DFU....
instead of starting with APPLCIATION
with SAM7, the same step will result in booting up application after
power cycle.... but with SAM3 DFU, always go back to DFU
On 11/30/2017 3:41 AM, Kévin Redon wrote:
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