Hi Daniel,
I'm trying to program a node using wireless bootloader and swapdmt-cmd.
I flashed wireless bootloader correctly using bsl-flash and, using swapdmt-cmd I can flash new firmwares multiple times and the procedure works every time.
The problem arises when I flash the bootloader and then I flash a sketch serially (e.g. with Arduino). In this case if I try to upgrade the node using swapdmt-cmd the node seems to reboot without entering in the wireless bootlaoder, directly executing the user code. To check that the node is executing wireless bootloader code, I put a led blink at the beginning of the main() function and it does not blink. Instead, it blinks in the first case I described.
Is this the expected behaviour?
Thanks
Giovanni
I'm trying to program a node using wireless bootloader and swapdmt-cmd.
I flashed wireless bootloader correctly using bsl-flash and, using swapdmt-cmd I can flash new firmwares multiple times and the procedure works every time.
The problem arises when I flash the bootloader and then I flash a sketch serially (e.g. with Arduino). In this case if I try to upgrade the node using swapdmt-cmd the node seems to reboot without entering in the wireless bootlaoder, directly executing the user code. To check that the node is executing wireless bootloader code, I put a led blink at the beginning of the main() function and it does not blink. Instead, it blinks in the first case I described.
Is this the expected behaviour?
Thanks
Giovanni