Jump to content

device id's for slave sid using pic16f877


Recommended Posts

Posted

how do you work this? every slave needs and id 1 2 0r 3? how do you set this on the pic16f877?I am having Smash TV burn my pics and we need to dtermine this. I will be using 1 18f452 master,device id 0, and 3 16f877 slaves.

thanks in advance.

Posted

is this the section you are refering to? forgive my stupidity... i can do this after the pic has been burned?

thank you !

Preparation

After the firmware has been programmed into the PICs you have to change the default device ID (0) to the correct device IDs for the slaves. The first slave requires ID 1, the second slave ID 2, the third slave ID 3. This step can be done with MIDI-Ox, just connect only one core with your PC and send following SysEx string: F0 00 00 7E 46 [old device-number] 0D 03 00 [new device-number] F7.

Slave 1: F0 00 00 7E 46 00 0D 03 00 01 F7

Slave 2: F0 00 00 7E 46 00 0D 03 00 02 F7

Slave 3: F0 00 00 7E 46 00 0D 03 00 03 F7

Sometimes also the firmware of the master has to be configured, don't forget to take a look to the main.asm file header if there are relevant options for your needs.

Posted

yes/yes

you can change the SID device ID via MIDI as much times as you want. It will be saved in EEPROM and therefore won't be deleted after power-off.

Best Regards, Thorsten.

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