|
gr3nad3
|
 |
« Reply #980 on: October 23, 2010, 03:20:46 PM » |
|
Just stoppin in to do a xenon with the mini diagram. I should have memorized these by now but o well. THIS THREAD ROX
|
|
|
|
|
Logged
|
|
|
|
|
Xumpy
|
 |
« Reply #981 on: October 25, 2010, 03:40:01 PM » |
|
Guys, is it possible that when I put 5V by usage of a 7805 transistor on the vdd of my art2003 that I blown the part to write data with my pic  I've bought 2 pic 18F2550 and I've noticed that one of my pic isn't even accepted by the controller anymore... I can write and read from it with my art2003 but it has become useless in the controller. If I got confirmation of this I might by myself some new pic's... Else I have no clue why I just can't write data to my nand with the other pic. It only works for the first 512 bytes of the nand, afterwards I need to disconnect and reconnect the device before I could write another 512 bytes... Reading works perfectly (at least with the other non blown pic) Any help still greatly appreciated
|
|
|
|
|
Logged
|
Once your mind is running, returning to its original state feels like standing still.
|
|
|
|
maximilian0017
|
 |
« Reply #982 on: October 26, 2010, 03:32:20 AM » |
|
7805 is a voltage regulator and an 18f2550 can handle 5v N.P. , measure output of the 7805 to be sure it's 5v., where did you get the voltage for the 7805?(describe in detail)
Take some (clear) pictures and post them here (install, top/bottom pcb)
Check your crystal setup, needs to be 12Mhz not 12.XXX
Could you program the second PIC the first time?, yopu could try to connect another crystal to the pic while it is in the programmer.(is this also true on a PIC?)
|
|
|
|
|
Logged
|
|
|
|
|
Xumpy
|
 |
« Reply #983 on: October 26, 2010, 04:22:05 AM » |
|
I'm at my work for the moment so clear pictures is hard...
But for the info: 7805 with a 12 V adapter => Got something like 5.05V. Guess this is 5V not?
Damn, I believe my cristal is indeed 12.XXX need to check for sure but I'm nearly 100% sure about this...
But for the pic: I could program it fine in the beginning, it worked just the same as the other one... It just stopped working after I reprogrammed it a couple of 100 times (only in the end I wanted to follow the tutorials 100% exactly so I searched for winpic800 v 3.55. It appears that this version could only clean my pic when putting 5v on the vdd... So that's what I did, I worked for a couple of times but in the end the pic died on me. Unless of course the crystal has something to do with all this???
|
|
|
|
|
Logged
|
Once your mind is running, returning to its original state feels like standing still.
|
|
|
|
maximilian0017
|
 |
« Reply #984 on: October 26, 2010, 12:34:41 PM » |
|
5.05v isn't a problem(PIC can handle 5,5V), why didn''t you use an USB cable for the extra 5v?
If you use a 12.XXX(12.000 is ok ofcourse) crystal and not a 12 Mhz crystal you could get the read/write errors you are getting, so just replace that.
With the other PIC you probably programmed it wrong(disable reset/clocksource) and now you cannot program it anymore, You could try to connect a crystal with corresponding caps in the programmer design(Works for AVR, dunno about PIC) or let someone with a real PIC programmer erase the PIC for you. Try to get help on the PIC website, theres probably someone in your country who can erase it for you.
Maby there are some PIC minded people over here who can help....
|
|
|
|
|
Logged
|
|
|
|
|
Xumpy
|
 |
« Reply #985 on: October 26, 2010, 01:08:42 PM » |
|
Thnx for the explination maximilian0017 but I can program the pic... It just won't be recognized as USB device anymore in the controller... For the crystal I found it hard to find a correct one... Is it really possible that the crystal is responsible for a correct write of 512 bytes and afterwards nothing anymore untill I reconnect the controller... Very interesting... As for the PIC, I also believe it's not broken any help here is still greatly appreciated, but my top priority is getting the controller to work... I'm going to search for a crystal, will come back to you guys when I found one  Thnx ps: I used the 7805 cause I had already build a device for this, it's not my first time messing with these things :p
|
|
|
|
« Last Edit: October 26, 2010, 02:39:11 PM by Xumpy »
|
Logged
|
Once your mind is running, returning to its original state feels like standing still.
|
|
|
|
maximilian0017
|
 |
« Reply #986 on: October 26, 2010, 03:18:40 PM » |
|
You need 12 Mhz exactly for the USB connection, so that will go wrong after so many ticks of the crystal. Check pci usb cards, usb hubs or anything with an usb connection for the right crystal.
It is possible that you blew up the usb pins of that other pic, make sure it is programmed correctly and if it still doesnt work you can bin it.
|
|
|
|
|
Logged
|
|
|
|
|
cory1492
|
 |
« Reply #987 on: October 26, 2010, 05:04:49 PM » |
|
The only frequency requirement of the crystal is that it be divisible to get 4.000MHz, so 4,8,12,16,20..40MHz. I scammed a 12MHz xtal (with caps) out of a shoddy/3rd party ps2 multitap and a 40MHz resonator out of a dead ps2 memory card.
I recall DarkStarTM mentioning in one of the xflash threads that he managed to kill the built usb transceiver on his 18F doing something trivial, and that they were a bit on the frail side as it shouldn't have blown. I have yet to kill a PIC myself though.
|
|
|
|
|
Logged
|
|
|
|
|
Xumpy
|
 |
« Reply #988 on: October 27, 2010, 03:32:02 PM » |
|
Yess, maximilian0017 you where right, it was the crystal... I put in a 16mhz crystal as suggested by cory... Changed the program of the pic, and now I can write and read at full speed (5 minutes to write, 5 to read). One more question, is the crystal related to the speed of reading and writing... Something like the clock of a cpu, or is the nand not capable of going any faster 
|
|
|
|
|
Logged
|
Once your mind is running, returning to its original state feels like standing still.
|
|
|
|
cory1492
|
 |
« Reply #989 on: October 27, 2010, 07:59:11 PM » |
|
The oscillator has no no impact on the PIC's run speed, it is divided to get a clock for USB - the PIC itself is running (IIRC) 48MHz off an internal clock.
The NAND itself can go a lot faster, a 16M NAND on a cygnos can be dumped/written in ~30 seconds. The ARM board nandpro was originally created for halves the time of the PIC code. Keep in mind, the PIC version is doing bitbang SPI over the GPIO pins to the nand controller (while direct nand interface like cygnos can use 8bit parallel pins directly from the nand) and it's not really the clock slowing things down at all (and in the meantime be thankful you aren't using LPT and waiting 45min+ for the same data.)
I never did find an answer, but I assume there was a good one (like having to choose either USB or SPI but not both) - PIC18F has at least one built in SPI device (like the ARM LPC board does, and uses) which should be faster than bitbang.
|
|
|
|
|
Logged
|
|
|
|
|
maximilian0017
|
 |
