Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

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

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

They 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

Posted

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

Posted

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

Posted

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.

Posted

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??! :o

If so, is it really possible because I live in Singapore. :-\

Thanks alot for the replys.

Posted

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 socket

Anyway, I could ask the forum here to burn my PIC FOR FREE??! Shocked

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

Best Regards, Thorsten.

Posted

Thanks alot TK. I'm going to give the JDM another go. Btw, breadboard as in this on here.

breadboard.jpg

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...