XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 18, 2013, 08:46:02 PM


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 314637 times)
madhartigan
Member
**
Posts: 12


View Profile
« Reply #1080 on: November 21, 2011, 04:18:30 PM »

could someone simply confirm that the design below (the USBTinyISP) would work for this application? I'd really appreciate it.

Schematic = http://www.ladyada.net/images/usbtinyisp/usbtinyisp2sch.png
Logged
vidy
Newbie
*
Posts: 7


View Profile
« Reply #1081 on: November 22, 2011, 03:56:34 AM »

thnx a ton,

I Received PIC18f4550 dev. board ,it has 20Mhz crystal with bootloader preprogrammed,

When i tried to program USB_SPI_20MHz_(incl.BootLoader)_PicXFlash_V3b.hex every time i greeted with the configuration settings mismatch,I was given three options YES|NO|CANCEL, Whatever i select i get "failed to program flash"

I tried picflash.hex from first page ,flashes fine and i could get the memoryaccess in device manager ,But the problem is mines 20Mhz crystal instead of 12Mhz,

so,

Can somebody please help me with the changes needed in source for 20Mhz crystal,and compiling or provide me picflash.hex compiled for 20Mhz with out

bootloader part (which was failing)

USB_SPI_20MHz_(incl.BootLoader)_PicXFlash_V3b.hex is not for PDFSUSB.exe / it's for flashing with PIC Programmer when there isn't already a bootloader on the PIC.

You don't need any changes for picflash.hex  (only when burning the bootloader PicXBoot.hex the crystal frequ. has to be adapted in fuseset as mentioned above^^) - in your case this is already done.

... so your flashed picflash.hex should do the job as expected

btw. use PICFLASH.hex from PICFLASH_v3b_plus2 by Cory1492 ^^ for NandPro2.0e
Logged
esoon
Member
**
Posts: 17


View Profile
« Reply #1082 on: November 22, 2011, 09:12:36 AM »

^ my pleasure  Smiley


could someone simply confirm that the design below (the USBTinyISP) would work for this application? I'd really appreciate it.

Schematic = http://www.ladyada.net/images/usbtinyisp/usbtinyisp2sch.png


I don't think that it will work, as there are missing signals for XBOX SPI 
and there also has to be ATTINY firmware working with Nandpro.

but there is an AVR AT90USBKey / AT90USB162 port for XBOX SPI e.g.
https://github.com/G33KatWork/XBox-360-AVR-flasher
Logged
Farid*
Member
**
Posts: 25



View Profile WWW
« Reply #1083 on: November 23, 2011, 01:28:14 AM »

PCB + Overlay (Version 2.0) :

Download PCB + Overlay in PDF format
« Last Edit: December 06, 2011, 12:29:24 PM by Farid* » Logged
cyku77
Newbie
*
Posts: 6


View Profile
« Reply #1084 on: November 23, 2011, 11:34:25 PM »

but there is an AVR AT90USBKey / AT90USB162 port for XBOX SPI e.g.
https://github.com/G33KatWork/XBox-360-AVR-flasher

and which components are needed? and where to find the pcb layout ?
thanks
Logged
d4m4n
Master Hacker
****
Posts: 135


View Profile
« Reply #1085 on: November 24, 2011, 02:36:21 AM »

I think this looks better  Grin





Download PCB in PDF format

Many thanks to DarkstarTM, Cory1492, Tiros and Sandungas

That thing is huge. Why place the art programmer on the same pcb? It's only needed once or not at all if you got a pickit or other programmer.
Logged
esoon
Member
**
Posts: 17


View Profile
« Reply #1086 on: November 28, 2011, 09:38:54 AM »

but there is an AVR AT90USBKey / AT90USB162 port for XBOX SPI e.g.
https://github.com/G33KatWork/XBox-360-AVR-flasher

and which components are needed? and where to find the pcb layout ?
thanks


as the README says
Quote
The firmware was developed on an AT90USBKey, but all other AVRs which
have an integrated USB Controller (and are supported by LUFA) should
work, too.

the AT90USBKey is an Atmel Evaluation-Board (got famous with PS3 groove Wink)
schematics here: http://www.atmel.com/dyn/resources/prod_documents/doc7627.pdf

so ports of Teensy like boards should also work,

like Blackcat USB SPI Programmer:
http://www.xboxhacker.org/index.php?topic=16470.0

but I think, they will hardly be faster/cheaper... than PIC based SPIs and

imho ARM LPC2148 based SPI (with NandPro 3) is a better choice.
Logged
deadman
Newbie
*
Posts: 8


View Profile
« Reply #1087 on: November 30, 2011, 12:02:18 PM »

i Need some help pls... I made the flasher twice with required equipment.. with two diff board and i checked every connection five six times everything looks fine... but my win7 pc is not detecting the flasher at all...same thing happened with me secong board and pic18f2455... pls advice what im doing wrong...

im using

pic18f2455
12mhz crystal with 2 x 22pf
10k
220nf cap (also tried with .047uf)
.1uf cap

both build looks clean to me but its just not detecting by my Pc at all... i also tried with two diff pc nothing... i cheaked pin 13 and 5v usb connecting looks solid there .....pls advice

thanks
Logged
Farid*
Member
**
Posts: 25



View Profile WWW
« Reply #1088 on: November 30, 2011, 03:28:14 PM »

Any picture of your work?
Logged
deadman
Newbie
*
Posts: 8


View Profile
« Reply #1089 on: November 30, 2011, 06:29:06 PM »

