-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only way to reach out to a member #1
Comments
@julien-camer there was some updates in his forum post but nothing here |
@zarboz unfortunately m3forum is down since few weeks now ... :/ |
@eacmen are you still alive ? |
@zarboz did you try the software ? I managed to get it working, but there's a problem ... I can read memory, but I can't get chip ID, write or erase chip. Special command seem to be sent (no error returned, except if I edit theses special command, so I assume theses are working) but they return 0... If you're into it we can go on another platform to share our work :) Thx |
I am sorry everyone. I am alive, I just have github notifications turned off. The software is not really in a usable state. Other work came up, then tap said he was open to releasing his software. As far as I can tell that hasnt happened yet. The latest code is in the repo. Right now there is no way to select master/slave chip and there is no way to write to the chip, just hexdump to the screen. Lots of work to be done and unfortunately I am doing my primary job in the off hours now and taking care of the family during the day. I hope to have time to return to this at some point soon. In the meantime please feel free to fork or submit PRs. I'll turn github notifications back on again so I don't miss these again. |
I do not have the PCB design for this project. It was done by another m3 forum member. |
I already ported your code on a STM32 Nucleo board. I think I missed something regarding the CPU. What blocks my write commands ? Should I write a specific register before ? How did you manage to read Chip ID ? As soon as I can read AND write (I can already read) i'll dive into re-writing some code and writing a python simple GUI Thank you ! (I hope you re-enabled your notifications :p ) |
if you have a mail where I can reach you ... I would be happy to discuss about it with you ! |
Were you able to read Chip ID and erase EEPROM ? |
Galletto users don't do any hardware manipulation before being able to flash so I assume there are some registers to configure, being granted Supervisor access isn't enough : Do you have any info ? |
So I never got to the stage where I attempted writing anything so I can't really provide any insight. I also never read the chip ID. I assumed that once you were in supervisor BDM mode that writing to the chip would be allowed. I don't think tap's firmware used chip ID to identify the MSS54 vs MSS54HP. I believe he read some part of the beginning of the chip to get the version string then determine the ECU model from there. |
Got it working, I'll heavily clean up the code and create a python flash script. |
That are good news:-) |
It's currently a mbed project. I'll rewrite it as native stm32 with ST HAL tomorrow. I'll keep you up to date. |
@ChrisDeBmw what's your F3 board ? Do you currently use Tap's BDM ? |
I have this Board https://www.st.com/en/evaluation-tools/stm32f3discovery.html In not using bdm yet but im very interested in this project. |
There are nothing special on tap's shield. (No level shifter or whatever). Where are you from @ChrisDeBmw ? |
@julien-camer I'm from germany and dived into the mss54 project over the XDF project. |
@julien-camer i would buy one of your bdm-adapters |
Yes BDM is basically implemented using a bit-banging protocol. Its like JTAG before JTAG existed. The reference implementation from Motorola originally used a PC parallel port adapter - that should tell you how old the technology is. Are you guys trying to directly bit-bang the EEPROM chip or using BDM interface on the CPU? |
I managed to write a BDM from scratch. (with shell functions etc) and made a windows graphical interface in .NET Made a post on M3cutters |
Will you commit your code in this repo? Or do you create a own for your solution? |
Don't know why I used my old account to comment here. If anyone wants to reach me, prefer insta @YulCmr To follow what's going on, visit my git -> github.com/yulcmr Should be ready soon to send some units. The first one goes to @ChrisDeBmw |
Tried signing up for forums but theres some issue where I cant comment / post
Curious if you could link me with your source for the PCB this project is something I wanna dig into and start adding BDM support for other DME's
The text was updated successfully, but these errors were encountered: