XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2013, 05:26: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 308613 times)
d4m4n
Master Hacker
****
Posts: 135


View Profile
« Reply #1060 on: October 27, 2011, 05:08:03 AM »

Can somebody post the latast firmware for the PIC?

http://www.xboxhacker.org/index.php?topic=13850.msg89624#msg89624

I can post a complete hex file after work. With it you can flash the pic without messing with the bootloader. I used Pickit 3 for it.
Logged
Macflame
Newbie
*
Posts: 2


View Profile
« Reply #1061 on: October 27, 2011, 09:30:46 AM »

I have a basic knowledge of electronics so please bear with me. Do the capacitors have to be a particular voltage? I have some ceramic 200N and 100N which are rated to 50v. Could I use these?
TIA.
Logged
d4m4n
Master Hacker
****
Posts: 135


View Profile
« Reply #1062 on: October 27, 2011, 10:06:47 AM »

I do not have a basic knowledge of electronics so please bear with me. Do the capacitors have to be a particular voltage? I have some ceramic 200N and 100N which are rated to 50v. Could I use these?
TIA.

Any voltage rating over 5V will do.
Logged
d4m4n
Master Hacker
****
Posts: 135


View Profile
« Reply #1063 on: October 27, 2011, 10:10:34 AM »

Can somebody post the latast firmware for the PIC?

http://www.xboxhacker.org/index.php?topic=13850.msg89624#msg89624

I can post a complete hex file after work. With it you can flash the pic without messing with the bootloader. I used Pickit 3 for it.

Here is the complete PICFLASH_v3b_plus2 hex file. I read it with Pickit 3. It works great on my new units.
http://dl.dropbox.com/u/16950257/PICFLASH_v3b_plus2_complete.hex
Logged
Macflame
Newbie
*
Posts: 2


View Profile
« Reply #1064 on: October 27, 2011, 05:38:47 PM »

I do not have a basic knowledge of electronics so please bear with me. Do the capacitors have to be a particular voltage? I have some ceramic 200N and 100N which are rated to 50v. Could I use these?
TIA.

Any voltage rating over 5V will do.
Many thanks for the quick and helpful reply.
The inclusion of 'do not' in my earlier message, reads better and is nearer the truth! lol
Logged
hummer5
Newbie
*
Posts: 2


View Profile
« Reply #1065 on: October 29, 2011, 07:45:50 AM »

d4m4n,

the file that you have posted, is it for the nandpro 3 and if yes then when i flash it with picflash, then it is not recognized after the flash. please help.

Mine still works fine if i reflash it back to the old .hex file with nandpro 2 but for gligli hack i need the newer version.

thanks in advance.
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #1066 on: October 29, 2011, 07:49:38 AM »

You flash that file using the USB bootloader, a direct flash won't work. And it's not for nandpro3. There's no pic port for nandpro 3.

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.
d4m4n
Master Hacker
****
Posts: 135


View Profile
« Reply #1067 on: October 29, 2011, 12:56:00 PM »

d4m4n,

the file that you have posted, is it for the nandpro 3 and if yes then when i flash it with picflash, then it is not recognized after the flash. please help.

Mine still works fine if i reflash it back to the old .hex file with nandpro 2 but for gligli hack i need the newer version.

[quote author Arakon]You flash that file using the USB bootloader, a direct flash won't work. And it's not for nandpro3. There's no pic port for nandpro 3.[/quote]

The hex file is for NandPro 2. And it can be flashed directly with Pickit 2&3 and other compatible flasher that also flash the configuration bits correctly. No need to use a bootloader if you have a proper flasher. I read the hex from a working unit and flashed it directly to 5 other units and all work just fine.

hummer5: do you have the pin 17 disconnected?
Logged
NiceShot1985
Member
**
Posts: 29


View Profile
« Reply #1068 on: November 09, 2011, 03:25:55 PM »

Hi guys I tested some bootloaders in here but they are all for 12mhz. Does anyone have bootloader to 20mhz?Otherwise I'll have to change the circuitry again

