andy-man / ps4-wee-tools

PS4 tools for NOR and Syscon manipulations
GNU General Public License v3.0
148 stars 20 forks source link

Index out of range #24

Closed ArturSchnell closed 10 months ago

ArturSchnell commented 11 months ago

When trying to write sflash0 back to the console, index out of range is thrown.

SPIway:

Version : 0.60 Memory : 3942 bytes

Chip configuration:

Manufacturer / Device : 0xEF / 0x1940 Brand : Winbond Chip type : W25Q256FV Chip size : 32 MB Sector size: 4096 bytes Block size: 65536 bytes Flash configuration: 4:1 | 16 | 512 | 8192

andy-man commented 11 months ago

Provide more details Which version of wee tool? exe or py? How did you select dump file? (select from SPIway screen or from other screen) What option did you choose? "Write All" or "Write area" (which area in this case) and etc I need all steps to reproduce your error

ArturSchnell commented 11 months ago

Hi, sorry for the missing data. I used the ps4-wee-tools.exe v0.9.5 for this.

I selected the file itself in the SPIway screen, yes. In the actions I selected "Write All" once. When the error was thrown, I also tried "Write Area". In both cases the same result

It's best to just go through it step-by-step.

Default steps:

main menu serial ports

Here I select the file in the SPIway screen:

select file selected file

After that I want to flash the selected file:

flash file serial port flash

As soon as I press enter on this screen, the error message appears. I think I saw a red font flicker very briefly before the screen refreshed.

index out of range error

I hope this helps with the diagnosis. Thank you very much

andy-man commented 11 months ago

I have repeated your steps with 0.9.5 exe file (win10) and have not found this error Btw, you can drag&drop dump file to app and then choose "f"

MSXCelulares commented 10 months ago

Hello sir, this Desktop folder need special permissions and perhaps your user don't have admin permission, try uncompress this app in C: or D:, and execute ps4_wee_tool.exe as admin mode. Stay with God.

ArturSchnell commented 10 months ago

Thanks for the information about the operating system. It looks like the problem is related to Windows 11. There were no problems on my laptop with Windows 10. I also gave the file admin rights like @MSXCelulares mentioned (although I didn't have that in mind). Unfortunately this did not solve the problem.