XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 20, 2013, 04:29:21 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 314825 times)
Gee99x
Hacker
***
Posts: 88


View Profile
« Reply #1020 on: February 25, 2011, 03:41:03 AM »

Can you reprogram the boot loader to the PIC? Are you using the correct frequency for your board? What type of crystal/resonator are you using? It could be a damaged PIC or somehow the payload overwrote a part of the boot loader (which is unlikely).
Logged
ClickCLK
Newbie
*
Posts: 3


View Profile
« Reply #1021 on: February 27, 2011, 05:55:47 AM »

Don't have access to pc with lpt or com port at the moment, but i'll try to reprogramm the bootloader out as soon as possible. The resonator is 12.00 MHz with two 22pf Capacitors (used the same resonator\capacitors when built psgroopic dongles, they all where working, so I think it's not the point).

This can be a dead PIC, but I think it's not, but  have some PICs left so will programm them too when I'll get to programmer.

P.S: can't find a camera to post pictures of motherboard with connected wires, but I had rechecked that like five times and I'm sure it's right.
Logged
Anonamous
Newbie
*
Posts: 1


View Profile
« Reply #1022 on: May 25, 2011, 08:08:57 PM »

either my comp and every comp in my house is retarted or this doesnt work at all.

I have rebuilt this 4 times  everything is correct but every single time i plug it into my computer it comes up as an unknown device and wont let me install drivers for it. I go under device description and the hardware ids are "USB\UNKNOWN"

I have gone WAY over what it would have cost me to just buy one, I have absolutely no clue why it doesnt work. Any and all help is greatly appreciated.
« Last Edit: May 25, 2011, 08:50:23 PM by Anonamous » Logged
Bon Scott
Member
**
Posts: 11


View Profile
« Reply #1023 on: June 26, 2011, 02:12:14 PM »

I have a PSgroovePic with bootloader and I want to adapt it to xbox 360 USB nand flasher, but it is built with 20mhz crystal. The original PICFLASH.hex uses the 12mhz crystal, will it do the job if I record it to  my device with 20mhz crystal? Or do I really need a "PICFLASH.hex 20mhz version"? I hope someone has a hex file like that, otherwise I'm stucked by now.
Logged
cory1492
Xbox Hacker
*****
Posts: 616


View Profile
« Reply #1024 on: June 26, 2011, 11:12:00 PM »

If your groove has the microchip bootloader you should be able to flash just the application hex. Having the crystal setting is only important if you are reprogramming the PIC fuses, so long as you don't let it reprogram them your bootloader should (hopefully, there should be a pin or button to force it into bootloader mode) always work. If you need an app hex for HID bootloader, that is possible too.
« Last Edit: June 26, 2011, 11:13:38 PM by cory1492 » Logged
Bon Scott
Member
**
Posts: 11


View Profile
« Reply #1025 on: June 27, 2011, 11:05:01 PM »

@cory1492
Thanks a lot for the fast answer! My psgroove does have the button to force it into bootloader mode, yeah!  Grin . I normally use Microchip PICDEM tool to flash it.  Wink You helped me a lot, it's very good to know that it will work despite the 20mhz crystal. \,,/

EDIT: I did it and everything worked like a charm! See some pics of my PsGroovePIC to Xbox Nand Flasher adaptation :







Once again thanks a lot cory1492!
« Last Edit: July 03, 2011, 07:48:58 PM by Bon Scott » Logged
felis
Newbie
*
Posts: 2


View Profile WWW
« Reply #1026 on: August 01, 2011, 07:27:10 PM »

Hello, I have a problem, the programmer is detected as unknown device by usb on the motherboard m4a88td-usb3.0 but works fine on another old motherboard. I tried to connect the programmer to a different port and disable support for high-speed usb port. Clock frequency is present, flash and pull-up resistors are normally
« Last Edit: August 01, 2011, 07:34:17 PM by felis » Logged
felis
Newbie
*
Posts: 2


View Profile WWW
« Reply #1027 on: August 03, 2011, 06:50:32 PM »

i forget connect to ground xtal capacitors and vusb point in pin 14  Sad
Logged
kl1k
Member
**
Posts: 29


View Profile
« Reply #1028 on: September 02, 2011, 12:48:47 PM »

I've built the usb spi flasher using the 18f4550 - I've got the boot loader on the PIC and programmed it using pdfsusb. After connecting it to the PC I get prompted to install the drivers and all seems to be working. It gets picked up as LibUSB under devices.

I've wired it up to the xbox (falcon) and  run nandpro which starts reading the nand and then a few seconds later (after it gets to around 3F) I start getting tons of error reading blocks. The LibUSB also dissapears under drivers.  If I run nandpro again I get no device found. I have to unplug it and replug it in and then it gets detected - but I get the same errors.

Any ideas where I could be going wrong? I've trippled checked the wiring. The PIC is also good as if from a ex PS3 JB I build so I know its working.

The other thing I notice is that if the xbox is not wired up to the flasher and I plug it in - it gets detected and can see it under devices, but then a few seconds later it dissapears from the devices. Is it supposed to do this?

Update: Bah humbug! A few hours later and its working. 

I clearly didnt check the wiring enough - pin 13 needs to be taken to 5V!!  Angry

All working 100% now Smiley
« Last Edit: September 02, 2011, 02:59:44 PM by kl1k » Logged
iLLNESS
Master Hacker
****
Posts: 398


View Profile
« Reply #1029 on: September 02, 2011, 03:32:10 PM »

I've built the usb spi flasher using the 18f4550 - I've got the boot loader on the PIC and programmed it using pdfsusb. After connecting it to the PC I get prompted to install the drivers and all seems to be working. It gets picked up as LibUSB under devices.

I've wired it up to the xbox (falcon) and  run nandpro which starts reading the nand and then a few seconds later (after it gets to around 3F) I start getting tons of error reading blocks. The LibUSB also dissapears under drivers.  If I run nandpro again I get no device found. I have to unplug it and replug it in and then it gets detected - but I get the same errors.

Any ideas where I could be going wrong? I've trippled checked the wiring. The PIC is also good as if from a ex PS3 JB I build so I know its working.

The other thing I notice is that if the xbox is not wired up to the flasher and I plug it in - it gets detected and can see it under devices, but then a few seconds later it dissapears from the devices. Is it supposed to do this?

Update: Bah humbug! A few hours later and its working. 

I clearly didnt check the wiring enough - pin 13 needs to be taken to 5V!!  Angry

All working 100% now Smiley


yeah i was going to say it sounded like the pic was resetting. glad you figured it out as i had one hell of a time solving that issue when i was making my ps3 dongles with minimal wires Shocked
Logged
kl1k
Member
**
Posts: 29


View Profile
« Reply #1030 on: September 02, 2011, 04:25:05 PM »

yeah i was going to say it sounded like the pic was resetting. glad you figured it out as i had one hell of a time solving that issue when i was making my ps3 dongles with minimal wires Shocked

Thanks - all working now. I should have known - I had the same problem with the LVP on the PS3 JB Smiley
Logged
cyku77
Newbie
*
Posts: 6


View Profile
« Reply #1031 on: September 04, 2011, 03:25:02 PM »

hi guys, is it possible to adapt the code (source) for AT90USB162-16AU
thanks.
« Last Edit: September 04, 2011, 03:31:05 PM by cyku77 » Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #1032 on: September 05, 2011, 01:08:01 PM »

I got the same issue with the connection losses on a nand flasher I used on several consoles just fine a year ago. I get disconnects after reading a while, sometimes it will actually go through without error, though. Pin 13 definitely has 5V. I resoldered everything, tried on a pc and laptop, checked all wiring, added extra caps for filtering.. no go. Any ideas?

Edit: Nevermind, likely caused by R7 (10kohm resistor on pin 26) being broken, replaced it and it did a few reads and writes fine.
« Last Edit: September 05, 2011, 03:34:30 PM by Arakon » 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.
forghan
Newbie
*
Posts: 3


View Profile
« Reply #1033 on: September 20, 2011, 12:36:23 PM »

hi every budy . can you help me ? i made the programer as well and did work but i have problem with pic's kit . i made it too with this schematic and when i want connect it to pc it dosent connect carfully (i saw the error usb not recognized ) and pic 2550 burnt with high temperature and it smells like $#!t burnt think .(i made my usb cable) did am wrong with usb pinout or inverse wire it ?





« Last Edit: September 20, 2011, 12:38:16 PM by forghan » Logged
rrkk123
Newbie
*
Posts: 5


View Profile
« Reply #1034 on: September 21, 2011, 09:41:19 PM »

Sry Im a noob can I use a PIC18F2520
Logged
forghan
Newbie
*
Posts: 3


View Profile
« Reply #1035 on: September 22, 2011, 03:49:39 AM »

Sry Im a noob can I use a PIC18F2520

no
Logged
Kdawg
Newbie
*
Posts: 3


View Profile
« Reply #1036 on: October 01, 2011, 02:12:33 AM »

Good day Forum.

I built a darkstar nand flasher using a PIC18F2550, and im trying to load the usb bootloader with my PICKIT 3. The bootloader is responsive, but the problem is that it is stuck in bootloader mode, ALL the time! I tried setting MRCL, LVP etc etc. My circuit is correct(The bootloader pin only grounds when i push the button, checked it with the multimeter).
Does someone know if I should relocate the memory in MPLAB's to get the bootloader to run only when pushing the bootloader button? Hw do I fix this please help!

Thank You!

Regards
Logged
iLLNESS
Master Hacker
****
Posts: 398


View Profile
« Reply #1037 on: October 06, 2011, 05:21:57 PM »

Good day Forum.

I built a darkstar nand flasher using a PIC18F2550, and im trying to load the usb bootloader with my PICKIT 3. The bootloader is responsive, but the problem is that it is stuck in bootloader mode, ALL the time! I tried setting MRCL, LVP etc etc. My circuit is correct(The bootloader pin only grounds when i push the button, checked it with the multimeter).
Does someone know if I should relocate the memory in MPLAB's to get the bootloader to run only when pushing the bootloader button? Hw do I fix this please help!

Thank You!

Regards

question is, did you even flash the picxflash? it will always be in bootloader mode if the bootloader is the only thing on the chip.
Logged
Kdawg
Newbie
*
Posts: 3


View Profile
« Reply #1038 on: October 11, 2011, 04:03:04 AM »

Hi Illness (Respect for work on PS3 scene, that was epic)

Im using a PICkIT3 and MPLAB to flash the PIC. I loaded the bootloader successfully(Bootloader always enabled, pin 17 grounded or not), and when I reprogramming it using the PICDEM USB FS Tool it programs flashX successfully(I detect memoryaccess in device manager), but then I have no more bootloader. I cant use PICKIT 3 with LVP(microchip made it obsolete), so do i need to perhaps change or ground pins when programming the bootloader or what can I do!?

Thank you, very frustrating having more problems with expensive pic programmer, my old ps3 art2003 worked better  Angry

Good day Forum.

I built a darkstar nand flasher using a PIC18F2550, and im trying to load the usb bootloader with my PICKIT 3. The bootloader is responsive, but the problem is that it is stuck in bootloader mode, ALL the time! I tried setting MRCL, LVP etc etc. My circuit is correct(The bootloader pin only grounds when i push the button, checked it with the multimeter).
Does someone know if I should relocate the memory in MPLAB's to get the bootloader to run only when pushing the bootloader button? Hw do I fix this please help!

Thank You!

Regards

question is, did you even flash the picxflash? it will always be in bootloader mode if the bootloader is the only thing on the chip.
Logged
iLLNESS
Master Hacker
****
Posts: 398


View Profile
« Reply #1039 on: October 12, 2011, 05:52:59 PM »

Hi Illness (Respect for work on PS3 scene, that was epic)

Im using a PICkIT3 and MPLAB to flash the PIC. I loaded the bootloader successfully(Bootloader always enabled, pin 17 grounded or not), and when I reprogramming it using the PICDEM USB FS Tool it programs flashX successfully(I detect memoryaccess in device manager), but then I have no more bootloader. I cant use PICKIT 3 with LVP(microchip made it obsolete), so do i need to perhaps change or ground pins when programming the bootloader or what can I do!?

Thank you, very frustrating having more problems with expensive pic programmer, my old ps3 art2003 worked better  Angry

Good day Forum.

I built a darkstar nand flasher using a PIC18F2550, and im trying to load the usb bootloader with my PICKIT 3. The bootloader is responsive, but the problem is that it is stuck in bootloader mode, ALL the time! I tried setting MRCL, LVP etc etc. My circuit is correct(The bootloader pin only grounds when i push the button, checked it with the multimeter).
Does someone know if I should relocate the memory in MPLAB's to get the bootloader to run only when pushing the bootloader button? Hw do I fix this please help!

Thank You!

Regards

question is, did you even flash the picxflash? it will always be in bootloader mode if the bootloader is the only thing on the chip.

just to make sure... you are grounding the pin when you insert the usb correct?
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