Thanks a million

Hugs
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #1069 on: November 09, 2011, 04:15:04 PM »

Flash the bootloader with winpic800, it lets you change the settings for the speed.
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.
NiceShot1985
Member
**
Posts: 29


View Profile
« Reply #1070 on: November 10, 2011, 04:37:25 AM »

Flash the bootloader with winpic800, it lets you change the settings for the speed.

Ok thanks for the reply.

So u mean that bootloader is for any crystal. I need to set it when flashing, right?

Thanks
Logged
cory1492
Xbox Hacker
*****
Posts: 616


View Profile
« Reply #1071 on: November 10, 2011, 05:05:40 AM »

Ok thanks for the reply.

So u mean that bootloader is for any crystal. I need to set it when flashing, right?

Thanks
Pretty much yeah, you just need to set the fuse for the right divider depending on the crystal speed you used, and that is only programmed when you program the bootloader. Basically, whatever crystal you use, the PIC needs 48MHz to work... so if you used a 12MHz xtal the fuse is set to divide the clk by 4 to get 48MHz.
Logged
esoon
Member
**
Posts: 17


View Profile
« Reply #1072 on: November 10, 2011, 02:08:17 PM »

posted this some weeks ago at X-S:

Xbox360_USB_SPI_4-20MHz_incl.BootLoader_PicXFlash_V3b_plus2.zip

PICFLASH.hex and PicXBoot.hex bootloader are both integrated in one .hex
ready to burn (with PIC Programmer) for osc. 4 to 20 MHz

jumper always opened, for direct use afterwards, without the need of PDFSUSB.exe,
(bootloader may be used later as usual, if needed)

at this point I wanna say a BIG THX to DarkStarTM & cory1492, who made this possible
Logged
Andryu
Newbie
*
Posts: 5


View Profile
« Reply #1073 on: November 14, 2011, 02:40:48 PM »

posted this some weeks ago at X-S:

Xbox360_USB_SPI_4-20MHz_incl.BootLoader_PicXFlash_V3b_plus2.zip

PICFLASH.hex and PicXBoot.hex bootloader are both integrated in one .hex
ready to burn (with PIC Programmer) for osc. 4 to 20 MHz

jumper always opened, for direct use afterwards, without the need of PDFSUSB.exe,
(bootloader may be used later as usual, if needed)

at this point I wanna say a BIG THX to DarkStarTM & cory1492, who made this possible

It might be a little dumb question but im not exactly into pics...
Will the hex work for pic18f4550?
« Last Edit: November 14, 2011, 03:03:52 PM by Andryu » Logged
esoon
Member
**
Posts: 17


View Profile
« Reply #1074 on: November 14, 2011, 03:18:15 PM »

posted this some weeks ago at X-S:

Xbox360_USB_SPI_4-20MHz_incl.BootLoader_PicXFlash_V3b_plus2.zip

PICFLASH.hex and PicXBoot.hex bootloader are both integrated in one .hex
ready to burn (with PIC Programmer) for osc. 4 to 20 MHz

jumper always opened, for direct use afterwards, without the need of PDFSUSB.exe,
(bootloader may be used later as usual, if needed)

at this point I wanna say a BIG THX to DarkStarTM & cory1492, who made this possible

It might be a little dumb question but im not exactly into pics...
Will the hex work for pic18f4550


yes, the .hex also work for PIC18F4550 (and 18F4455, 18F2550, 18F2553...)

pins:

Code:
Signal       Mainboard     PIC 18F2455                 PIC 18F4550
------------------------------------------------------------------
MOSI         J1D2.1        RB6 Pin 27 (resistor)       RB6 Pin 39
SS           J1D2.2        RB4 Pin 25 (resistor)       RB4 Pin 37
SCK          J1D2.3        RB3 Pin 24 (resistor)       RB3 Pin 36
MISO         J1D2.4        RB2 Pin 23 (NO resistor)    RB2 Pin 35
EJ           J2B1.5        RB1 Pin 22 (resistor)       RB1 Pin 34
XX           J2B1.6        RB0 Pin 21 (resistor)       RB0 Pin 33


