XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 02:11:07 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 307994 times)
threesixtyuser
Master Hacker
****
Posts: 115


View Profile
« Reply #660 on: January 25, 2010, 03:48:43 AM »

Could someone just confirm that those ribbon cables I linked to will be suitable for my connectors please? I noticed that 3 of them list the Conductor Material as Tinned Copper and one just says Copper, so should I assume that the latter isn't solid core and avoid that one?

You used my first shopping list didn't you?

The 10 pole connectors have a pin spacing of 2.54mm, but this results in de wire connections having a pitch of 1.27mm. I've overseen that as well and bought new connectors (16 way) so I could use a single row of the connector (easier to solder)

If you want to use your current connectors you need a ribbon cable with 1.27mm pitch and thus:

http://uk.farnell.com/amphenol-spectra-strip/135-2801-010/ribbon-cable-10way-per-m/dp/1207451

would be ok, it's non solid, but tinned copper so cores won't spread easilly.

If you want to use your current cable you need different connectors:

http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=1642024
http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=1642028

for the diodes I ordered:

http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=1081177

Logged
doveman
Master Hacker
****
Posts: 186


View Profile
« Reply #661 on: January 25, 2010, 06:04:32 AM »

If I remember correctly, I think I used your shopping list to help find some of the components at Farnell, but for the connectors I was using d4m4n's suggestions on page 27.

I did think of using 8x8 connectors but wasn't sure I'd fit a lugged one in the space available on the 360, so I stuck with the 5x5 ones so that I could use this
http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=525091

heh, it's obvious now that I've seen the connector that I need 1.27mm pitch wire rather than 2.54mm, but as you say easy to overlook.

This cable seems to have much the same specs as the one you suggested and is 50p cheaper:

http://uk.farnell.com/3m/3302-10/ribbon-cable-10way-per-m/dp/1207417

I want to solder through the holes on the motherboard, so hopefully that won't be any harder with tinned copper rather than solid core.

These are the diodes I've found now that are £0.009 each.
http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1469384

It's wierd that when I was looking before I couldn't seem to find anything cheaper than the Maplin's ones for 22p each, which is why I got those. Clearly I just need to learn how to search Farnell better Smiley
Logged
MisToR
Newbie
*
Posts: 2


View Profile
« Reply #662 on: January 25, 2010, 02:00:49 PM »

hello there, i,v build the spi flasher hihihi only missing that damn chip PIC18F2455 im located in Holland i really searched my ass off. Tongue


now i have found Microchip PIC 18F2455-40/P (12k FLASH, 48 MHz, USB, DIP-28)

or

Microchip PIC 18F2450-40/P (8k FLASH, 48 MHz, USB, DIP-28) ??


but thats a 12k flash will im able to use that one???

so i know its worth ordering it other
Thx guys for the help and guides looking great
Logged
doveman
Master Hacker
****
Posts: 186


View Profile
« Reply #663 on: January 25, 2010, 03:52:25 PM »

If you can find it easier, you can use 18F2550. That's what I used and you don't have to change anything else in the circuit.
Logged
s00pcan
Member
**
Posts: 41


View Profile
« Reply #664 on: January 25, 2010, 04:00:17 PM »

I'm getting writing errors.. I can read fine though. What gives?

C:\NandPro20a>nandpro usb: -w16 xbr.bin
NandPro v2.0a by Tiros

Looking for usb interface device
FlashConfig:01198010
Starting Block:0x000000
Ending Block:0x0003FF
Press any key to begin writing nand
File: xbr.bin FileLen:1080000 Blocks:400
Error: 300 Programming block 1
Error:FFFF Programming block 3
Error:FFFF Programming block 4

etc..
Logged
maximilian0017
Xbox Hacker
*****
Posts: 684


View Profile
« Reply #665 on: January 25, 2010, 06:11:13 PM »

I'm getting writing errors.. I can read fine though. What gives?

