Tuesday, 7 November 2017

BK8000L change name

- unsolder flash chip on module(in my case it was FT25H04 by Fremont Micro Devices, datasheet: [1])
- connect it to programmer supported by flashrom [2]
- download flashrom source code [3]*
- extract, compile
- download flash content, or download dump from my github repository [4]


./flashrom --programmer serprog:dev=/dev/ttyUSB0 --read BK8000L.flash

edit with favorite hex editor:





search for asci string BK8000L, change it, save and flash:



./flashrom --programmer serprog:dev=/dev/ttyUSB0 --read BK8000L.flash
flashrom v0.9.9-r1955 on Linux 4.4.10-040410-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
serprog: Programmer name is "frser-duino"
serprog: requested mapping AT45CS1282 is incompatible: 0x1080000 bytes at 0x00000000fef80000.
Found FMD flash chip "FT25H04" (512 kB, SPI) on serprog.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.

 solder flashchip back on module, power it and enjoy ;)

UPDATE 2019

No need to desolder chip, using this CH341A adapter [this one], I succesfully read/write chip, only requiremet is reset of module to be puled to ground (Credit goes here).






output of flashrom:



nail@sid:~/src/flashrom$ sudo ./flashrom --programmer ch341a_spi --read dump11.bin
flashrom p1.0-86-gad8db8c-dirty on Linux 4.4.10-040410-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found FMD flash chip "FT25H04" (512 kB, SPI) on ch341a_spi.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading flash... done.
nail@sid:~/src/flashrom$ sudo ./flashrom --programmer ch341a_spi --verify dump11.bin
flashrom p1.0-86-gad8db8c-dirty on Linux 4.4.10-040410-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found FMD flash chip "FT25H04" (512 kB, SPI) on ch341a_spi.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Verifying flash... VERIFIED.
nail@sid:~/src/flashrom$ sudo ./flashrom --programmer ch341a_spi --write dump7.bin
flashrom p1.0-86-gad8db8c-dirty on Linux 4.4.10-040410-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found FMD flash chip "FT25H04" (512 kB, SPI) on ch341a_spi.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
nail@sid:~/src/flashrom$ sudo ./flashrom --programmer ch341a_spi --write dump11.bin
flashrom p1.0-86-gad8db8c-dirty on Linux 4.4.10-040410-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found FMD flash chip "FT25H04" (512 kB, SPI) on ch341a_spi.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.




*originaly I use flashrom 0.9.9 + apply my patch [5]

[1] http://famousconnections.eu/wp-content/uploads/2017/10/FT25H04.pdf
[2] https://www.flashrom.org/Supported_programmers
[3] https://github.com/tomaskovacik/flashrom
[4] https://github.com/tomaskovacik/kicad-library/raw/master/library/datasheet/F-6188_BK8000L/BK8000L.flash
[5] https://github.com/tomaskovacik/kicad-library/blob/master/library/datasheet/F-6188_BK8000L/flashrom_patch_for_FT25H04_support.patch

Wednesday, 16 November 2016

how-to unpin miniiso connector

update: so far, this works best for me:
 - long dupont male pins, soldered to spare pcb



 You neet paper click with diamer around 0,8mm , cut two around 2cm long peaces





Insert them and push with pliers as far as they go







then wire should came out easily.


On balck 20pin connector do not forget to unlock it first:

this is how its looks locked:

 unlocking:
 other side unlocked:

HOW-TO connect VWCDPIC adapter

Black 20pin miniiso connector 

this connector has pin lock which need to be unlocked befor inserting pins, this is how it's look from booth sides:


Use screwdriver os something flat to push lock on side which is on previous picture, lock will slide inside few milimeters:


On the other side it will popout:


This is how its looks inside of connector:


and after unlock:


CD changer ground pin in mini iso connector


If your radio has ground pin(CD-GND) as this one has (in this case audi concert2) connect emulator like is on next pictures (but insert pins all way down). Take attention to power pin, red one, it must go to switched output pit, in case you put it on constant +12V emulator will probable not works, maybe for first time.



audio cable goes here:



CD changer ground in 10pin tel/nav connector


if your radio is for example audi chorus/concert1, ground pin for CD changer is on 10pin connector on this picture, upper right, but body for this connector is to expensive for low budget project like this emu, so ground connection is made by cable fastened to metal chassis of radio. Screw has torx T-9 head.


Audio pre-ampifier


In case you have  pre-ampifier, this one is powered from constant +12V pin, righr audio channel is also red, but goes from shielded cable pare, I marked it with pinkish color:


grounding goes to chassis:


Units with 12pin connectors

If your radio has this type of connector, you are lucky you need just insert connector like on next picture and connect ground like on previous picture.