Logged
duggyuk
Master Hacker
****
Posts: 271


View Profile
« Reply #1075 on: November 17, 2011, 06:20:19 PM »

posted this some weeks ago at X-S:

Xbox360_USB_SPI_4-20MHz_incl.BootLoader_PicXFlash_V3b_plus2.zip

PICFLASH.hex and PicXBoot.hex bootloader are both integrated in one .hex
ready to burn (with PIC Programmer) for osc. 4 to 20 MHz

jumper always opened, for direct use afterwards, without the need of PDFSUSB.exe,
(bootloader may be used later as usual, if needed)

at this point I wanna say a BIG THX to DarkStarTM & cory1492, who made this possible

thanks worked great for me, flashing bootloader nevr seemed to work (for this hex, other hexes were fine . including hex for nandpro 2.0a), this worked much better for me.
Logged
Farid*
Member
**
Posts: 25



View Profile WWW
« Reply #1076 on: November 20, 2011, 09:07:14 AM »

I want to make an archive of useful links for future references :

A. PIC Programmers
 1. ART 2003
 2. JDM

B. Programming Software
 1. WinPic800
 2. PICPgm

C. Hex Files
 1. PicXFlash_V3 by DarkstarTM
 2. PICFLASH_v3b_plus2 by Cory1492

D. Diagram by Sandungas
 1. Version 1
 2. Version 2
 3. Version 3

E. PCB and Overlay by Farid
 1. Version 1
 2. Version 2

F. Libusb Win32 Driver
 1. Version 0.1.12.2
 2. Version 1.2.5.0

G. NandPro by Tiros
 1. NandPro2.0a
 2. NandPro2.0b
 3. NandPro2.0c
 4. NandPro2.0d
 5. NandPro2.0e

H. NAND Flasher 360 for Windows by Trancy
 1. Version 1.2.0

I. Nand compare & reconstruction tool by Rab
 1. Version 1.0
 2. Version 1.1
 3. Version 1.2
 4. Version 1.3
 5. Version 1.4

J. Tutorial
 1. USB Nand SPI Flasher by Dakaku
 2. How to prepare Nand SPI Flasher by Farid
« Last Edit: December 30, 2011, 09:12:38 AM by Farid* » Logged
madhartigan
Member
**
Posts: 12


View Profile
« Reply #1077 on: November 20, 2011, 11:46:46 PM »

I want to make a archive of useful links for future references :

A. PIC Programmers :
 1. ART 2003
 2. JDM

B. Programming Software
 1. WinPic800

C. Hex Files
 1. PicXFlash_V3 by DarkstarTM
 2. PICFLASH_v3b_plus2 by Cory1492

D. Diagram by Sandungas
 1. Version 1
 2. Version 2
 3. Version 3

E. NandPro by Tiros
 1. NandPro2.0a
 2. NandPro2.0b
 3. NandPro2.0c
 4. NandPro2.0d
 5. NandPro2.0e

F. Libusb Win32 Driver
 1. Version 0.1.12.2
 2. Version 1.2.5.0

G. Nand compare & reconstruction tool by Rab
 1. Version 1.0
 2. Version 1.1
 3. Version 1.2
 4. Version 1.3
 5. Version 1.4

Great collection and very helpful.  Thank you!!


You don't know whether there are any Gerber file uploads for making PCBs do you?


Thanks again for that great list of links.  Huge time saver.


EDIT: Even better, if someone could simply confirm that the design below would work, I'd really appreciate it.

Schematic = http://www.ladyada.net/images/usbtinyisp/usbtinyisp2sch.png
« Last Edit: November 20, 2011, 11:55:01 PM by madhartigan » Logged
vidy
Newbie
*
Posts: 7


View Profile
« Reply #1078 on: November 21, 2011, 01:14:00 PM »

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)
Logged
esoon
Member
**
Posts: 17


View Profile
« Reply #1079 on: November 21, 2011, 02:47:43 PM »

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
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