Jump to content

PIC ID Value Programming


Recommended Posts

Guest Thomas_Holley
Posted

I set up my JDM PIC programmer, followed the steps outlined in the tutorial and programmed all four of my PICs without a hitch. It was pretty easy but I think all PICs are now identical.

Can I place the propper ID into the chip at the initial programming so that I have a master and slaves designated? This would be so much easier than connecting and disconnecting things after the fact and less of an opportunity for me to make an error. If this is possible can you give me detailed instructions on how it's done?

Thanks,

Thomas

Guest Thomas_Holley
Posted

I think I may have found the answer to my own question but since I am not experienced I would like some advice. In the IC-Prog 1.05C programmer options tab there is a tab for PIC that has a box ladeled "Hardware Address". I believe I can program the propper device ID, i.e.; 0 for master, 1, 2, 3 for slaves using this function. Is this correct?

Thanks,

Thomas

Posted

Hi Thomas,

I hope that this picture shows exactly, where the MIOS ID has to be specified:

bootstrap_id_header.gif

"142" is just an example!!

Your IDs:

00

01

02

03

Best Regards, Thorsten.

Guest Thomas_Holley
Posted

Perfect. I programmed in the ID along with all the data and it worked great. Thanks so much for all your work.

Thomas

  • 3 weeks later...
Posted

Just checking is this the process of burning the bootstrap loader?

Also if i want to use the LTC module it should be  0000000000000142 ? If there is a second core module, what should it be?

Cheers

Posted

Yes I've read the page but i don't quite understand.

I don't get what am i suppose to replace and replace with what and where do i do it.

Pardon my ignorance, as i am a design student and know nuts about programming and electronics.

Cheers

Posted

Normaly the whole ID field should be zero.

If you are using more than one core module in a chain, it makes sense to set the IDs of the other cores to 0x01, 0x02, 0x03, etc

If you are using a to-COM interface, add 0x100

If you not using a standard character display, add 0xX000 (x = GLCD type)

So, in most cases you are fine with 0x0000000000000000

Best Regards, Thorsten.

Posted

So can I say if i want to use the to-com interface the third last digit from the right will have to be 1? The last digit is for IDing the Core?

So if my second core module is using the to-com it should be like this?

0000000000000102 ?

Cheers

Posted
So if my second core module is using the to-com it should be like this?

0000000000000102 ?

The master and all slaves must share the same baud rate, so the "to-COM" interface bit must be the same for the master and all the slaves, or the slaves won't receive the MIDI from the master.

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