Some of those docks have decent enough sound quality, thus it makes sense to add adapters, and some of those are just lacking Bluetooth, as we know, everything's better with Bluetooth. A board he had spare, from an adapter which plugs into one of those iPod/iPhone docks which have built-in speakers, receives audio through Bluetooth and streams it to the said dock. Think "Hey, maybe you could add Bluetooth to those speakers of mine?" And that's exactly what one of my "workdays" was about recently. Many of the things he does are one-offs, thus, it makes sense to re-purpose some Chinese boards sometimes just for the sake of adding a feature. I've got a friend who makes a living making custom speaker systems/headphones/laser cut things, and as with many fields today, it's got a lot to do with electronics. Reflashing I2C EEPROMs while hacking an OVC3860 Bluetooth adapter Arya.This whole code piece sounds like a nice #pyLCI - Linux Control Interface application, but there's still a lot of UI elements I need to add, like file browser and so on. The markings were looking totally legit, but it feels like a fake to me due to this inconsistency with the datasheet. Conclusion? Don't believe those Chinese-bought flash chips. I connected it to 3.3V - and not only it did not burn in flames, it did flash and read correctly. It worked for me with all the logic and power shifted to 1.8, however, the readings weren't reliable and the flashing would never verify - the flash would erase correctly and read back as FFs, but writing to it would not get verified. Feels weird, right?), and by the datasheet claimed to be working at 1.8V and 1.8V only. It was a chip bought in China (like, the buyer was physically in China. I had plenty of problems today with a SPI flash labeled as W25Q64.W. "spispeed" parameter, although not documented anywhere, means SPI speed in kHz, so 8000 is 8MHz - the fastest Pi can get AFAIK and the parameter that works quite well. 0,spispeed=80 00 -w image.bin #Writing image to the chip 0,spispeed=80 00 -E #Erasing the chip./flashrom -p linux_spi:dev=/dev/spidev0. bin #Checking two images to see if SPI works OK. bin #Reading firmware from it./flashrom -p linux_spi:dev=/dev/spidev0. 0 #Detecting the chip./flashrom -p linux_spi:dev=/dev/spidev0. While I'm installing all my SPI tools on a fresh image, lemme make a log with instructions:Īpt-get install subversion usbutils build-essential libftdi1 libftdi-dev zlib1g-dev libusb-devsvn co flashromcd flashrommake CONFIG_ENABLE_LIBPCI_PROGRAMMERS= no CONFIG_ENABLE_LIBUSB1_PROGRAMMERS= noUsage instructions./flashrom -p linux_spi:dev=/dev/spidev0. So, I've forgot an SD card of Project Christoph at home and I urgently need to flash a SPI BIOS flash.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |