forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can LUA write to Flash0 or Flash1

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Thu Mar 30, 2006 8:37 am    Post subject: Can LUA write to Flash0 or Flash1 Reply with quote

Anyone know if it can? And if so can you give me a code snippet?
Back to top
View user's profile Send private message
Kameku



Joined: 23 Mar 2006
Posts: 32
Location: Oregon, USA

PostPosted: Thu Mar 30, 2006 9:03 am    Post subject: Reply with quote

If you could, you wouldn't want to, it could really fuck up or brick your PSP.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Thu Mar 30, 2006 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Kameku



Joined: 23 Mar 2006
Posts: 32
Location: Oregon, USA

PostPosted: Thu Mar 30, 2006 9:29 am    Post subject: Reply with quote

It's still really risky, and even then, I'm not sure if Lua can write to either flash.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Thu Mar 30, 2006 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
glynnder



Joined: 04 Sep 2005
Posts: 35

PostPosted: Mon Apr 03, 2006 10:07 pm    Post subject: Reply with quote

i am almost certain it can write at least to flash1, but i cant remember how...
Back to top
View user's profile Send private message
mallchin



Joined: 16 Feb 2006
Posts: 36

PostPosted: Tue Apr 04, 2006 2:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Thu Apr 06, 2006 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
mallchin



Joined: 16 Feb 2006
Posts: 36

PostPosted: Thu Apr 06, 2006 11:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
daurnimator



Joined: 11 Dec 2005
Posts: 38
Location: melbourne, australia

PostPosted: Wed Apr 12, 2006 11:47 pm    Post subject: Reply with quote

so, can you write to flash1 or flash0? - how?
Back to top
View user's profile Send private message MSN Messenger
romero126



Joined: 24 Dec 2005
Posts: 200

PostPosted: Thu Apr 13, 2006 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message
mallchin



Joined: 16 Feb 2006
Posts: 36

PostPosted: Fri Apr 14, 2006 11:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
TeamOverload



Joined: 20 Apr 2006
Posts: 41
Location: CT

PostPosted: Thu Apr 20, 2006 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
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