uholeschak / ediabaslib

.NET BMW and VAG Ediabas interpreter library
GNU General Public License v3.0
670 stars 160 forks source link

KW902 with PIC18F25K80 and BK3231S #97

Closed HeadCrash66 closed 3 years ago

HeadCrash66 commented 3 years ago

Hi,

I bought the following adapter and wanted to flash the alternative firmware. The flashing into the PIC18F25K80 worked but there seems to be problems with the Bluetooth IC BK3231S.

I liked the adapter because of the shape, if someone has similar plans may take this as warning. Or if someone has an idea how to get it to work anyway I would be happy.

Best regards.

uholeschak commented 3 years ago

If you use the default firmware you have the reduced baud rate but no problem.

Alpha330i commented 3 years ago

Ich habe mich vor kurzem an einem BC417 Chip probiert und festgestellt, dass mein bestellter Chip nur 6mb flash size hat. Nun erhalte ich die Nachricht beim flashen, dass das Image verkleinert wird, allerdings funktioniert das ganze dann nicht mit der spp_uart hex Datei auf dem PIC18. Die Kompakte Version funktioniert auch nicht. Gibt es dazu einen Workaround oder muss ich einen neues HC-05 Board kaufen in der Hoffnung ein besseren Chip zu erhalten?

uholeschak commented 3 years ago

You have to specify compact firmware: grafik

Alpha330i commented 3 years ago

which software are you using? maybe that could be a solution. There where compact files in your binaries with 4,4mb flash size but they didn't worked

And with the 6,2mb files im getting this message: blueflash

uholeschak commented 3 years ago

You have to use BlueLab 4.1

Alpha330i commented 3 years ago

Is there an official download of BlueLab 4.1? i don't find serious downloads

uholeschak commented 3 years ago

No the the product is not existing any more.

HeadCrash66 commented 3 years ago

If you use the default firmware you have the reduced baud rate but no problem.

Many thanks for your reply. Unfortunately, the default firmware does not work. DeepODB can not access my Konnwei KW902. With windows I can see two serial ports, so BT is still working, but none of them sends any reply. I have checked the flash process with verify so I'm pretty sure that it was successful.

uholeschak commented 3 years ago

Maybe you have to analyze the traffic with an oscilloscope. Wrong baud rate?

Alpha330i commented 3 years ago

Thank you for your help, now it worked with a pullup resistor on tx line.

uholeschak commented 3 years ago

Yes for the compact firmware the pullup is required!

Alpha330i commented 3 years ago

Now the app recognizes that the adapter is connected (changing the Bluetooth name works), but as soon as I connect to the vehicle, no data is displayed, despite the correct config file. I also sent the trace file from "bensaf@outlook.de"

uholeschak commented 3 years ago

Have used the configuration generator? In the trace there is no response from the car.

Alpha330i commented 3 years ago

yes i used the configuration generator, but it wasn't able to read out the car (2004 E46). With other OBD Adapter which was bought from you, all is working fine. So i guess its something with the BT chip? ive attached some photos of the Adapter and what is shown on the app. The Hex File is also working fine as you can see on the first picture Screenshot_20210411-204718 adap

uholeschak commented 3 years ago

I expect you have to find the reason yourself ...

Alpha330i commented 3 years ago

Hmm i think those "fake" BC417 are not working correct, but anyway, i will try another one

uholeschak commented 3 years ago

Use an oscilloscope an analyze it ...