« Reply #990 on: October 28, 2010, 01:23:27 PM » |
|
I recall DarkStarTM mentioning in one of the xflash threads that he managed to kill the built usb transceiver on his 18F doing something trivial, and that they were a bit on the frail side as it shouldn't have blown. I have yet to kill a PIC myself though.
Someone who was selling flashers broke a couple of them, dont know what he did exactly. Had something to do with the usb cap.
|
|
|
|
|
Logged
|
|
|
|
|
modme09
|
 |
« Reply #991 on: November 05, 2010, 12:16:11 PM » |
|
Im having a problem with flashing picflash... PDFSUSB will see it but when i go to load PICFLASH.HEX and then go to write it stops and give me an error. Id give you the error but I have to get a new pic I damaged the old on by pulling it out and reprogramming it (I broke one the legs off) I figured I get a head start on the new one. Or Ill buy someones preprogrammed pic off them Via Paypal... pm me or email me @ aaron@modme09.com thanks.
|
|
|
|
|
Logged
|
|
|
|
|
Xumpy
|
 |
« Reply #992 on: November 05, 2010, 12:56:55 PM » |
|
You probably had the same error as I had a couple of posts ago... Try to flash this picflash.hex file : http://www.360usbspi.com/pub/360usbspi_800_v1.hexIt's a little update and works fine for me...
|
|
|
|
|
Logged
|
Once your mind is running, returning to its original state feels like standing still.
|
|
|
|
maximilian0017
|
 |
« Reply #993 on: November 05, 2010, 04:55:04 PM » |
|
I broke one the legs off Not all the pins are used, but if it's an important one (its connected in the schema) you could probably solder a new wire to the point the old one broke off, maby scraping off some of the housing off with a small xacto knife. Make sure you have a capacitor over the gnd and 5v lines of the programmer and a clean 5v powersupply (just use an usb cable!!!)
|
|
|
|
|
Logged
|
|
|
|
|
modme09
|
 |
« Reply #994 on: November 06, 2010, 12:05:52 AM » |
|
I broke one the legs off Not all the pins are used, but if it's an important one (its connected in the schema) you could probably solder a new wire to the point the old one broke off, maby scraping off some of the housing off with a small xacto knife. Make sure you have a capacitor over the gnd and 5v lines of the programmer and a clean 5v powersupply (just use an usb cable!!!) It was pin 1 why couldn't it have been 2 I actually used a dremel low speed with a sander last night and itll stay there for now and it does accept it. When I program I use a HVP on serial. Im gonna give this a try and see how it goes
|
|
|
|
|
Logged
|
|
|
|
dero2k
Newbie

Posts: 4
|
 |
« Reply #995 on: November 09, 2010, 02:45:40 AM » |
|
hey guys awesome work here  my problem is i have no pic programmer BUT i hav a pic with sprut bootloader and a socket to connect the pic via usb to my pc so i could flash the .hex file via usboot i did this with the hex but when i put the pic in the flasher i build from here my pc says uknown usb device could someone help me with this problem ? i think you need to edit the hex that it matches my bootloader her´s the link to my bootloader http://www.sprut.de/electronic/pic/bootloader/bootloader.htmthanky for anny help sorry for my bad english but i´m from germany
|
|
|
|
« Last Edit: November 09, 2010, 03:04:54 AM by dero2k »
|
Logged
|
|
|
|
|
gr3nad3
|
 |
« Reply #996 on: November 13, 2010, 04:22:55 PM » |
|
oops accidentally flash my original back, damn now i gotta solder the programmer in my box again LOL. THIS THREAD ROX AND SO DOES DarkstarTM and sandungas
|
|
|
|
|
Logged
|
|
|
|
|
|
|
nicnull
|
 |
« Reply #998 on: December 14, 2010, 01:17:12 PM » |
|
Thanks, saved my day! This update fixed my problem with "Incompatible ARM hardware for this version of nandpro" (v2.0b)
|
|
|
|
|
Logged
|
|
|
|
furqan
Newbie

Posts: 2
|
 |
« Reply #999 on: December 19, 2010, 05:46:23 AM » |
|
Hello! i am register on this form because i want built an usb spi flasher! but i've some questions: 1) does it woks with any xbox and any kernel or dashboard? 2)with this flasher, can i obtain the cpukey and dvd key from nand(for unban my 360)? Thanks
|
|
|
|
|
Logged
|
|
|
|
|