fanir Posted October 12, 2005 Report Share Posted October 12, 2005 Hello all, I'm having a problem that is stalling my project's progress.I'm trying to program my PIC using JDM's schematics [designed it with prototype board] with ICPROG software but when I try to program, it says "error 0001h".Any ideas?Here's what I thought might be the problem.1. I'm using a serial port to my PC and a Yamaha CBX driver, I've installed it but how do I check that my PC is already connected to JDM's programmer?2. Maybe my connections are wrong on the prototype board but I've done it twice and this time as slow as it goes to ensure everything goes the way it is done.3. PIC wacked? For me, it's highly unlikely as it's still 2 days old.Help. Also, even when my JDM circuit is not connected to my PC, it still gives the same error.I think now I'm convinced that my computer is not receiving any output. How do I check if my circuit is correct? Anyone used/installed Yamaha CBX driver? Quote Link to comment Share on other sites More sharing options...
fanir Posted October 12, 2005 Author Report Share Posted October 12, 2005 Help.. :-[ Quote Link to comment Share on other sites More sharing options...
fanir Posted October 12, 2005 Author Report Share Posted October 12, 2005 I think the problem is that my PC is not receiving any inputs from my board. Any ideas? :-\ Quote Link to comment Share on other sites More sharing options...
raphael Posted October 12, 2005 Report Share Posted October 12, 2005 1. I'm using a serial port to my PC and a Yamaha CBX driver,Why are you using the CBX serial driver ???Done all tests? http://www.ucapps.de/mbhp_jdm.html Quote Link to comment Share on other sites More sharing options...
TK. Posted October 12, 2005 Report Share Posted October 12, 2005 It definitely makes sense to deactivate all drivers which are using the COM port.And as Raphael mentioned, it makes sense to follow the tips of the JDM page - what are the results of the voltage checks?Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
SounDuke Posted October 12, 2005 Report Share Posted October 12, 2005 I have the same problem with a pic18f452, All tests are ok, but the problem occurred only with that pic. I succesfully burned that pic 6 or 7 times, now I can't erase with IC prog the content (icprog says address 000H, the first, is not blank even after erasing the device and when I read the content there is a mass of random data in the eeprom too). Thorsten, is it possible that I damaged the pic by copying applications via Sysex after having uploaded other apps (for example, I burn the bootstrap, I send via sysex mios v1.8 and then mb64 app, then I upload mb64E app without erasing the device from the previous application)? Quote Link to comment Share on other sites More sharing options...
TK. Posted October 12, 2005 Report Share Posted October 12, 2005 Thorsten, is it possible that I damaged the pic by copying applications via Sysex after having uploaded other apps (for example, I burn the bootstrap, I send via sysex mios v1.8 and then mb64 app, then I upload mb64E app without erasing the device from the previous application)? Thats very unlikely - 1) because the flash programming mode is an independent mode which works regardless of the flash content (only exception: if the programming protection has been activated - but it will be deactivated when you erase the whole flash via IC-Prog) (*), and 2) because MIOS and the BSL erases automatically each 64byte sector before it should be programmed. If it wouldn't do this, it wouldn't cause any damage. The effect would be, that old 0s cannot be turned into 1s, MIOS would report an verify errorThey only reason I know, why a particular PIC cannot be burned is, that the 10k pull-down at RB5 is missing, because this is a random effect (sometimes it works without this resistor, sometimes not...)Best Regards, Thorsten.(*) Sidenote to avoid wrong assumptions: MIOS doesn't modify the protection, and it's very unlikely that this is done by a programming error due to a specia unlock sequence which is required to access the configuration sector Quote Link to comment Share on other sites More sharing options...
fanir Posted October 13, 2005 Author Report Share Posted October 13, 2005 I've rechecked my circuit and fix a couple of short circuits and plug it in, most of the tests are fine except the MCLR test where I get 8v? Anyway, I don't get data in signal from ICPROG. Should I try on another PC? ??? Quote Link to comment Share on other sites More sharing options...
fanir Posted October 13, 2005 Author Report Share Posted October 13, 2005 Funnily, I've checked the voltages again but this time, the reading is all over the place. Inconsistent, circuit malfunction? Quote Link to comment Share on other sites More sharing options...
fanir Posted October 13, 2005 Author Report Share Posted October 13, 2005 Help.. :(Btw, is it better to build JDM on a PCB/Stripboard or an Breadboard? Quote Link to comment Share on other sites More sharing options...
SounDuke Posted October 13, 2005 Report Share Posted October 13, 2005 sorry fanir I've no clues, I built a JDM photoetching a presensibilized pcb using the eagle layout in ucapps.de and it worked immediately, if you're not skilled in soldering I do not recommend building it on a breadboard; in case order a etched pcb from someone who does this service Quote Link to comment Share on other sites More sharing options...
TK. Posted October 13, 2005 Report Share Posted October 13, 2005 I agree with SounDuke. The shorts you noticed could be the reason why the whole circuit is not working anymore, because they could have damaged the transistors (or not...) - it's hard to find this out, especially when you don't know that the module plays together with your PC and windows installation.You could either build a less error-prone programmer like MBHP_BURNER (btw.: I will hide the JDM page as soon as the PCB is ready, because people still ignore the warnings) --- or you could ask somebody from the forum to burn your PICs (for free!)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
fanir Posted October 14, 2005 Author Report Share Posted October 14, 2005 Well, isn't your another module in beta mode? You think I should give it a go? I think I'll try the JDM one more time before reverting to other options. Btw, from the looks of things, the MBHP module looks a little harder than the JDM. Also, is the 40 PIC holder really necessary? I forgot to purchase it whilst at the store.Anyway, I could ask the forum here to burn my PIC FOR FREE??! :oIf so, is it really possible because I live in Singapore. :-\Thanks alot for the replys. Quote Link to comment Share on other sites More sharing options...
TK. Posted October 14, 2005 Report Share Posted October 14, 2005 MBHP_BURNER is not beta anymore, as I mentioned: the PCB will be released soon. It might look harder, but it works more reliable due to the external voltage source. I wouldn't recomment to build a burner/programmer without a PIC socketAnyway, I could ask the forum here to burn my PIC FOR FREE??! ShockedIf so, is it really possible because I live in Singapore.One month earlier, and I would have been able to help you directly in Singapore (theoretically, because I was very busy there ;-))However, you could ask Frank, he lives in SingaporeBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
fanir Posted October 14, 2005 Author Report Share Posted October 14, 2005 Thanks alot TK. I'm going to give the JDM another go. Btw, breadboard as in this on here.where its solderless. Got it from my teacher but I think its connections are not right so I'm trying it with stripboard. I know a thing or two about soldering as I'm an electronics student. ITE. ::)Anyway, much love to you guys here. 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.