Jump to content

Recommended Posts

Posted

Sorry for bothering you with a newbie question...

I have just finished the core module and the sid module, and it's time for programming the PIC so I can continue with the testing of it all. I have never programmed a pic before, but I have a USB pic programmer from kitsrus, using the program MicroPro.

I downloaded the MIOS, midibox_sid_v1_7a.zip, and unpacked it. I found, as you all know, five hex-files. One is called main.hex, and I assume that this file is necessary, and there are two files each for the two SID-versions. I will make a small control surface, so I guess I should use the setup_8580.HEX (since I got a 8580). Am I correct?

Is it possible to use two hex-files to programm a PIC? Could anyone help me out , give me some advise or guide me to the right  place?

Best regards

/Niklas ???

Posted

Ok. Correct me if I'm wrong. I should burn the mios_bootstrap_loader_v1_1b.hex to the PIC. Then I can use the bootstraper to program the PIC for the SID(?) via midi.

But still, could someone please explain the different hex-files, actually the main.hex and the different setup...hex files please.

Thanks for your help!

Best regards

/Niklas

Posted

Yepp, that´s right.

For the uploading via MIDI (first MIOS then the app): You´re not uploading the .hex files, but the .syx files. It´s all described on the page (you can also look at the wiki for that). For the app itself: Open main.asm in your editor. There´s a lot of stuff stated there and you will understand a lot more. So I do think that you can use either setup_8580_without_cs.syx or setup_8580_with_cs.syx just try out. Or you adapt the main.asm to your needs and convert it into a .syx file (How this is done is also stated in every detail on ucapps.de).

Greets.

  • 3 weeks later...
Posted

Still confused...

Could someone please explain how to program the PIC?

I have only one SID, a 8580. I has a 2x40 LCD, and 10 buttons + 1 "menu-button" + rotary encoder.

First  I have to burn the bootstrap loader. I don't need to do anything special to the mios_bootstrap_loader_v1_1b.hex, right?

Secondly I have to install mios_v1_7.hex (or greater?). I can do this by using MOISStudio, marking Wait for upload request..., reading the mios-file and turning on the MBSid. Do I have to do anything with the mios-hexfile?

I have done these two steps, and I think that everything is working ok.

But what to do now? Should I install main.hex or setup_8580.HEX or both?

Do I need to reboot the MBSid between the installations?

When these installations are done, is that it? Will it work then (well, at least if I haven't done anything else wrong...)?

Please, please, please help me! :'(

Best regards

Niklas

Posted
First  I have to burn the bootstrap loader. I don't need to do anything special to the mios_bootstrap_loader_v1_1b.hex, right?

Right.

Secondly I have to install mios_v1_7.hex (or greater?). I can do this by using MOISStudio, marking Wait for upload request..., reading the mios-file and turning on the MBSid. Do I have to do anything with the mios-hexfile?

Please use always the latest version which is V1.8. Just upload the HEX-File via MIDI. Your core should reboot automatically after upload and the LCD will show "READY".

But what to do now? Should I install main.hex or setup_8580.HEX or both?

Take the 8580 file or just recompile the hole stuff with your desired settings and thake the main.asm file.

Do I need to reboot the MBSid between the installations?

Yes, but this should happen automatically after a successful upload.

When these installations are done, is that it? Will it work then (well, at least if I haven't done anything else wrong...)?

Yes, should work after MIOS and app installation.

Raphael

Posted

if you want your sid to work with 10 buttons instead of default 5 you'll have to change cs_menu_io_tables.inc a bit (really easy) and also main.asm for 10 items to be shown instead of 5. after that you'll have to recompile the project. but it's all really easy.

but if you just want to see if your stuff works (without the 5 extra buttons and the right half of the display) just upload setup_8580_with_cs.syx

and you can modify the app later.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...