Korg Forums Forum Index Korg Forums
A forum for Korg product users and musicians around the world.
Moderated Independently.
Owned by Irish Acts Recording Studio & hosted by KORG USA
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bricked E2, re-flash MX25L12835F

 
Post new topic   Reply to topic    Korg Forums Forum Index -> Korg Electribe
View previous topic :: View next topic  
Author Message
russellclarke
Junior Member


Joined: 07 Jun 2019
Posts: 59

PostPosted: Fri Jun 07, 2019 12:26 pm    Post subject: Bricked E2, re-flash MX25L12835F Reply with quote

Hi,

I bricked my E2 with corrupt firmware. It doesn't boot, just lights up a blank screen.

Can anyone provide a dump of the MX25L12835F flash memory?
Back to top
View user's profile Send private message
Weazley



Joined: 23 May 2019
Posts: 3

PostPosted: Thu Jun 20, 2019 3:51 pm    Post subject: Reply with quote

Would like to help but I dunno where I can extract it Confused
Back to top
View user's profile Send private message
russellclarke
Junior Member


Joined: 07 Jun 2019
Posts: 59

PostPosted: Thu Jun 20, 2019 6:15 pm    Post subject: Reply with quote

You would need to open the case and read the flash memory. This can be done using an SOIC8 clip and a raspberry pi running flashrom. Similar to the process described here:

https://github.com/bibanon/Coreboot-ThinkPads/wiki/Hardware-Flashing-with-Raspberry-Pi


MX25L12835F is the small 8 pin IC near the centre of this photo, labelled IC8, just above the words 'Lead Free':

https://1.bp.blogspot.com/-_1rvXGoT1bA/VcfOZo7-O5I/AAAAAAAAArI/NR0dCRj9jSo/s1600/IMG_9292.JPG


I don't think I need it anymore. I dumped the memory and edited it to contain the stock firmware update. I broke the SOIC8 clip in the process so I can't test if it writes and boots until a new one arrives.

Comparing e2 and e2s flash memory could be useful for RE.
_________________
https://freesound.org/people/bangcorrupt/
http://ccmixter.org/people/bangcorrupt
https://github.com/bangcorrupt
Back to top
View user's profile Send private message
russellclarke
Junior Member


Joined: 07 Jun 2019
Posts: 59

PostPosted: Fri Jun 21, 2019 6:23 pm    Post subject: Reply with quote

Quote:
I don't think I need it anymore...


Scratch that, didn't work.

A flash dump from a functioning e2 would be very helpful. I don't know If I've corrupted the bootloader or damaged the hardware.

UPDATE:

I corrupted the bootloader while writing to the chip.
_________________
https://freesound.org/people/bangcorrupt/
http://ccmixter.org/people/bangcorrupt
https://github.com/bangcorrupt


Last edited by russellclarke on Sat May 08, 2021 3:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
bujbot



Joined: 28 Dec 2019
Posts: 4

PostPosted: Sat Dec 28, 2019 10:46 pm    Post subject: Reply with quote

russellclarke wrote:
Quote:
I don't think I need it anymore...


Scratch that, didn't work.

A flash dump from a functioning e2 would be very helpful. I don't know If I've corrupted the bootloader or damaged the hardware.


Hey Russell,

I'm in the same boat with an e2 and am trying to get it past the blank screen. Have you had any luck recently? Were you able to obtain/verify the correct code for the MX25L12835F?

I noticed J9 and J10 appear to be for programming something, I had assumed one of them was the MX25L12835F. I have a bit of experience reading and flashing IC's and was thinking of just trying to read from both and see what happens.

Thanks!
Back to top
View user's profile Send private message
H45N



Joined: 03 Jan 2020
Posts: 3
Location: NL

PostPosted: Fri Jan 03, 2020 10:58 pm    Post subject: Reply with quote

Same here!

I used my Pi and Flashrom to extract the contents of the flashrom. It looks like the first portion of the memory is the actual bootloader.

Would really help if there is a dump file from a working E2 and E2S available.
Back to top
View user's profile Send private message
russellclarke
Junior Member


Joined: 07 Jun 2019
Posts: 59

PostPosted: Mon Feb 24, 2020 10:07 pm    Post subject: Reply with quote

Quote:
Were you able to obtain/verify the correct code for the MX25L12835F?


Korg do not stock this, only a replacement motherboard for about the cost of a complete second hand unit. I asked here and on Reddit but no luck.

Quote:
...was thinking of just trying to read from both and see what happens


I can read and write the flash chip using an ISP clip and Flashrom running on RPi. Somewhere between dismantling and rebuilding my e2 it became unresponsive...
_________________
https://freesound.org/people/bangcorrupt/
http://ccmixter.org/people/bangcorrupt
https://github.com/bangcorrupt


Last edited by russellclarke on Sat May 08, 2021 3:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
ZGaus



Joined: 07 May 2021
Posts: 2

PostPosted: Sat May 08, 2021 12:03 am    Post subject: E2 reflash with Flashrom Reply with quote

Hey, I know the thread is a bit cold. I've cracked open my bricked Electribe2. (power button lights up screen but no text, no operation. power button won's shut it off, must be unplugged.) I'm hooked up to the IC8 with a SOIC clip to a Raspberry PI using the pinout from the Macronix data sheet. Flashrom will not find the chip. Before I desolder to try a direct connection, I figured I would ask if you found any tricks to read out the chip while it is still on the board.

I do have a running E2 that I can grab the file from, but I'd rather not desolder that chip to get it (and have 2 bricked E2s.)

Thoughts?
Back to top
View user's profile Send private message
ZGaus



Joined: 07 May 2021
Posts: 2

PostPosted: Sat May 08, 2021 3:04 am    Post subject: Reply with quote

Update: I was able to read the working unit's chip with a CH341A dongle before the dongle died. So, I have a known good file, pm me and I can send it.

But in desoldering the bricked unit's chip to get it to register through the Raspberry PI's GPIO, I broke a leg off. And exact replacement chips are not available through the usual suppliers, so I have a couple equivalent spec chips coming, we'll see how it goes.
Back to top
View user's profile Send private message
russellclarke
Junior Member


Joined: 07 Jun 2019
Posts: 59

PostPosted: Sat May 08, 2021 3:29 pm    Post subject: Reply with quote

In the end I found I couldn't get a clean write using RPi and FlashROM, probably due to cheap connectors. I managed to fix it via JTAG using OpenOCD instead, see http://www.korgforums.com/forum/phpBB2/viewtopic.php?t=124723.
_________________
https://freesound.org/people/bangcorrupt/
http://ccmixter.org/people/bangcorrupt
https://github.com/bangcorrupt
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korg Forums Forum Index -> Korg Electribe All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group