XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2013, 01:51:26 AM


Login with username, password and session length


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 »
  Print  
Author Topic: USB SPI Flasher with PIC18F2455 - now with source and binaries  (Read 308881 times)
blackillusion
Member
**
Posts: 13


View Profile
« Reply #400 on: December 26, 2009, 04:01:05 PM »

Uk guys try uk.farnell.com free shipping aswell.im kind of stuck with which crystals to get it rather baffled theres so many.
Logged
doveman
Master Hacker
****
Posts: 186


View Profile
« Reply #401 on: December 26, 2009, 04:06:03 PM »

Thanks for the tip. My Dad suggested them earlier when I spoke to him and they seem pretty good and free shipping as well as you say Smiley
Logged
maximilian0017
Xbox Hacker
*****
Posts: 684


View Profile
« Reply #402 on: December 26, 2009, 04:32:04 PM »

Uk guys try uk.farnell.com free shipping aswell.im kind of stuck with which crystals to get it rather baffled theres so many.
Crystals, 12 Mhz, through hole, sort for price, non us stock, look for enough in stock.

http://uk.farnell.com/citizen-america/hc49us12-000mabj-ub/crystal-12m-18pf-cl-hc49-4h/dp/1611710


(C1 = C2 = 2 * 18pF - 5pF = 31pF ?!?, seems a bit high, would get 2x22pF and 2x30 pF, can anyone confirm?)


Or your local parts bin, usbhubs, motherboards etc
« Last Edit: December 26, 2009, 06:32:13 PM by maximilian0017 » Logged
TeeBee918
Newbie
*
Posts: 6


View Profile
« Reply #403 on: December 26, 2009, 07:34:38 PM »

The programming hardware is the same for all xboxes, should not be a problem.

You are using short wires and a crystal, have you rechecked the soldering/wiring?

What is the manufacturedate?

