tedsalmon / BlueBus

A Bluetooth module for vehicles equipped with I-Bus
Other
169 stars 41 forks source link

Install bootloader #184

Open leewi opened 8 months ago

leewi commented 8 months ago

Hello,

Could somebody help me with how to install the bootloader on a just-assembled board?

Long story short, I've built a bluebus for myself :) I've checked with USBview in windows, the device is connected and FT231X USB UART is recognized. Tried Microchip's Unified Bootloader host app, but didn't succeed :(

I assume until the bootloader is not flashed, nothing will work, but I've run out of all my ideas on how to get it done.

Thank you in advance, Levente

tedsalmon commented 8 months ago

@leewi,

You need to flash it using a PICKIT and the Tag-Connect TC2030 6-pogo-pin header. You will also need to provision the BM83 Bluetooth module. https://t3ddftw.s3.us-east-2.amazonaws.com/BlueBus/BlueBus_Provisioning_1_3_2.zip

leewi commented 8 months ago

@tedsalmon

Thank you for the quick answer, I did some research but I'm unsure about the version of Pickit that I'd need. If I'm correct Pickit2 and 3 can support up to 512Kb flash, also found that from MCC 3.0 the PIC24FJ1024GA606 is supported, but it's not clear if, for example, Pickit2 would be able to flash the BlueBus (with the latest MCC 5.4.1)

Thank you in advance.

tedsalmon commented 8 months ago

@leewi,

I believe the PIKit 3 and 4 will work fine. I do not know about the 2.

Thanks! -Ted

pazi88 commented 5 months ago

I can confirm that PicKit2 doesn't work, even though it should work on PIC24's. PicKit3 works at least.