Register    Login    Forum    Search    FAQ

Board index » Software » Linux




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post Posted: Sat Oct 07, 2017 11:53 pm 
Offline

Joined: Sat Oct 07, 2017 11:13 pm
Posts: 2
This tutorial is for information only, anybody can take these actions at his own risk! No guarantee that it will work out-of-the-box!

Basically, if the flashing process goes wrong, your camera can go softbrick. That is what happened me with an ASI120MC. Luckily, the firmware file itself is available in the downloads from the ZWO site, the only thing to be done is the flashing process to the EEPROM chip (next the U5 mark on the IC) of the camera. I used a Raspberry Pi 3 to interface the chip.

Items needed:
- Raspberry Pi
- Clip for the EEPROM chip (search for "SOP8 Test Clip EEPROM 25CXX" on aliexpress or ebay)
- Some cables to connect the Raspberry's GPIO ports to the clip.

Steps:

1. Don't connect the ZWO camera to USB during the whole process.
2. Don't turn the Raspberry Pi on yet.
3. Connect the clip to the EEPROM chip and the clip outputs to the Raspberry Pi GPIO pins according to this diagram: http://www.gallot.be/wp-content/uploads ... ection.png
4. Turn on the Raspberry. Make sure that I2C communication is enabled in the Raspberry Pi in raspi-config. Reboot the Raspberry is needed.
5. The i2c bus must show up automatically. Verify with "ls /dev/i2c*" that /dev/i2c-1 exists.
6. Make sure that the EEPROM shows up with "sudo i2cdetect -y 1". The "51" or similar address must appear there.
7. Download the ZWO firmwares to the Raspberry with the update tool from the ZWO website.
8. Download to the Raspberry, unpack and compile with "make" the eeprog application from https://www.richud.com/wiki/Rasberry_Pi ... ram#eeprog
9. Read the current EEPROM content to a file: "sudo ./eeprog -f /dev/i2c-1 0x51 -16 -r 0x00:0x2000 -o eeprom_dump"
10. Flash the correct firmware for your bricked camera. In my case, it was the ASI120MC-compatible.iic file: "sudo ./eeprog -f -i ASI120MC-compatible.iic -16 -t 5 -w 0x00 /dev/i2c-1 0x51"
11. Disconnect the clip from the ZWO camera.
12. Connect the camera to USB and enjoy!


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Oct 17, 2017 6:47 am 
Offline

Joined: Thu Feb 09, 2017 4:58 am
Posts: 76
Hi kecsap,
This is impressive. :o :o
But I still suggest using our tools, after all, it's not easy to make mistakes. :lol:
As you know, the command line is difficult for some users to enter. :roll: :roll:
Thanks
chad

_________________
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Oct 17, 2017 8:56 am 
Offline

Joined: Sat Oct 07, 2017 11:13 pm
Posts: 2
chad wrote:
Hi kecsap,
This is impressive. :o :o
But I still suggest using our tools, after all, it's not easy to make mistakes. :lol:
As you know, the command line is difficult for some users to enter. :roll: :roll:
Thanks
chad


This is process for unbricking a camera at home instead of shipping back to China for repair or dropping to trash. Of course, users should use official ZWO tools for flashing, especially the Windows tools. Something went wrong for me with the Linux flashing tool and got the camera bricked. (I can't provide any information on that, I don't remember for the exact parameters what caused the problem.)


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Oct 17, 2017 9:06 am 
Offline

Joined: Thu Feb 09, 2017 4:58 am
Posts: 76
Hi kecsap,
If the firmware is broken in your normal use, it is a serious problem. So the next time you have this problem, please tell us in time.
In addition, this kind of uncommonly used update method, you can also tell us. We will also provide some help as we can.
Thank you very much!
chad

_________________
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 4 posts ] 

Board index » Software » Linux


Who is online

Users browsing this forum: No registered users and 3 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: