|
iLLNESS
|
 |
« Reply #940 on: September 08, 2010, 10:11:27 PM » |
|
There is no need to bypass the resistor, I made the mistake of not putting one at all and had the same problem as you initially. If you leave the connect open it seems to randomly go high/low so the pullup is needed to stop that from happening (and stop the PIC from randomly resetting). The other thing is, there is usb enable lead on RC2 which must be pulled up to enable USB, it is the same case again that if left floating/open it will go high/low randomly and interrupt the USB connection (even touching the PIC with a finger can affect these.)
I use WinPic800 to program my PIC through a willem, it has good drop downs for fuse settings and is compatible with many types for PIC programmer. Maybe it can work with your 'univeral programmer'?
dude you have no idea how much this has helped me. ive been playing around two full nights now trying to figure out WHY this damned board keeps resetting on me. im building some more boards for friends for the ps3 hack (using the schematic on page 18 by darkstar) except i've been doing a minimal build. comparing the schematic from the psgroopic schematic and the one i used from this thread on page 18, i somehow determined that the two 10kohm resistors were unnecessary (according to the psgroopic schematic they aren't used). for some reason i was having success but not this last board. touching the PIC caused a reboot and wiggling the usb wires caused reboot. sometimes it wouldnt detect and ive cut up so many usb cables it's not funny trying to test my issues. i DID try using the two 10kohm resistors but must have not soldered them properly. i came here looking for some advice and sure enough, your last post gave me a good indication on where to troubleshoot  concentrated on the 10k ohm resistors and made sure i was pulling RC2 properly in my trace, low and behold its all good now  thanks a million.
|
|
|
|
|
Logged
|
|
|
|
|
Gastgeber
|
 |
« Reply #941 on: September 13, 2010, 08:54:17 AM » |
|
Is there anyone who can provide me an eagle layout in form of a brd file? Think there are a few people who have it already but i didnt find it. Just got the pictures of it.
Thx
|
|
|
|
|
Logged
|
|
|
|
kirua
Newbie

Posts: 6
|
 |
« Reply #942 on: September 15, 2010, 05:29:46 AM » |
|
Grim187: there are plenty of spare pins if you are going to make more with epoxy coating (permanent for usb xbox spi only), you could do activity in the code, an led for 'on', one for spi write activity and one for spi read - should be relatively simple.
@ cory1429. How do I add a LED activity to the source code?
|
|
|
|
|
Logged
|
|
|
|
|
xboxbreaker
|
 |
« Reply #943 on: September 15, 2010, 06:20:21 AM » |
|
is there any harm in using a 20MHZ crystal? If i change the setup value in the bootloader? It wont make it any more/less sensitive to the value of the load capacitors will it?
EDIT: Never mind, I found a 12MHZ crystal.
|
|
|
|
« Last Edit: September 15, 2010, 05:08:01 PM by xboxbreaker »
|
Logged
|
|
|
|
|
duggyuk
|
 |
« Reply #944 on: September 15, 2010, 07:21:40 AM » |
|
Can someone explain the orientation for for those of us who have polarised caps?... none of the diagrams seem to indicate polarity. I suppose most people are using bi-polar caps?
|
|
|
|
|
Logged
|
|
|
|
|
xboxbreaker
|
 |
« Reply #945 on: September 15, 2010, 05:14:34 PM » |
|
Can someone explain the orientation for for those of us who have polarised caps?... none of the diagrams seem to indicate polarity. I suppose most people are using bi-polar caps?
Polarised caps would mean you are using electrolytic capacitors, they only behave desirably in one direction, reverse polarity causes large leakage current by design, so it totally changes the behaviour of the circuit. You have to use non-polarised ceramic capacitors.
|
|
|
|
« Last Edit: September 15, 2010, 05:17:27 PM by xboxbreaker »
|
Logged
|
|
|
|
|
duggyuk
|
 |
« Reply #946 on: September 16, 2010, 04:45:53 PM » |
|
thanks for the post, ordered some, coming soon. lets see what happens. 
|
|
|
|
|
Logged
|
|
|
|
|
Pacote-san
|
 |
« Reply #947 on: September 21, 2010, 01:29:03 PM » |
|
Do i need to flash the bootloader or flashing only the PICFLASH.hex v3b would work? I have only 20mhz here so with winpic im able to change it to that value Just found on the thread 
|
|
|
|
« Last Edit: September 21, 2010, 08:42:31 PM by Pacote-san »
|
Logged
|
|
|
|
strtfr
Newbie

