| View previous topic :: View next topic |
| Author |
Message |
NeoSkeith666
Joined: 06 Oct 2005 Posts: 15
|
Posted: Thu Mar 30, 2006 8:37 am Post subject: Can LUA write to Flash0 or Flash1 |
|
|
| Anyone know if it can? And if so can you give me a code snippet? |
|
| Back to top |
|
 |
Kameku
Joined: 23 Mar 2006 Posts: 32 Location: Oregon, USA
|
Posted: Thu Mar 30, 2006 9:03 am Post subject: |
|
|
| If you could, you wouldn't want to, it could really fuck up or brick your PSP. |
|
| Back to top |
|
 |
NeoSkeith666
Joined: 06 Oct 2005 Posts: 15
|
Posted: Thu Mar 30, 2006 9:24 am Post subject: |
|
|
| Hey just because i have 14 posts doesn't make me a retard :) I already tested all the .rco files i hex edited in MPH so i know they work |
|
| Back to top |
|
 |
Kameku
Joined: 23 Mar 2006 Posts: 32 Location: Oregon, USA
|
Posted: Thu Mar 30, 2006 9:29 am Post subject: |
|
|
| It's still really risky, and even then, I'm not sure if Lua can write to either flash. |
|
| Back to top |
|
 |
NeoSkeith666
Joined: 06 Oct 2005 Posts: 15
|
Posted: Thu Mar 30, 2006 9:56 am Post subject: |
|
|
| I now know that LUA can write to flash1 but only read flash0 and flash1. And it works fine with MPH so theres almost no risk |
|
| Back to top |
|
 |
glynnder
Joined: 04 Sep 2005 Posts: 35
|
Posted: Mon Apr 03, 2006 10:07 pm Post subject: |
|
|
| i am almost certain it can write at least to flash1, but i cant remember how... |
|
| Back to top |
|
 |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Tue Apr 04, 2006 2:44 am Post subject: |
|
|
I could implement writing to flash0/1 into Lua FileManager, though the risks for self-bricking are pretty high.
I would be interested if anyone has done any extensive testing on this. |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Thu Apr 06, 2006 6:09 pm Post subject: |
|
|
extensive testing with lUA file manager or writing to flash?
Start with the 32Mb stick and put MPH fw launcher on it, and flash0/
flash1 folders. As you develop your application, have it write directly to
the memory stick copy of firmware that is getting run by the launcher.
When routines are perfected, it's just a matter of having your app write
to the real flash devices instead of the memory stick firmware copy.
Is this what you mean? |
|
| Back to top |
|
 |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Thu Apr 06, 2006 11:49 pm Post subject: |
|
|
I meant has anyone tested writing to flash0/1 using Lua?
MPH could be useful for developing actual firmware changes before they're made live, but I'd be more keen to know if it is safe to write to flash0/1 at all. |
|
| Back to top |
|
 |
daurnimator

Joined: 11 Dec 2005 Posts: 38 Location: melbourne, australia
|
Posted: Wed Apr 12, 2006 11:47 pm Post subject: |
|
|
| so, can you write to flash1 or flash0? - how? |
|
| Back to top |
|
 |
romero126
Joined: 24 Dec 2005 Posts: 200
|
Posted: Thu Apr 13, 2006 6:09 am Post subject: |
|
|
| Writing to flash according to shine is disabled. I believe even looking at it is disabled as well. But dont take my word for it. |
|
| Back to top |
|
 |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Fri Apr 14, 2006 11:57 pm Post subject: |
|
|
You can read from flash very easily in Lua, and writing would be trivial.
Shine never said writing to flash was disabled, but he advised writing probably wasn't a good idea.
So, back to where we started. Anyone tried it? ;) |
|
| Back to top |
|
 |
TeamOverload

Joined: 20 Apr 2006 Posts: 41 Location: CT
|
Posted: Thu Apr 20, 2006 11:30 pm Post subject: |
|
|
| mallchin wrote: | You can read from flash very easily in Lua, and writing would be trivial.
Shine never said writing to flash was disabled, but he advised writing probably wasn't a good idea.
So, back to where we started. Anyone tried it? ;) | Actually I thought Shine did say a while back that he did disable it. You should at least be able to right to Flash1 in my opinion. If anything goes wrong there, you just have to press O to repair your settings _________________ [img]http://img115.imageshack.us/img115/1130/teamoverloadanimationsig7wp.gif[img] |
|
| Back to top |
|
 |
|