Jump to content

how can I build MIOS SourceCode together with my own Application ???


olgimat
 Share

Recommended Posts

Hi there,

does anybody know how to assemble the MIOS Source Code together with my own Application Code???

I want to do this because I want to debug my application with the MPLAB SIM Debugger Tool

- what changes do I have to do to the Main.asm Files?

- which main.asm file is the one I should use?

- are there any links to Memory allocation tables of MIOS and Application Code?

thanks for every litle hint ! ::)

O

Link to comment
Share on other sites

Hi Thorsten thanks for your post!

I undertstand that!

But there seems to be a problem with the current src code V1.8. I get lots of Errors if I try to assemble the src.

The first problem seems to come from a different file format of the main.asm file. This disapears if I convert the file via word pad into windows text format.

But there´s still a problem with the mios.inc and the p18f452.inc files. I´ve excanged them with the ones from V1.7 then I only get several Erros with "Symbol not previously defined (PIC_DERIVATIVE_TYPE)"

Maybe these problems only appear with the windows version of MPLAB IDE v7.30 ???

Stay tuned

Olgimat

Link to comment
Share on other sites

Hi Olgimat,

problem is, that some assembler source files have UNIX style linefeeds. I haven't found the time to upload an update yet (after more than one year you are the second one who asks for this, therefore the low priority ;-)), but there is an easy solution: under Linux type "unix2dos *.inc", or under Windows open the affected .inc files with the wordpad and save them again

Best Regards, Thorsten.

Link to comment
Share on other sites

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...
 Share

×
×
  • Create New...