Make sure you are not using to thin wiring, especially ground.

Dont use a resonator, use a crystal with the correct capacitors
Logged
doveman
Master Hacker
****
Posts: 186


View Profile
« Reply #666 on: January 25, 2010, 06:27:09 PM »

Dammit, Farnell have introduced a minimum £20 for credit card orders now, which is really annoying 'cos I only need to get a couple of bits to finish this project  Angry
Logged
s00pcan
Member
**
Posts: 41


View Profile
« Reply #667 on: January 25, 2010, 07:26:58 PM »

I'm getting writing errors.. I can read fine though. What gives?

Make sure you are not using to thin wiring, especially ground.

Dont use a resonator, use a crystal with the correct capacitors

http://www.radioshack.com/product/index.jsp?productId=2062640
I'm using this 30awg wire. Not sure what you're talking about in the second half of that post, but I'm using a premade usb spi flasher.
Logged
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #668 on: January 25, 2010, 07:32:30 PM »

I'm getting writing errors.. I can read fine though. What gives?

Make sure you are not using to thin wiring, especially ground.

Dont use a resonator, use a crystal with the correct capacitors

http://www.radioshack.com/product/index.jsp?productId=2062640
I'm using this 30awg wire. Not sure what you're talking about in the second half of that post, but I'm using a premade usb spi flasher.

does it have this in it.....ignore the numbers....
and 30awg wire for a ground?....
Logged

sick like a mofo..not reballing for a while...
AZImmortal
Member
**
Posts: 21


View Profile
« Reply #669 on: January 26, 2010, 12:18:40 AM »

Sorry if this has already been covered elsewhere, but can someone provide detailed instructions on how to actually program the PIC?  I almost have my ART2003 and NAND flasher built, but I still don't completely understand what I need to do to get the PIC programmed, and searching through this entire thread is taking a while.  Maybe a new thread with instructions on how to program the PIC would be make it more accessible.  Thanks for any and all help.
Logged
sandungas
Master Hacker
****
Posts: 212



View Profile
« Reply #670 on: January 26, 2010, 08:47:27 AM »

Copied from the technical thread....
I modified the strings for DEVICEMANAGERCATEGORY & DESCRIPTION in both drivers... to clasify the device properly in windows device manager
*The driver provided by Microchip (im not sure if DarkstarTM modifyed it)
*The driver provided by nandpro (is the same driver for all versions of nandpro)

Now looks like this


No more modifications was done to the drivers, only the text strings, is just a aesthetical change but i wanted to share them

Microchip USB Driver (bootloader mode).rar -----> http://www.sendspace.com/file/ilxuf9
Nandpro USB driver (nand access).rar ----------> http://www.sendspace.com/file/rn5au9

To install this drivers.... first you need to completly uninstall the old ones, included registry keys, etc.... (a pain in the ass)
I could not find a way to uninstall the old ones (maybe somebody can make an uninstaller, or recommend an app to uninstall them)
But i tested them in a "clean" PC... and works perfect, and looks like in the screen capture i uploaded

So... no problem with the drivers, the problem is to uninstall them (this ones, and the original ones are the same)
Logged
threesixtyuser
Master Hacker
****
Posts: 115


View Profile
« Reply #671 on: January 26, 2010, 09:52:18 AM »

That's where "Driversweeper" (google is your friend if you want to find it) comes in handy Sandungas! Works for most drivers!
Logged
spawnalex
Member
**
Posts: 10


View Profile
« Reply #672 on: January 26, 2010, 11:07:49 AM »

Hello!! I am new on this site. I read what you done here and is a very good job. Only one thing i want, if one of you can post a diagram and the parts of a flasher that he used and its working. Thacks very mutch
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #673 on: January 26, 2010, 11:15:26 AM »

wtf? how f****** lazy can you get? the diagram AND the parts list are on this very forum. open your damn eyes.
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.
lithiumC
Member
**
Posts: 44


