BusPirate / Bus_Pirate

Community driven firmware and hardware for Bus Pirate version 3 and 4
625 stars 130 forks source link

Updating via ds30 says it will overwrite bootloader on BPv3 #49

Closed marsfan closed 7 years ago

marsfan commented 7 years ago

I have been trying to update the boot loaderwith this file, but the ds30 updoader says I will overwrite the bootloader on my bus pirate.

What's more, when I try to proceed, it just says that it has nothing to do. How can I fix these errors?

JarrettR commented 7 years ago

Have you tried the Pirate loader instead?

marsfan commented 7 years ago

@JarrettR I have not, but I am more worried about breaking the bootloader instead of how to bypass it.

JarrettR commented 7 years ago

I'm not sure what your question is

marsfan commented 7 years ago

@JarrettR If I use pirate loader, will I overwrite the bootloader? I do not want to brick the ability to update the firmware in the future.

JarrettR commented 7 years ago

That might be the source of your confusion, The link that you provided contains files for the firmware, not the bootloader.

The Pirate loader will communicate with your existing bootloader v4 (no upgrade necessary), and install the firmware that you linked. I've never used ds30, so I don't know how it works.

marsfan commented 7 years ago

@JarrettR it could be a DS 30 bug, but I know it is firmware. DS30 is warning me it might overwrite the bootloader when it puts the firmware on it. Can you flag this for someone else to look at?

agatti commented 7 years ago

@Marsfan pirate-loader won't touch the bootloader, and it is the only supported (as in, we can provide help with) firmware update method at this point in time.

marsfan commented 7 years ago

@agatti So to verify, despite the fact that DS30 shows an error on that, the command line system will not overwrite the boot loader?

I saw some stuff on the main release thread, but it seems to have dried up. Anything special I need to do?

marsfan commented 7 years ago

@agatti to clarify, I am talking about theErasing page 42, a800...ERROR [50] message that one gets on pirate loader (happened with me), how would one fix this?

marsfan commented 7 years ago

@agatti ok so it worked despite that warning. someone want to tell me what the heck that warning meant?

agatti commented 7 years ago

@Marsfan If I recall correctly, that's where the bootloader is actually stored on v3. Please check out the discussion for issue #26.

agatti commented 7 years ago

After a bit more thought, maybe pirate loader should be changed to be a bit more descriptive when tries (and fails) to overwrite the bootloader.