XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2013, 06:15:14 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 308319 times)
dak
Hacker
***
Posts: 81


View Profile
« Reply #780 on: February 10, 2010, 02:19:44 PM »

I have tried to look through the thread for the answer but it's a big thread with a lot of information, so sorry if this has all ready been answered.

Maybe add this little wiki article i made to the first post ?
http://dev360.wikia.com/wiki/USB_Nand_SPI_Flasher
Logged
xbox360sexual
Member
**
Posts: 29


View Profile
« Reply #781 on: February 11, 2010, 08:28:06 AM »

@ Straßenkampf

How did you program the PIC 2550 with your Willem? I have the ICSP pin headers, but what pins do I solder to what on the PIC chip? Also is it possible to manage a fully working PIC with just the willem, rather than programming with Willem, then plugging in via USB and doing the other two programs?

Thanks Smiley
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #782 on: February 11, 2010, 08:31:46 AM »

Look at the datasheet of the PIC. the same pin names that are labeled on the ICSP header are also on the PIC.
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.
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #783 on: February 11, 2010, 08:35:38 AM »

Look at the datasheet of the PIC. the same pin names that are labeled on the ICSP header are also on the PIC.

yep and you can also use winpic800 to set the crystal too.......then willem to flash it  over...
Logged

sick like a mofo..not reballing for a while...
xbox360sexual
Member
**
Posts: 29


View Profile
« Reply #784 on: February 11, 2010, 08:41:38 AM »

I'm going by this datasheet:

http://ww1.microchip.com/downloads/en/devicedoc/39632c.pdf

The pins on my Willem are: VPP, VCC, GND, RB7, RB6

I understand that VPP goes to pin1, VCC I've no idea, GND is presumably VSS @ pin8, RB7 and RB6 are self explanatory, so where does VCC go?

@ ReverseAffect, sorry I've no idea what you just said Smiley Can I flash the PICFLASH.hex directly to the pic via Willem?
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6925


View Profile
« Reply #785 on: February 11, 2010, 09:01:29 AM »

VCC goes to 20.
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.
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #786 on: February 11, 2010, 09:05:38 AM »

WILLEM 50E


Can't get any easier then this...lol
« Last Edit: February 11, 2010, 09:09:14 AM by ReverseAffect » Logged

sick like a mofo..not reballing for a while...
xbox360sexual
Member
**
Posts: 29


View Profile
« Reply #787 on: February 11, 2010, 03:26:24 PM »

Brilliant stuff, all programmed, cheers guys Smiley

Just another quick one while I have your attention, any idea how I'd read / write to this chip with my Willem? I'm confused with the connections, my Willem is telling me to use the ISCP port but I dunno what I'm connecting up!

http://pdf1.alldatasheet.com/datasheet-pdf/view/99722/STMICROELECTRONICS/M25P64-VME6P.html

In Willem it's SPI Flash 25xxx -> Numonyx (ST) -> - M25P64

Thanks in advance Smiley
Logged
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #788 on: February 11, 2010, 03:30:27 PM »

ISCP port but I dunno what I'm connecting up
see where the white lines in my pic are that's the ISCP hookup
what Willem are you running(this is important-for the program that runs with Willem) ...
that pic is my Willem 50E....with PCB50_98D10 software...
and in the device list it should be shown as ,
PIC18F2455/2550/4455/4550 ...which ever PIC chip your going to be running....
« Last Edit: February 11, 2010, 03:34:14 PM by ReverseAffect » Logged

sick like a mofo..not reballing for a while...
xbox360sexual
Member
**
Posts: 29


View Profile
« Reply #789 on: February 11, 2010, 03:38:16 PM »

Yeah, that's what I was going by, but the spec sheet for the M25P64 doesn't seem to have RB6 or RB7 pins :/ ?

Oh it's a Willem 5 btw
Logged
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #790 on: February 11, 2010, 03:40:45 PM »

what are you trying to do Huh I thought you said you programed the PIC chip already....
you lost me now...lol
Logged

sick like a mofo..not reballing for a while...
xbox360sexual
Member
**
Posts: 29


View Profile
« Reply #791 on: February 11, 2010, 03:59:11 PM »

