Various BP6 issues noticed during failed firmware update

thread started Flashing bootloader on nRF52840 with BP6 - #24 by petaflot

after a number of tries, it mounted in a few seconds as expected. I copied bus_pirate6.uf2 on it, nothing happend after a while, so I did

gentx ~ # sync
gentx ~ # umount /mnt/usb/

unplug, wait a few secs, replug

gentx ~ # mount /dev/sde1 /mnt/usb/
gentx ~ # ls !$
ls /mnt/usb/
BPCONFIG.BP  bus_pirate6.uf2

I then notice dmesg reports FAT-fs (sde1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. (which as you can see from the above, is not correct)

gentx ~ # umount /mnt/usb/
gentx ~ # fsck /dev/sde1
fsck de util-linux 2.41
fsck.fat 4.2 (2021-01-31)
There is no label in boot sector, but there is volume label 'BUS_PIRATE5' stored in root directory
1) Copy volume label from root directory to boot sector
2) Remove volume label from root directory
[12?q]? q
No changes have been written to the filesystem yet. If you choose
to quit, it will be left in the same state it was in before you
started this program.

it appears you copied the firmware to the internal flash instead of loading it via bootloader.

You need to enter the bootloader with the $ command in the terminal, or use a tool to press the button on the bottom and then plug in the USB cable.

3 Likes