Stigmata Posted January 27, 2004 Report Share Posted January 27, 2004 Hi there.Just starting to build the step C SID´sA question about the sid´s device id´s:Ok...I burn the bootstrap on all the 4 18f452... that´s clear..... ;)The device id isn´t in the bootstrap?So The sid´s cannot be linked together when i dowload the mios and the sid firware or?? ???When the Mios and the sid´s device and firmware is there, must I disconnect all the slaves everytime when a new firmware is realesed or?Must ask before the soldering is finished......Hope anyone understand this question... ;)CheersChristoffer Quote Link to comment Share on other sites More sharing options...
TK. Posted January 27, 2004 Report Share Posted January 27, 2004 Hi,so long as the MIOS ID of the slaves is different from the MIOS ID of the master core, you can program the chips through the master (MB Link has to be enabled). Note that this requires also a different "-device_id" when using the hex2syx.pl script.The SID slave IDs have to be different anyhow.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
doc Posted January 27, 2004 Report Share Posted January 27, 2004 Hi,the device ID is on the primary bootstrap ! You have to burn it on the PIC first. Master = id0slave1 = id1slave2 = id2slave3 = id3The further options depend on your hardware. Take a look at ucapps Mios Bootstrap loader.After the pics are burned you have to 'pearl' the MIOS four times with a different device id (don't forget the -os_upload switch - it's explained in the readme)The sids can be linked together except in one step: When you 'sysEx' the different id's after the mios is loaded.You also have to 'pearl' the SID Application four times with different id's. So there is no problem when you upload a new firmware.Hope I got everthing right.Doc Quote Link to comment Share on other sites More sharing options...
doc Posted January 27, 2004 Report Share Posted January 27, 2004 Oh, TK wrote at the same time.Take his advice, cause he's always right.doc 8) ;D Quote Link to comment Share on other sites More sharing options...
Stigmata Posted January 28, 2004 Author Report Share Posted January 28, 2004 Hi there!Don´t understand this.... :-[In the main.asm for the sid I can change the device id: ;; 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 0x00But how do I change the device in the MIOS 1.5b..Read the topics about this but I must be stupid. ;)Christoffer Quote Link to comment Share on other sites More sharing options...
TK. Posted January 29, 2004 Report Share Posted January 29, 2004 The easiest way to change the MIOS device id is the use of "change_id_v1_4" - it can be found in the MIOS download section.Best Regards, Thorsten. 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.