Yeah, I've programmed the chip for the USB SPI, now I'm just trying to program a different chip using the willem and just thought I'd ask for help on that, lol Smiley
Logged
maximilian0017
Xbox Hacker
*****
Posts: 684


View Profile
« Reply #792 on: February 12, 2010, 06:10:15 AM »

I'm just trying to program a different chip using the willem and just thought I'd ask for help on that, lol Smiley

Xbox = www.xboxhacker.com
SomeOtherChip = www.someotherchip.com
LOL
Logged
xbox360sexual
Member
**
Posts: 29


View Profile
« Reply #793 on: February 12, 2010, 08:24:43 AM »

Fair enough, just thought I'd ask, no need to be rude Smiley
Logged
sandungas
Master Hacker
****
Posts: 212



View Profile
« Reply #794 on: February 12, 2010, 09:45:45 AM »

A bit offtopic but...
Here is one "easy to build" ICSP programmer that is able to program several PIC models
http://www.instructables.com/id/Business-Card-PIC-Programmer/
*winpic800 has a "profile" for this programmer

Info about ICSP
http://www.instructables.com/id/Understanding-ICSP-for-PIC-Microcontrollers/

Another interesting project related with PIC18F2455
http://hackaday.com/2008/10/30/how-to-usb-remote-control-receiver/
Dont use this thread to discuss this project, im posting this just for people that requested his PIC samples from microchip and dont know what to do with them Roll Eyes
« Last Edit: February 12, 2010, 09:56:23 AM by sandungas » Logged
simon66
Member
**
Posts: 16


View Profile
« Reply #795 on: February 12, 2010, 02:45:30 PM »

A bit offtopic but...
Here is one "easy to build" ICSP programmer that is able to program several PIC models
http://www.instructables.com/id/Business-Card-PIC-Programmer/
*winpic800 has a "profile" for this programmer

Info about ICSP
http://www.instructables.com/id/Understanding-ICSP-for-PIC-Microcontrollers/

Another interesting project related with PIC18F2455
http://hackaday.com/2008/10/30/how-to-usb-remote-control-receiver/
Dont use this thread to discuss this project, im posting this just for people that requested his PIC samples from microchip and dont know what to do with them Roll Eyes
It would be nice if the USB SPI had a LED when its Flashing or Dumping. Like Yellow its Flashing and Red is Dumping and Green is when its on normal state.
Logged
phiquach
Newbie
*
Posts: 4


View Profile
« Reply #796 on: February 12, 2010, 05:22:08 PM »

can anyone help me out getting the part #'s on mouser.com?

when i used it to search for a part number, there are multiple parts and i don't know what the differences are between the same part numbers.
Logged
hynix
Member
**
Posts: 12


View Profile
« Reply #797 on: February 14, 2010, 12:48:30 PM »

I ordered this 4-leg crystal, but what leg goes to what pin at the PIC?

http://www.reichelt.de/?;ACTION=3;LA=444;GROUP=B42;GROUPID=3174;ARTICLE=13680;START=0;SORT=preis;OFFSET=100;SID=26TpLR-6wQARoAACqS0CU8ddd20b14ed5bf80cc6c5725ff884347

Or was that the wrong one and do I have to use this one:?
http://www.reichelt.de/?;ACTION=3;LA=444;GROUP=B41;GROUPID=3173;ARTICLE=1585;START=0;SORT=preis;OFFSET=100;SID=26TpLR-6wQARoAACqS0CU8ddd20b14ed5bf80cc6c5725ff884347
Logged
ReverseAffect
Xbox Hacker
*****
Posts: 1345

360Reball


View Profile WWW
« Reply #798 on: February 14, 2010, 01:50:03 PM »


second link is what you need
First link,
that kind of stuff is for you to experiment with after you have a workable device
where do you see in any post that is suggested.....keep your random out-of-the-box stuff for after you see what it's all about..
« Last Edit: February 14, 2010, 01:53:28 PM by ReverseAffect » Logged

sick like a mofo..not reballing for a while...
hynix
Member
**
Posts: 12


View Profile
« Reply #799 on: February 14, 2010, 02:27:43 PM »

Ok thx, someone said in another board, that the first one is also ok, but I think i'll buy the other one tomorrow.
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