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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...