Running homebrew emu's at 333mhz MAY have killed my PSP

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

laxer3a
Posts: 23
Joined: Wed May 11, 2005 1:09 am

Post by laxer3a »

To be honest, I would rather see people use lower clockrates (or lowest possible for each software) and learn how to better optimize their code.
Hum... Running a snes at full speed with copro on a 333 mhz is a challenge I think. (sound stereo 48 Khz :-P, no frame skip)

Try to emulate the ARM cpu at 16.7 Mhz on a PSP ?(GBA.. GBA.. GBA...)
Even with a good JIT its a challenge also.

So, thats not because we are bad coder that we want more power.
Its because we are GOOD coder that we want more power...
(sorry for the modesty here)

Don't think these boards are full of lamers that are wasting CPU to do useless empty while loop.
But respect the people because many of us here are probably able to do a good usage of each cycle available around here.(including you)
So I wouldn't mind if too high clockrates damage the PSP ;)
I feel really sad to read this. :-(
0xdeadface
Posts: 62
Joined: Tue May 31, 2005 5:11 am

Post by 0xdeadface »

Bit offtopic but:

"Try to emulate the ARM cpu at 16.7 Mhz on a PSP ?(GBA.. GBA.. GBA...)
Even with a good JIT its a challenge also. "

I think the challenge wouldn't be to emulate it, but to detect what areas of code can be run as is, after all you're emulating on a similar architecture (processorwise) or through HLE. In that regard it's almost more feasible to run GBA code at high speed than SNES code.

Regarding the SNES and other emulators....I don't know about the currect GNU compilers, but I do know that the PSX devkit back then (also GNU) had a very lousy C compiler which produced code that was heavily optimizable when resorting to assembly.

0xdf
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

Can you only change the clock-speed on application-by-application basis? Or can you set it to let's say... 133 and it will stay there until you set it back to 222.

People are thinking "WHY would you EVER want to underclock it for non-testing purposes?" well... for a simple reason of video watching or even MP3 playing. There is no need for a 222 or even higher to watch movies / play music, and that way instead of like... 3-5 hours of battery life, you can get much more (I'm unsure of how much more, but a lot :P).
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

0xdeadface wrote:Bit offtopic but:

"Try to emulate the ARM cpu at 16.7 Mhz on a PSP ?(GBA.. GBA.. GBA...)
Even with a good JIT its a challenge also. "

I think the challenge wouldn't be to emulate it, but to detect what areas of code can be run as is, after all you're emulating on a similar architecture (processorwise) or through HLE. In that regard it's almost more feasible to run GBA code at high speed than SNES code.
Huh? GBA has an ARM and PSP has a MIPS. Huge difference there.. ARM on MIPS has to be one of the more difficult combinations to get really fast because of MIPS' total lack of flags vs the ARM's x86-like flags.
0xdeadface
Posts: 62
Joined: Tue May 31, 2005 5:11 am

Post by 0xdeadface »

Crap, the horrible part is you're right,,and I'm not sure why I have always walked around thinking they were the same....

....Which kinda blows given that I coded mips assembly as a job.

I obviously never coded for the GBA.

:o\

0xdf
allthatinny
Posts: 24
Joined: Fri May 06, 2005 5:59 pm

Post by allthatinny »

dude to be honest, seems like you fry your PSP because before the PSP runs out of Battary the screen turns gray with a little battery indicator blinking, then shuts off.
kemical
Posts: 11
Joined: Fri Dec 24, 2004 5:52 am
Location: tx
Contact:

Post by kemical »

sorry if i've started making people paranoid about running stuff at 333mhz, I still haven't been able to get my PSP working, thank you to everyone who's suggested things to try.
Right now I'm taking apart the PSP to see about the internal battery.

Maybe it wasn't related to the overclocking thing, It seems like it did the low battery behavior, the power light was flashing, the emulator locked up, and I was unable to power off the PSP from what I remember, I actually was about to pull the battery out because it made me get worried, and I think it then shut off by itself before I got the battery cover off.
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

have you tried the following:
-Put battery inside PSP, connect AC adapter, then hold the power switch for 30 to 40 seconds. It will soft reset it.
Then release the Power switch, and then push the power switch one last time to put it ON.
Any results with this method?
Later,

Alcahest
DrEggman
Posts: 28
Joined: Tue Mar 22, 2005 1:29 pm

Post by DrEggman »

I had 2-3 cases where my PSP wouldnt respond to powering up. I would hit the power switch, but the green power light would just flick on for a brief second. My psp was pretty dead. Took the battery out, didnt fix it. Hooked up AC, didnt fix it. But I took the battery out and held the power switch for 15 seconds without AC hooked up. Worked. Had this happen again so I did the same thing, worked again. Try it.
zigzag
Posts: 129
Joined: Wed Jan 26, 2005 2:11 pm

Post by zigzag »

It could easily run more than full speed if it was using proper APIs and hardware graphics routines.
Darkcreator
Posts: 7
Joined: Sat Apr 30, 2005 3:47 am
Location: Florida

Post by Darkcreator »

kemical wrote:sorry if i've started making people paranoid about running stuff at 333mhz, I still haven't been able to get my PSP working, thank you to everyone who's suggested things to try.
Right now I'm taking apart the PSP to see about the internal battery.

Maybe it wasn't related to the overclocking thing, It seems like it did the low battery behavior, the power light was flashing, the emulator locked up, and I was unable to power off the PSP from what I remember, I actually was about to pull the battery out because it made me get worried, and I think it then shut off by itself before I got the battery cover off.
If one of your friends has a psp take his battery out and put it in your psp who knows you might have just killed your battery
whats up ?
tomt
Posts: 12
Joined: Mon May 23, 2005 8:36 pm

Post by tomt »

sorry bit O.T but does this mean if your psp goes into sleep mode whilst running homebrew it bricks it? has anyone tested whether there is a reliable way to fix this that will always work?

seems a bit dangerous running homebrew if its going to kill your psp if you let the battery get low
Guest

Post by Guest »

I get the feeling that there are sleep modes and homebrew does not yet know how to handle them, especially in battery low situations.

It seems that people also do not know the difference between putting the psp into sleep mode and into "off" mode using the "power" switch.
tomt
Posts: 12
Joined: Mon May 23, 2005 8:36 pm

Post by tomt »

it seems strange that it should need to interact with the game/homebrew to go into sleep mode at all though unless it has some strange way of doing it
razorrifh
Posts: 23
Joined: Sat Jun 04, 2005 2:15 am
Location: Penn State
Contact:

Post by razorrifh »

i doubt its anything strange. i would assume it would be a callback function from the firmware letting the game know to shutdown things (like telling it to pause basically) and that the machine is going to sleep for a while. its not like windows (and any other os?) that writes ram to a memory device in order to resume at a later time. it would work like that if it had onboard memory, and reserved space for that, but since there potentially might be noowhere to save that data to, and because its probably much much much faster to just keep everything in the memory where it is, and turn off the screen and other non-vital functions and probably turn the processor down to 33mhz or so (or less probably... its just gotta wait for the press of a button) it makes sence to me.
cyberheater
Posts: 4
Joined: Sun Jun 26, 2005 4:36 am

Post by cyberheater »

Same thing happen to me and a friend.

We have not been running homebrew but we did allow our PSPs to run down for a fair bit of time.

Here are my symptoms:-

For some reason they do not seem to be charging when I plug my PSP into the charger.

The orange charging light comes on for a short while then it stops.

When I check the status of the battery in the menu it states:-

Charge level 0%
Hours left -
Power Source External
Bettery Status Charged

If i replace the battery while the charger unit is in place:-

* The orange charge light comes on (for around 5 mins)

The battery status is:-

Charge level 0%
Hours left -
Power Source External
Battery Status Charging

But the battery never seems to charge.

Are your symptoms the same...
zigzag
Posts: 129
Joined: Wed Jan 26, 2005 2:11 pm

Post by zigzag »

Are your symptoms the same...
No... his PSP is dead...
lshian
Posts: 5
Joined: Fri Apr 29, 2005 10:25 am

Post by lshian »

DrEggman
I had 2-3 cases where my PSP wouldnt respond to powering up. I would hit the power switch, but the green power light would just flick on for a brief second. My psp was pretty dead. Took the battery out, didnt fix it. Hooked up AC, didnt fix it. But I took the battery out and held the power switch for 15 seconds without AC hooked up. Worked. Had this happen again so I did the same thing, worked again. Try it.
Ya I got this cases also. It work for me :). Guess running a 333mhz is fine as I run all the SNES games at this mode.[/quote]
Post Reply