dontplaymygame Posted March 17, 2008 Report Share Posted March 17, 2008 hi is it possiable to obtain the C script of the bootloader and midibox applications?10x Quote Link to comment Share on other sites More sharing options...
audiocommander Posted March 17, 2008 Report Share Posted March 17, 2008 Hi,MIOS is neither a "script" nor is it written in C (it's ASM).All there is, can be found at the download section:http://www.ucapps.de/You should really spend some minutes reading the basics ;)Regards,Michael Quote Link to comment Share on other sites More sharing options...
dontplaymygame Posted March 17, 2008 Author Report Share Posted March 17, 2008 emm my problems is im doing my midibox for my final year school project and i need to explain how the pic's program structure works..and my problem is i never programmed a pic before. so i need some sort of soft copy of the bootloader and mios so that i can learn wats happening.and which link do i need to use?10x Quote Link to comment Share on other sites More sharing options...
dontplaymygame Posted March 17, 2008 Author Report Share Posted March 17, 2008 ok i found the files..know what program do i need to use to open them so i can read them?10x Quote Link to comment Share on other sites More sharing options...
audiocommander Posted March 17, 2008 Report Share Posted March 17, 2008 i need to explain how the pic's program structure worksTo be honest: Unless you aren't a ASM-Pro (which I don't think you are when you're asking how to open the files), I do not think it'll really help you to read thousands of code lines with MOVLW, TBLRD and MULP instructions ;Dmaybe the pic's datasheet'll be a little bit more helpful:http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=en010296and which link do i need to use?ehhrmm... how about "download"? :-X Quote Link to comment Share on other sites More sharing options...
dontplaymygame Posted March 17, 2008 Author Report Share Posted March 17, 2008 ok maybe im not a pro :-X but its important to me to know whats going on in the program (at least some basic knowledge) if someone can help me out ill appreciate it alot ;) Quote Link to comment Share on other sites More sharing options...
audiocommander Posted March 17, 2008 Report Share Posted March 17, 2008 hmm... you seem to have read the PIC's datasheet very fast... :Pyou can open the sourcefiles (*.h / *.asm) in any text-editor....although I do not understand, why you're trying to decypher asm code while the technical documentation of the chip itself is presented on a silver plate - in plain english text with a shimmering sexy blue link to click on -good luck with this,regards,Michaelps / Edit: have you seen this page?http://www.midibox.org/dokuwiki/mios Quote Link to comment Share on other sites More sharing options...
dontplaymygame Posted March 17, 2008 Author Report Share Posted March 17, 2008 yeah i have already read the datasheet before but thats just the technical specifications of the PIC. i need more info about the sofware of the PIC which in this case is the mios and bootloader, thats my main problem10x alot for your help i hope i get good marks for this project ??? Quote Link to comment Share on other sites More sharing options...
audiocommander Posted March 17, 2008 Report Share Posted March 17, 2008 hmm, I really don't know what you're after -The Pic is a microcontroller and consists of memory and a processing unit that together perform basic mathmatical operations by moving around values in registers with the aim to set some logical values on some hardware-pins (high or low). That's it. It's pretty abstract, so that's what I meant with MOVLW and MULP instructions in the ASM code.The bootloader is just a simple program to set the PIC in a state where it can receive and store another program in its memory. So, either you want it technically, then you have to look at the datasheet (which contains far more than just a technical spec, it has 5.8 MB and contains everything you need to know about registers, memory, instructions - everything!) or you want a theoretical overview (which is contained in the wiki and on ucapps.de).But noone can save you from the hassle of reading it ;)Regards,Michael Quote Link to comment Share on other sites More sharing options...
stryd_one Posted March 20, 2008 Report Share Posted March 20, 2008 Observe: Exploring MIOS [18F452, WREG (W), FILE REGISTER (F), DESTINATION (d)] (V0.2b) 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.