Corrupt flash #402
Replies: 4 comments 4 replies
|
any luck? |
It's not waiting for SPI flash, it's waiting for a response from the Blackfin DSP. For some reason the DSP is not responding, this could be a hardware issue. Either the DSP is not booting, or the communication between the DSP and CPU is broken. I had one with a dry solder joint on one of the resistors between the DSP and its RAM. The RAM wouldn't initialise so the DSP didn't complete boot. If you hold |
First things first, I dumped a virgin blue korg this week: Note: blue factory flash also works on red hardware and vice versa |
|
Second, like hacksyn said, it's DSP related:
Funnily enough I had to reverse that function while working on the bootloader last week -,- SBL bootloader decompilation: Set_GPIO_GP6P8_MCU(gpio0regs,1);
r0 = (astruct_1 *)GetClassObjAt_0x8001B000();
FUN_80005070_initsSomeStruct(r0);
Set_GPIO_GP6P6(gpio0regs,1);
Set_GPIO_GP7P13((uint32_t *)gpio0regs,1);
pBoard = Board::GetInstance();
Board::delay_block_us(pBoard,60);
Set_GPIO_GP6P2__ADC_Reset_xorState(gpio0regs,1);
Set_GPIO_GP7P10__ADC_MEMCLK(gpio0regs,1);It may not be the DSP chip itself necessarily though. Considering you say now JTAG setup also is screwed, and if that's verifiably the hardware case, then the issue may not even be with the GPIO lines but some faulting semiconductor. Hope that helps |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone,
I'm currently trying to unbrick an Electribe 2 Sampler and have hit a wall where I likely need a clean, working 16MB SPI flash dump to proceed.
Current Situation & Hardware Status:
Initial state: Device was totally bricked.
JTAG Setup: Successfully connected via OpenOCD & Raspberry Pi. I can load SBL.bin to 0x80000000 and SYSTEM.bin (as well as hacktribe.bin) to 0xc0000000 perfectly (2,097,152 bytes written).
The Issue: The device successfully boots from RAM, the Korg logo appears, and the progress bar hits 100%. However, it completely freezes right before entering the main menu.
Debug Logs & CPU State:
Halting the CPU via Telnet at the frozen loading bar reveals that it is not crashing (no Data Abort), but getting stuck in an infinite polling loop:
pc: 0xc0014658 -> pc: 0xc0014684 -> pc: 0xc0012210 -> pc: 0xc0014658
It seems the OS is trying to mount/read the internal SPI flash (looking for global settings, magic bytes, or user data), gets garbage in return, and loops forever. SD card auto-recovery is not triggering.
Further Troubleshooting:
I used a custom hex-patched firmware (thanks to Claude) that completely bypassed the flash-check during boot. With this patched bin, the Electribe successfully booted into the main menu (all pads lit up!), but immediately triggered a controlled "Power Off" shutdown screen. In my opinion this confirms the CPU/RAM/Mainboard are 100% physically fine, but crucial data (like power-latch parameters or calibration) is missing from the flash.
The original bootloader on the flash also seems completely dead by now (black screen on normal power-up without JTAG).
Current Step (SPI Flashing):
I hooked up a SOIC-8 clip directly to the Macronix MX25L12835F chip and have stable read access via flashrom. I will try to manually hex-edit the app section at 0x020000 into my corrupted dump.
My Request:
Does anyone have a verified, working full 16MB SPI dump for the Electribe 2 Sampler that I could flash directly?
Thanks in advance!
All reactions