Yes, I am using a real crystal (12 MHz) + 2 caps. Wires are about 12-15 centimetres. I rechecked everything a LOT of times... The flasher should be OK then, because of the perfect 16MB dumping (and I am using 3b plus2 fw). The flasher would not dump small NANDs so well if it was not OK, would it? The manufacture date of the Xbox is: 2009-05-06, the NAND is Hynix HY27UF084G2B. People were talking about Samsung large NANDs a few pages back. Could that be the problem, that mine is a Hynix (although my Falcon's 16 MB is a Hynix too...)? I don't know, should I give up and be content with the small NAND dumping? I'd like to uncripple that Jasper though.
Logged
maximilian0017
Xbox Hacker
*****
Posts: 684


View Profile
« Reply #404 on: December 26, 2009, 07:59:52 PM »

I rechecked everything a LOT of times... The flasher should be OK then, because of the perfect 16MB dumping (and I am using 3b plus2 fw). The flasher would not dump small NANDs so well if it was not OK, would it?

Was referring to the wiring between the Pic flasher and the xbox itself, you had to reinstall the flasher into this xbox.
If the NAND chip is different and reports a different config it sounds plausible that this could cause this problem.
(Should nandpro2b not report the flashconfig?!?)

For this have to refer to the other hackers here, do not have the same xbox as you so i cannot check it out for myself.

Edit: mmmm maby would try to get XFlash.py to show me the flashconfig with read, but dont know if this is your "cuppa tea"
« Last Edit: December 26, 2009, 08:45:53 PM by maximilian0017 » Logged
TeeBee918
Newbie
*
Posts: 6


View Profile
« Reply #405 on: December 27, 2009, 06:37:23 AM »

No, NandPro does not report a flashconfig (shows only the error message). And I already tried Xflash.py (I'm a bit familiar with Python), shows flashconfig 00000000 and dumps a bunch of 0x00s (and dumps only 16MB of "data" no matter what). Besides I checked the wiring from the flasher to the Xbox a hundred times, everything seems fine. In about 2-3 weeks I'm gonna try with another 512MB Jasper (my friend's) and I'll see what happens. Thanx for all your help.
Logged
SpikedCola
Member
**
Posts: 44


View Profile
« Reply #406 on: December 27, 2009, 11:26:21 PM »

Out of curiosity, are the resistors on all the pins to do a sort of el-cheapo level shifting between 5v and 3v3? Or, put another way, does the 360's logic that we're interfacing with run at 5v or 3v3?
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #407 on: December 28, 2009, 04:36:56 AM »

3.3V.
And the resistors also serve as protection (voltage peaks etc).
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
SpikedCola
Member
**
Posts: 44


View Profile
« Reply #408 on: December 28, 2009, 10:27:36 AM »

Hmm. Would it be a better idea for me to implement a 5v to 3v3 level translator in the flasher Im building, like the MAX3378, instead of using resistors? It seems like a lot of people are having trouble with resistor values, using diodes, etc.
Logged
cory1492
Xbox Hacker
*****
Posts: 616


View Profile
« Reply #409 on: December 28, 2009, 11:41:22 AM »

I've done my own voltage tests with the recommended resistor values, it reads 3.3V on the xbox side of things so they are definitely doing their job. A proper high speed voltage shifter would probably be a better way to go than resistors, just to keep edges/peaks cleaner, but it works OK as is.

TeeBee918: the wiring is the same, there are no other mods to do to make it work with jasper. If you aren't getting flash config, something else is up. I'm not sure, and you don't seem to mention it directly, is the jasper booting a retail dash without issues? Have you tried the lpt method on it to see if you get different results? Is the console extremely new (ie: newer than ones that came with exploitable kernel.) Something you could try, if all that isn't enough, is checking that the points you connect the flasher to (besides ej, as you have proven that is working) are all connected to what they are supposed to be, that any pull downs or pull ups are in place and other thoughts along those lines (see speedy H&C diagram pdf for some older reference material.)
Logged
maximilian0017
Xbox Hacker
*****
Posts: 684


View Profile
« Reply #410 on: December 28, 2009, 01:26:45 PM »

Hmm. Would it be a better idea for me to implement a 5v to 3v3 level translator in the flasher Im building, like the MAX3378, instead of using resistors? It seems like a lot of people are having trouble with resistor values, using diodes, etc.

The people talking about different resistors/diodes are all talking about the LPT hack, this has nothing to do with the Pic Nand flasher.

Mine is rock solid.
Logged
SpikedCola
Member
**
Posts: 44


View Profile
« Reply #411 on: December 28, 2009, 03:47:48 PM »

Hmm. Would it be a better idea for me to implement a 5v to 3v3 level translator in the flasher Im building, like the MAX3378, instead of using resistors? It seems like a lot of people are having trouble with resistor values, using diodes, etc.

The people talking about different resistors/diodes are all talking about the LPT hack, this has nothing to do with the Pic Nand flasher.

Mine is rock solid.

I was just curious if using a level translator vs the resistors on the pic was a more 'proper' way to do it.
Logged
KEKSi
Member
**
Posts: 33


View Profile
« Reply #412 on: December 29, 2009, 03:17:40 PM »

since the 18f2550 and 18f2455 are sold out at reichelt, can someone tell me if the pic18f2450 would work as well ?
its a little bit smaller but it got the usb part
« Last Edit: December 29, 2009, 03:19:45 PM by KEKSi » Logged
dak
Hacker
***
Posts: 81


View Profile
« Reply #413 on: December 29, 2009, 03:30:52 PM »

http://www.virtual-village.com.au/pic28-prototype-kit-for-28-pin-microcontrollers-18f2550-006401-061.html
Would this thing work, any1 tested this ?
Would make it easy for a lot of people.
It costs 11€ at ebay + 5€ for shipping from china, i guess its a good alternative, if it works.
« Last Edit: December 29, 2009, 03:36:54 PM by dak » Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #414 on: December 29, 2009, 03:51:48 PM »

That's a prototyping board, ot a programmer. It says you need an additional programmer.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
dak
Hacker
***
Posts: 81


View Profile
« Reply #415 on: December 29, 2009, 05:14:40 PM »

Yes Arakon, but i thought it would work as a flasher for lazy ppl.
You'd just have to figure out which pins you have at the RJ45/com, add the resistors at the cable und plug a progged pic in it.
« Last Edit: December 29, 2009, 05:18:03 PM by dak » Logged
ColtB45
Member
**
Posts: 11


View Profile
« Reply #416 on: December 29, 2009, 05:22:57 PM »

since the 18f2550 and 18f2455 are sold out at reichelt, can someone tell me if the pic18f2450 would work as well ?
its a little bit smaller but it got the usb part
No, the 18f2450 doesn't have the necessary MSSP(SPI/I2C) interface. It could never be used as a SPI interface.

Furthermore, don't double post or start a new thread just because you didn't get a reply as quick as you wanted. If a mod hasn't done it yet I would suggest you delete the new topic you started.
Logged
ChaoZ
Newbie
*
Posts: 5


View Profile
« Reply #417 on: December 30, 2009, 02:06:36 PM »

Hi Cory and gupek,

I have the same problem as gupek before,
I build the art2003 programmer to flash the bootloader for pic18f4550
flash bootloader okay
connect usb, detected by PDFUSB.exe, and installed drivers
flash picflash.hex
windows detect "access memory", can't find drivers to install
then stop working

went back to winpic800 and just can't erase and flash over old bootloader.

I would like to know, when 4.5-5.5V is needed for VDD to reflash/erased? and would need to use external power supply?
gupek, you got it working, how?

I tried putting the power directly from the USB, the voltage across VDD and VSS keeps dropping to 2.5V instead of 5V

need help. do not think i need to use an external programmer right?

thanks in advanced.
Logged
maximilian0017
Xbox Hacker
*****
Posts: 684


View Profile
« Reply #418 on: December 30, 2009, 02:19:17 PM »

windows detect "access memory", can't find drivers to install
then stop working

The driver needed is included in the Nandpro 2b release dir.

An art2003 will normally deliver enough power for flashing, maby you need to restart your pc after a flash?

If you connect it to usb and the usb voltage drops to 2,5 volt you have a problem, check for bad wiring/shorts or electrolitic capacitors that are turned around.
« Last Edit: December 30, 2009, 02:22:42 PM by maximilian0017 » Logged
Mooner2
Member
**
Posts: 28


View Profile
« Reply #419 on: December 30, 2009, 02:40:58 PM »

Any recommend Load Capacitance for the 12Mhz crystal? 18pf with 2x31pf caps to ground?
Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM