davidmpye / V10_Dyson_BMS

A reworked unofficial firmware for Dyson V10 Battery Management Systems
GNU General Public License v3.0
56 stars 15 forks source link

How to create a Raspberry Pi firmware burning file? #12

Open turenabo opened 5 months ago

turenabo commented 5 months ago

Hi Dave, your project is great. I have unlocked my V10 battery before. I want to make some adjustments to your code recently, but I don't have a programer. I only have a Raspberry Pi. How can I make a Raspberry Pi firmware burning file? Could you share some info or idea, many thanks.

davidmpye commented 5 months ago

Hi, Thank you - I am glad you like the project.

Use Microchip Studio to build the firmware image using your new changes. Find the .elf file that it built.

Insert the Pi's SD/MicroSD card into your PC, and look in the /boot partition -you should be able to do this even on a Windows PC.

In the boot partition, you'll find a file called V10_BMS.elf - you need to delete/rename it, and place your generated elf file into /boot, and rename it to "V10_BMS.elf" - the capital letters are important.

Then, you can eject the SD/MicroSD from the PC, and use it in the pi again, and it will attempt to flash that image.

Kind regards,

David

On Thu, 6 Jun 2024 at 10:49, turenabo @.***> wrote:

Hi Dave, your project is great. I have unlocked my V10 battery before. I want to make some adjustments to your code recently, but I don't have a programer. I only have a Raspberry Pi. How can I make a Raspberry Pi firmware burning file? Could you share some info or idea, many thanks.

— Reply to this email directly, view it on GitHub https://github.com/davidmpye/V10_Dyson_BMS/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARIHYLZW4IMUAONYN7UFKDZGAWBNAVCNFSM6AAAAABI4LZIF2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTOOBTGQ3TQMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

turenabo commented 5 months ago

Hi, Thank you - I am glad you like the project. Use Microchip Studio to build the firmware image using your new changes. Find the .elf file that it built. Insert the Pi's SD/MicroSD card into your PC, and look in the /boot partition -you should be able to do this even on a Windows PC. In the boot partition, you'll find a file called V10_BMS.elf - you need to delete/rename it, and place your generated elf file into /boot, and rename it to "V10_BMS.elf" - the capital letters are important. Then, you can eject the SD/MicroSD from the PC, and use it in the pi again, and it will attempt to flash that image. Kind regards, David On Thu, 6 Jun 2024 at 10:49, turenabo @.> wrote: Hi Dave, your project is great. I have unlocked my V10 battery before. I want to make some adjustments to your code recently, but I don't have a programer. I only have a Raspberry Pi. How can I make a Raspberry Pi firmware burning file? Could you share some info or idea, many thanks. — Reply to this email directly, view it on GitHub <#12>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARIHYLZW4IMUAONYN7UFKDZGAWBNAVCNFSM6AAAAABI4LZIF2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTOOBTGQ3TQMQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

many thanks, I will try