mios_reset.inc

Hi,

Just out of curiosity…

     org      0x0000

     goto      MIOS_STARTUP

     goto      MIOS_STARTUP

Why the double goto instructions?

Thanks

nW

Hi,

the first “goto” will be overwritten by the first-level bootstrap loader, so that the PIC branches to 0x7c00 after reset. If this bootstrap loader doesn’t get a SysEx command within 2 seconds, it will branch to 0x0004 (the second goto)

Best Regards, Thorsten.