Posts: 6
|
 |
« Reply #948 on: September 24, 2010, 03:37:27 PM » |
|
/* ** Sorted! ** http://www.xboxhacker.org/index.php?topic=12306.msg116035#msg116035*/ I have just build the flasher according to the diagram in: http://dev360.wikia.com/wiki/USB_Nand_SPI_FlasherI have used ART2003 to program the bootloader hex in the first post. When I connect the flasher via USB to the computer, the computer asks for the driver. The driver in the firstpost does not work out of the box. It works when I change PID and VID in the .inf file according to the PID and VID in the pic source. Although the suggested (nandpro) driver by cory works out of the box (libusb.inf if I remember correctly). The Flasher is recognized as a custom USB device. When I open Picdem FS USB (PDFSUSB.exe from the OP) I cannot select the flasher, it isn't there. I have checked the connections multiple times. The controller is powered, but I cannot measure if the crystal is oscillating. Interesting is that I cannot reflash the pic with winpic800, it says from the start error writing 0x000000. I can read it though. I could not test an other pic because I didn't had one at hand. Also, I haven't got a parallel port on my Mac, so I have to travel one and a half hour to just program a pic. I will again try tomorrow in the afternoon, but I do not want to wreck another pic.  Somebody have a clue? Is the bootloader incorrectly flashed? Thanks.
|
|
|
|
« Last Edit: September 28, 2010, 07:07:13 AM by strtfr »
|
Logged
|
|
|
|
|
cory1492
|
 |
« Reply #949 on: September 24, 2010, 04:51:28 PM » |
|
Grim187: there are plenty of spare pins if you are going to make more with epoxy coating (permanent for usb xbox spi only), you could do activity in the code, an led for 'on', one for spi write activity and one for spi read - should be relatively simple.
@ cory1429. How do I add a LED activity to the source code? You just set and unset the bit (as needed, 1 = LED on, 0 = LED off) that corresponds to the pin you have an LED on, add appropriate resistor and LED and away you go.
|
|
|
|
|
Logged
|
|
|
|
kirua
Newbie

Posts: 6
|
 |
« Reply #950 on: September 25, 2010, 12:56:04 PM » |
|
Grim187: there are plenty of spare pins if you are going to make more with epoxy coating (permanent for usb xbox spi only), you could do activity in the code, an led for 'on', one for spi write activity and one for spi read - should be relatively simple.
@ cory1429. How do I add a LED activity to the source code? You just set and unset the bit (as needed, 1 = LED on, 0 = LED off) that corresponds to the pin you have an LED on, add appropriate resistor and LED and away you go. Hi cory1429, thanks for the reply. Where can I find the "PICFLASH_v3b_plus2" source code, the one that works for 512/256 mb nand and what compiler should I use. I'm planning to build a usb spiflasher with activity LED for read and write. I will try to include LED activity to the "PICFLASH_v3b_plus2" source code. Thanks.
|
|
|
|
|
Logged
|
|
|
|
strtfr
Newbie

Posts: 6
|
 |
« Reply #951 on: September 25, 2010, 06:10:32 PM » |
|
Dumping as we speak!  The v3b_plus2 bins from cory1492 work like a charm. Of course, I really would like to thank everyone participating in this scene to make our lives easier. Thank you very much! Hi cory1429, thanks for the reply. Where can I find the "PICFLASH_v3b_plus2" source code, the one that works for 512/256 mb nand and what compiler should I use. I'm planning to build a usb spiflasher with activity LED for read and write. I will try to include LED activity to the "PICFLASH_v3b_plus2" source code. Thanks.
You can download the bins over here, I do not know if the sources are available and where cory has posted them: http://www.tiaowiki.com/download//file.php?id=28MPLAB is a nice program for developing. There is also a standard C18 compiler integrated. I do not now which syntax for which compiler is used. Every now and then compilers seem to disagree about syntax. http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010014Good luck!
|
|
|
|
« Last Edit: September 25, 2010, 06:16:40 PM by strtfr »
|
Logged
|
|
|
|
|
cory1492
|
 |
