arumblack Posted December 19, 2003 Report Share Posted December 19, 2003 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. Quote Link to comment Share on other sites More sharing options...
TK. Posted December 20, 2003 Report Share Posted December 20, 2003 In theory you could patch this in the .hex file, but it's more safety when you just follow the instructions given here http://www.ucapps.de/midibox_sid_csB.htmlMeans: just change the IDs via MIDIBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
arumblack Posted December 20, 2003 Author Report Share Posted December 20, 2003 is this the section you are refering to? forgive my stupidity... i can do this after the pic has been burned?thank you !PreparationAfter 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 F7Slave 2: F0 00 00 7E 46 00 0D 03 00 02 F7Slave 3: F0 00 00 7E 46 00 0D 03 00 03 F7Sometimes 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. Quote Link to comment Share on other sites More sharing options...
TK. Posted December 20, 2003 Report Share Posted December 20, 2003 yes/yesyou 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. Quote Link to comment Share on other sites More sharing options...
arumblack Posted December 21, 2003 Author Report Share Posted December 21, 2003 ok, thank you ! 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.