Hi,
De bootloader (HEX file) moet je met die programmer op elke PIC zetten.
Dan moet je MIOS (SYX) op elke PIC zetten, binnen de 2 seconden na het opstarten van de PIC. Dit doe je het beste met MIDIOX.
Nu heb ik ondertussen wel ontdekt (in tegenspraak met mijn vorige post hierover  :o ) Dat je in deze ook ID’s moet?/kunt veranderen. In de README.TXT van MIOS staat:
o hex/*
  contains the same MIOS release in .hex format — don’t burn this file
  directly into the PIC! The purpose of this binary is to convert the OS
  into .syx format with different device IDs for the use with the MIOS
  bootstrap loader:
  EXAMPLE:
    perl tools/hex2syx.pl hex/mios_v1_4.hex -os_upload -device_id 0x42
    -> generates a mios_v1_4.syx file in the hex directory which contains
    code blocks for device ID 0x42
Of die ID’s moeten overeenstemmen met die van de SID’s… ik weet het niet, ik zou haast vermoeden van wel maar… misschien ook niet, moeten we toch eerst even uitzoeken.
Als je maar 1 SID gebruikt, dan kan je die (SYX) wel meteen gewoon uploaden met MIDIOX.
Als je meerdere SIDs aan elkaar wil linken, dan moet je de ID’s voor de SLAVES veranderen in de SID toepassing. Daarvoor moet je de asm file aanpassen, en hercompileren (MPLAB), dan omzetten naar SYX (met perl) Zoals beschreven in de SID main.asm file:
;; ==========================================================================
;; General Settings
;; ==========================================================================
;; here you can change the default device ID - if you are using
;; some cores as slave, set:
;; o DEFAULT_DEVICE_ID 0x01 ; for the first slave
;; o DEFAULT_DEVICE_ID 0x02 ; for the second slave
;; o DEFAULT_DEVICE_ID 0x03 ; for the third slave
#define DEFAULT_DEVICE_ID 0x00
Of kan je het ook later wijzigen ? In SID step B www.ucapps.de staat het volgende:
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.
Misschien dat het elders op het forum al eens uitgelegd is…
vr gr