BM1387 mining hardware project

5 replies 77 views
sam.orbitFull Member
Posts: 71 · Reputation: 462
#1Dec 12, 2019, 06:37 AM
Hey fellow Bitcoin mining fans! I've been tinkering with a Bitmain BM1387 chip, which is used in the Antminer S9, to build my own bitcoin miner. Honestly, it’s not fully operational yet, but I decided to share my design files on GitHub for anyone who might wanna check it out or work on it. https://github.com/skot/bitaxe I'd love to hear your thoughts!
4 Reply Quote Share
darkguruHero Member
Posts: 849 · Reputation: 4147
#2Dec 12, 2019, 07:16 AM
Kano and/or Sidehack would have to chime in to confirm, but I think yer main problem in communicating is the lack of a driver that speaks the chips language. The driver is a chip makers Secret Sauce. I do know that Bitmains S9 source code *is* on the internet somewhere so hopefully it would have the driver code as well. Drivers for the early sticks that Sidehack produced were all using drivers and code that Bitmain (eventually) released and was reused by -vh for early Compaq's. Kano wrote the driver for Sidehack's Compaq'F' (S17 chip) after Sidehack was able to trace/figure out the signaling going on in a working S17 and then refreshed -vh's earlier code as part of the Compaq'F' work and cgminer update to include all the drivers. Just how are you interfacing with it? trying a simple JTAG serial connection into some IDE?
2 Reply Quote Share
sam.orbitFull Member
Posts: 71 · Reputation: 462
#3Dec 12, 2019, 07:30 AM
hi NotFuzzyWarm! There is a S9 "repair guide" (https://www.zeusbtc.com/manuals/repair-guide/Antminer-S9-hash-board-Repair-guide.pdf) that explains how all of the BM1387 chips are connected end-to-end. They cascade async serial (UART) to one another. I can communicate with the BM1387's using a simple 1.8V USB-Serial adapter and a serial terminal. What I haven't seen is any documentation about the protocol (or register map at least) of the BM1387. If that's out there, I'd love to see it! I have seen the BM1385 datasheet, (https://bits.media/images/asic-miner-antminer-s7/BM1385_Datasheet_v2.0.pdf) but I haven't been able to decipher it yet and/or determine how close it is to the BM1387.
4 Reply Quote Share
chain23Member
Posts: 11 · Reputation: 76
#4Dec 13, 2019, 06:18 PM
hey skot, I need the pinouts and possibly the datasheets for BM1387 and also the register map, would you be able to help?
0 Reply Quote Share
Posts: 10 · Reputation: 73
#5Dec 13, 2019, 08:17 PM
The closest thing to a register map I found is this
5 Reply Quote Share
chain23Member
Posts: 11 · Reputation: 76
#6Dec 13, 2019, 10:02 PM
thanks I appreciate it
4 Reply Quote Share

Related topics