View Profile
« Reply #674 on: January 26, 2010, 12:37:39 PM »

Copied from the technical thread....
I modified the strings for DEVICEMANAGERCATEGORY & DESCRIPTION in both drivers... to clasify the device properly in windows device manager
*The driver provided by Microchip (im not sure if DarkstarTM modifyed it)
*The driver provided by nandpro (is the same driver for all versions of nandpro)

Now looks like this


No more modifications was done to the drivers, only the text strings, is just a aesthetical change but i wanted to share them

Microchip USB Driver (bootloader mode).rar -----> http://www.sendspace.com/file/ilxuf9
Nandpro USB driver (nand access).rar ----------> http://www.sendspace.com/file/rn5au9

To install this drivers.... first you need to completly uninstall the old ones, included registry keys, etc.... (a pain in the ass)
I could not find a way to uninstall the old ones (maybe somebody can make an uninstaller, or recommend an app to uninstall them)
But i tested them in a "clean" PC... and works perfect, and looks like in the screen capture i uploaded

So... no problem with the drivers, the problem is to uninstall them (this ones, and the original ones are the same)

Are these compatible with 64 bit?
Logged
sandungas
Master Hacker
****
Posts: 212



View Profile
« Reply #675 on: January 26, 2010, 12:54:27 PM »

No, are the original one uploaded in the first message of the thread, and the one from nandpro

Edit: i didnt take care about the 64bits drivers when reading the thread, im not sure what ones people is using
« Last Edit: January 26, 2010, 12:58:19 PM by sandungas » Logged
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #676 on: January 26, 2010, 04:55:20 PM »

thanks sandungas....got me a clean pc to install the drivers on....going to try this new lf series 3.3 volts...
Logged

sick like a mofo..not reballing for a while...
joeyddr
Master Hacker
****
Posts: 134


View Profile
« Reply #677 on: January 26, 2010, 07:30:15 PM »

I'm getting writing errors.. I can read fine though. What gives?

Make sure you are not using to thin wiring, especially ground.

Dont use a resonator, use a crystal with the correct capacitors

Never had an issue with my resonator.. im sure a crystal is better but i use a 12mhz resonator as posted initially and never had an issue reading or writing.
Logged
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #678 on: January 26, 2010, 07:36:31 PM »

I'm getting writing errors.. I can read fine though. What gives?

Make sure you are not using to thin wiring, especially ground.

Dont use a resonator, use a crystal with the correct capacitors

Never had an issue with my resonator.. im sure a crystal is better but i use a 12mhz resonator as posted initially and never had an issue reading or writing.

some can just get a good combo electrically wise and ground wise so the resonator wont be affected....

his problem can also be the timing in transfer using the wrong combo of crystal/caps(it may work for 1 but not the other not syncing correctly to the pc)
USB noise or not handling the speed and just error out lost the timing sync....
best thing to do is unload the memory locked stuff on the pc...that can be causing it to...remember were reading a nand here it should be and important load for the pc and devoted to it at running time...
also just the electric coming in from the wall to the pc not filtered right (surge suppressor,old power supply(caps do dry out you know)
this is why we bring up the fact of, try different pc's to limit the nature of the problems...
also were not working with a long ground plain so it's best to use what would fit in and still be thick...
« Last Edit: January 26, 2010, 07:50:39 PM by ReverseAffect » Logged

sick like a mofo..not reballing for a while...
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #679 on: January 26, 2010, 07:52:08 PM »

Sorry if this has already been covered elsewhere, but can someone provide detailed instructions on how to actually program the PIC?  I almost have my ART2003 and NAND flasher built, but I still don't completely understand what I need to do to get the PIC programmed, and searching through this entire thread is taking a while.  Maybe a new thread with instructions on how to program the PIC would be make it more accessible.  Thanks for any and all help.

here ya go for starters......
ART2003
Logged

sick like a mofo..not reballing for a while...
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