no idea how to post image here...
« Last Edit: November 30, 2011, 06:30:38 PM by deadman » Logged
n8dog
Newbie
*
Posts: 3


View Profile
« Reply #1090 on: November 30, 2011, 06:44:56 PM »

i Need some help pls... I made the flasher twice with required equipment.. with two diff board and i checked every connection five six times everything looks fine... but my win7 pc is not detecting the flasher at all...same thing happened with me secong board and pic18f2455... pls advice what im doing wrong...

im using

pic18f2455
12mhz crystal with 2 x 22pf
10k
220nf cap (also tried with .047uf)
.1uf cap

both build looks clean to me but its just not detecting by my Pc at all... i also tried with two diff pc nothing... i cheaked pin 13 and 5v usb connecting looks solid there .....pls advice

thanks

Is your win7 64-bit?
Also check if it shows up in device manager (type in "device manager" in start menu).
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #1091 on: December 01, 2011, 12:30:31 AM »

You did program the PIC, right?
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.
deadman
Newbie
*
Posts: 8


View Profile
« Reply #1092 on: December 01, 2011, 04:10:28 AM »

i Need some help pls... I made the flasher twice with required equipment.. with two diff board and i checked every connection five six times everything looks fine... but my win7 pc is not detecting the flasher at all...same thing happened with me secong board and pic18f2455... pls advice what im doing wrong...

im using

pic18f2455
12mhz crystal with 2 x 22pf
10k
220nf cap (also tried with .047uf)
.1uf cap

both build looks clean to me but its just not detecting by my Pc at all... i also tried with two diff pc nothing... i cheaked pin 13 and 5v usb connecting looks solid there .....pls advice

thanks

Is your win7 64-bit?
Also check if it shows up in device manager (type in "device manager" in start menu).


im using win7 32bit and it doesnt show up in device manager either..
Logged
duggyuk
Master Hacker
****
Posts: 271


View Profile
« Reply #1093 on: December 01, 2011, 05:11:16 AM »

Mine is/was not detected IF i boot and forget to do the "disable driver signing" check at start with F8.
Logged
deadman
Newbie
*
Posts: 8


View Profile
« Reply #1094 on: December 01, 2011, 07:37:22 AM »

Mine is/was not detected IF i boot and forget to do the "disable driver signing" check at start with F8.

disable driver signing not helping me either.....scanned for new hardware through device manager and still nothing....PDFSUSB or WinPic800 not seeing it either.... does the blank pic suppose get new hardware?
Logged
duggyuk
Master Hacker
****
Posts: 271


View Profile
« Reply #1095 on: December 01, 2011, 10:38:41 AM »

blank pic = no response.

FYI i flashed my DIY psgroove device and used that on windows = same as you (not detected). I then rebuilt using sadungas (sp) mini schematic and did F8 at startup and it worked. I entered bootloader and all was well.

Are you 100% sure wiring is right?. also when you program the pic, you can READ it and do binary compare to make sure flashed image matches source.
Logged
deadman
Newbie
*
Posts: 8


View Profile
« Reply #1096 on: December 01, 2011, 02:52:52 PM »

blank pic = no response.

FYI i flashed my DIY psgroove device and used that on windows = same as you (not detected). I then rebuilt using sadungas (sp) mini schematic and did F8 at startup and it worked. I entered bootloader and all was well.

Are you 100% sure wiring is right?. also when you program the pic, you can READ it and do binary compare to make sure flashed image matches source.

wiring is fine.... i cheaked everything... pic was raw so i think thats why its not detecting... tried f8 method with driver sign disable,,, not detecting so i cant program it either...
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #1097 on: December 02, 2011, 12:41:07 AM »

You have to use a seperate PIC programmer to write tot he PIC the first time, you can't flash it using USB since obviously, the PIC isn't even using USB if it's still blank.
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.
duggyuk
Master Hacker
****
Posts: 271


View Profile
« Reply #1098 on: December 02, 2011, 07:00:49 AM »

blank pic = no response.

FYI i flashed my DIY psgroove device and used that on windows = same as you (not detected). I then rebuilt using sadungas (sp) mini schematic and did F8 at startup and it worked. I entered bootloader and all was well.

Are you 100% sure wiring is right?. also when you program the pic, you can READ it and do binary compare to make sure flashed image matches source.

wiring is fine.... i cheaked everything... pic was raw so i think thats why its not detecting... tried f8 method with driver sign disable,,, not detecting so i cant program it either...

Yep that's your problem as Arkon says... make a programmer (http://www.foxdelta.com/products/art2003.htm) or buy one (they are cheap).
Logged
deadman
Newbie
*
Posts: 8


View Profile
« Reply #1099 on: December 02, 2011, 04:00:56 PM »

blank pic = no response.

FYI i flashed my DIY psgroove device and used that on windows = same as you (not detected). I then rebuilt using sadungas (sp) mini schematic and did F8 at startup and it worked. I entered bootloader and all was well.

Are you 100% sure wiring is right?. also when you program the pic, you can READ it and do binary compare to make sure flashed image matches source.

wiring is fine.... i cheaked everything... pic was raw so i think thats why its not detecting... tried f8 method with driver sign disable,,, not detecting so i cant program it either...

Yep that's your problem as Arkon says... make a programmer (http://www.foxdelta.com/products/art2003.htm) or buy one (they are cheap).

ok thanks guys for all the effort.... now lets see what i can do about that...
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