« Reply #952 on: September 25, 2010, 10:48:41 PM » |
|
Hi cory1429, thanks for the reply. Where can I find the "PICFLASH_v3b_plus2" source code, the one that works for 512/256 mb nand and what compiler should I use. I'm planning to build a usb spiflasher with activity LED for read and write. I will try to include LED activity to the "PICFLASH_v3b_plus2" source code. Thanks.
go here (link), put "PICFLASH_v3b_plus2" (without quotes) in the box that says "Search for:" and "cory1492" (without quotes) in the box that says "by user:" 
|
|
|
|
|
Logged
|
|
|
|
|
xboxbreaker
|
 |
« Reply #953 on: September 27, 2010, 06:04:26 AM » |
|
When I open Picdem FS USB (PDFSUSB.exe from the OP) I cannot select the flasher, it isn't there. I have checked the connections multiple times. The controller is powered, but I cannot measure if the crystal is oscillating.
Somebody have a clue? Is the bootloader incorrectly flashed? Thanks.
Make sure you have the bootloader driver installed. EDIT: Sorry, ignore this, I jumped the gun without reading other replies!
|
|
|
|
|
Logged
|
|
|
|
strtfr
Newbie

Posts: 6
|
 |
« Reply #954 on: September 28, 2010, 07:06:21 AM » |
|
When I open Picdem FS USB (PDFSUSB.exe from the OP) I cannot select the flasher, it isn't there. I have checked the connections multiple times. The controller is powered, but I cannot measure if the crystal is oscillating.
Somebody have a clue? Is the bootloader incorrectly flashed? Thanks.
Make sure you have the bootloader driver installed. EDIT: Sorry, ignore this, I jumped the gun without reading other replies! No problem, I am happy you took the time to read my post. The problem was sorted by flashing corey's picXboot. 
|
|
|
|
|
Logged
|
|
|
|
|
gr3nad3
|
 |
« Reply #955 on: October 05, 2010, 01:39:56 PM » |
|
Dropping in to do another doing anther box, this thread rox
|
|
|
|
|
Logged
|
|
|
|
kirua
Newbie

Posts: 6
|
 |
« Reply #956 on: October 05, 2010, 03:46:06 PM » |
|
Grim187: there are plenty of spare pins if you are going to make more with epoxy coating (permanent for usb xbox spi only), you could do activity in the code, an led for 'on', one for spi write activity and one for spi read - should be relatively simple.
@ cory1429. How do I add a LED activity to the source code? You just set and unset the bit (as needed, 1 = LED on, 0 = LED off) that corresponds to the pin you have an LED on, add appropriate resistor and LED and away you go. Hi cory1429, thanks for the reply. Where can I find the "PICFLASH_v3b_plus2" source code, the one that works for 512/256 mb nand and what compiler should I use. I'm planning to build a usb spiflasher with activity LED for read and write. I will try to include LED activity to the "PICFLASH_v3b_plus2" source code. Thanks. @cory1492 thanks for your help cory1492, here it is, activity led for the usb spi flasher. thanks again. http://www.megaupload.com/?d=0QEF29HY
|
|
|
|
« Last Edit: October 05, 2010, 03:53:38 PM by kirua »
|
Logged
|
|
|
|
kirua
Newbie

Posts: 6
|
 |
« Reply #957 on: October 05, 2010, 03:52:51 PM » |
|
@cory1492 thanks for your help cory1492, here it is, activity led for the usb spi flasher. thanks again. http://www.megaupload.com/?d=0QEF29HY
|
|
|
|
|
Logged
|
|
|
|
kirua
Newbie

Posts: 6
|
 |
« Reply #958 on: October 05, 2010, 03:58:04 PM » |
|
im gonna build 10 more, i wanted to know is there a "easy pin" to do a activity led? im looking at the diagram and the only thing i can think of is vdd, usbd +or- or transistor one of the rb's. i haven't done any voltage testing yet.
@cory1492 thanks for your help cory1492, here it is, activity led for the usb spi flasher. thanks again. http://www.megaupload.com/?d=0QEF29HY
|
|
|
|
« Last Edit: October 05, 2010, 03:59:51 PM by kirua »
|
Logged
|
|
|
|
|
wes11ph
|
 |
« Reply #959 on: October 08, 2010, 12:39:26 AM » |
|
can i use PIC18F4455
instead of 18f2455
|
|
|
|
|
Logged
|
he's on Wii Disc
BTW: Warning to noobs! use "search" or be slapped on the face!
|
|
|
|