aviansun Posted January 1, 2009 Report Share Posted January 1, 2009 Hi Everybody,I made this burner and it is passing all the tests i.e. Vpp,Vdd,CLOCK,DATA,DATAin,.....but the Software P18 is not recognizing the PIC(but it shows that the programmer is detected at LPT1) ???!the PIC no. is PIC18F4550....can anyone Please Help me!Thanx in AdvanceSandy :) Quote Link to comment Share on other sites More sharing options...
philetaylor Posted January 1, 2009 Report Share Posted January 1, 2009 Hi.If this is an MBHP_BURNER, Have you set the programming voltage as per http://www.ucapps.de/mbhp_burner.html ?Also (as I am nosy) I wondered what you are using the PIC18F4550 for as this isn't an officially supported PIC for midibox (it has no IIC) but I do notice that it has USB.... :)EDIT: Just checked the datasheet and sorry it does have IIC......CheersPhil Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 1, 2009 Report Share Posted January 1, 2009 Also (as I am nosy) I wondered what you are using the PIC18F4550 for as this isn't an officially supported PIC for midibox (it has no IIC) but I do notice that it has USB.... :)EDIT: Just checked the datasheet and sorry it does have IIC......IIC's not a prerequisite for MIOS really, I guess the thing is that it needs '452 compatible instruction set/memory use/etc.4550 is used in the USB PIC Module ;) Quote Link to comment Share on other sites More sharing options...
aviansun Posted January 1, 2009 Author Report Share Posted January 1, 2009 1)Yes, it is MBHP_Burner frm this link:http://www.ucapps.de/mbhp_burner.htmlI am trying to burn the USB bootloader in the PIC through this burner2) Yes, without the 2 ICs (74HC14) the programming voltage is 12.46V (through LM317) and 5.1V (through LM7805) ??? Quote Link to comment Share on other sites More sharing options...
aviansun Posted January 1, 2009 Author Report Share Posted January 1, 2009 By the way it does recognize a PIC but the ID is not correct (I changed the Timing )----------------------------------------------------------------------------------Timing: Interface x16 / PIC x3## this PIC-ID 0x0000 is not in databaseCP-Blocksize : 4000Panelgröße : 0000----------------------------------------------------------------------------------- I think 0x0000 means Nothing ??? :-[ Quote Link to comment Share on other sites More sharing options...
philetaylor Posted January 1, 2009 Report Share Posted January 1, 2009 I have never 'played' with the USB PIC module but I have just checked my P18, it is version 1.5 and the PIC 18F4550 is listed under supported PIC's so I would imagine that it 'should' work, hopefully somebody more knowledgable will be able to help, I don't have one of these PIC's to try....Have you got any other PIC's to try in case you have a 'dud' ? It could also be a parallel port issue, is yours ECP/EPP, mine is a 'proper' port (not a USB dongle) and is ECP and works great !Phil Quote Link to comment Share on other sites More sharing options...
aviansun Posted January 2, 2009 Author Report Share Posted January 2, 2009 Have you got any other PIC's to try in case you have a 'dud' ? PhilYa...This 'could' be the case....I only bought one of these PIC ( very costly!! comparatively )....I'll try my friend's 18F PIC or buy a 16F series PIC.....Any more Ideas are more than welcomed Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 2, 2009 Report Share Posted January 2, 2009 Remember it's festive season, so it might take a while before anyone reads your post and answers, and there are lots of people with burner modules. That said, not many people have used this chip.... Maybe you'll have to solve it yourself...I haven't got a burner or used this pic, but I'll give you what I do have:Tried another PC? Some parallel ports just don't like to work. What about, as phil said, trying different parallel port modes? Were the results the same in all of them?You mentioned you'd done the voltage testing, without the HC11s loaded. I paused on that last time, but it seemed you'd been doing your reading so I didn't need to double check... I thought after it was still not working, I'd better, so I checked the ucapps.de page, and I didn't see anything about testing with them removed. If you concur, maybe try testing the voltagesTiming: Interface x16 / PIC x3 is that the verry lowest setting for both of those two timings?Did you try that testing procedure on the page you linked? The one with the hardware adapter? What were the results?Got a new cable?It's interesting that it is able to detect that it's a PIC chip in there, but it looks like it goes all 0's when it tries to talk to it. I'd be doing some research into the detection method used, and also how the ID is sent. Err, I dunno.... Quote Link to comment Share on other sites More sharing options...
aviansun Posted January 2, 2009 Author Report Share Posted January 2, 2009 Tried another PC? Some parallel ports just don't like to work. I tried the burner on my laptop but the P18 refused to detect a programmerWhat about, as phil said, trying different parallel port modes? Were the results the same in all of them?I dont know how to change modes.You mentioned you'd done the voltage testing, without the HC11s loaded. I paused on that last time, but it seemed you'd been doing your reading so I didn't need to double check... I thought after it was still not working, I'd better, so I checked the ucapps.de page, and I didn't see anything about testing with them removed. If you concur, maybe try testing the voltagesIts not mentioned in the "testing" section but in the photograph you can clearly see that the multimeter reading without the HC11s.Did you try that testing procedure on the page you linked? Yes, Its working the way it should.Timing: Interface x16 / PIC x3 is that the verry lowest setting for both of those two timings?I tried at the slowest setting but It shows an output at this setting only ???Got a new cable?I didnt try that....but i think that cable is not a problem Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 2, 2009 Report Share Posted January 2, 2009 I tried the burner on my laptop but the P18 refused to detect a programmerHeheh no surprise there... Got an older *desktop* PC? That's your best bet...I dont know how to change modes.In the BIOS config for your motherboard. Its not mentioned in the "testing" section but in the photograph you can clearly see that the multimeter reading without the HC11s.See, I *knew* you'd already read this thoroughly :) Very observant...I tried at the slowest setting but It shows an output at this setting only ???...i think that cable is not a problemWeird!Why do you think the cable is OK? The strange timing behaviour might be a noise thing... Which could likely be your cable...Burner gurus where are you? :D Quote Link to comment Share on other sites More sharing options...
aviansun Posted January 2, 2009 Author Report Share Posted January 2, 2009 Heheh no surprise there... Got an older *desktop* PC? That's your best bet...I guess having an older Desktop gives a upper hand in burning PICs ;) 8)OK I'll try a new cable thenBy the way Im using a DC adapter 15V,500mA.....could this be a problem? ???Sandy Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 2, 2009 Report Share Posted January 2, 2009 Heheh, yeh there are good reasons to hold onto your old machines. Especialy now that real serial and parallel ports are being phased out, but still widely used :(What adapter does it say to use? If your programming voltage is correct, and the LM317 doesn't get too hot, you should be OK. Quote Link to comment Share on other sites More sharing options...
aviansun Posted January 15, 2009 Author Report Share Posted January 15, 2009 Well, I managed to get my PIC burner to work........but now it gives too many program ERRORS..--------------------------------------------------------------------------------------------------PIC-Typ PIC18F4550 Rev. 5 detectedCP-Blocksize : 2000Panelgröße : 0000-- HEX-file re-loaded-- HEX-file contains Config-dataChip erased1 Panel(e)Start write to PROGRAM-Memory--finishedStart write ID--finishedcompare PROGRAM, ID and EEPROM :-->6325 errors in PROGRAM-->0 errors in ID-->0 errors in EEPROMStart write Configuration--finishedcompare CONFIG :-->6 errors in CONFIG-----------------------------------------------------------------------------------------------------------Wat to do now gurus?? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 17, 2009 Report Share Posted January 17, 2009 Can't help there, I'm a jdm guy....Anyone else?compare PROGRAM, ID and EEPROM :-->6325 errors in PROGRAMSounds like all of them..... What'd you do to get it to behave in the end anyway? Maybe it's kinda borderline... working enough to detect the PIc, but not enough to burn it... Is it an MBHP-Burner? Are the voltages all cool, especially MCLR?I dunno, I'm taking shots in the dark here... Quote Link to comment Share on other sites More sharing options...
aviansun Posted January 29, 2009 Author Report Share Posted January 29, 2009 I changed the timings and it was working........yup its a borderline case.....almost complete......my printer cable is old and a little too long....could this b a problem?...but it is recognizing the PIC type....ne help wud b greatly appreciated! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 29, 2009 Report Share Posted January 29, 2009 I changed the timings and it was working........yup its a borderline case.....almost complete......my printer cable is old and a little too long....could this b a problem?I didnt try that....but i think that cable is not a problemIf it's old and long, it is quite likely the problem. I had to try 5 old serial cables until I found one that worked (which is now screwed into the JDM permanently hehe) Quote Link to comment Share on other sites More sharing options...
aviansun Posted February 7, 2009 Author Report Share Posted February 7, 2009 ThanX A LOT stryd_one and piletaylor......Problem is finally resolved............d Cable was too long.... I cut it short ....about one third d original length and voila it was working!!!....thanx a lot again....cheersSandy Quote Link to comment Share on other sites More sharing options...
stryd_one Posted February 7, 2009 Report Share Posted February 7, 2009 Woop woop.You can probably put those timings back to normal now... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.