olgimat Posted February 6, 2006 Report Share Posted February 6, 2006 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 Quote Link to comment Share on other sites More sharing options...
TK. Posted February 6, 2006 Report Share Posted February 6, 2006 Hi,I can only say, that merging the two projects isn't so easy, since there are name conflicts. A proper solution would be a MIOS replacement just for simulation, but nobody created this yetBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
olgimat Posted February 7, 2006 Author Report Share Posted February 7, 2006 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 tunedOlgimat Quote Link to comment Share on other sites More sharing options...
TK. Posted February 7, 2006 Report Share Posted February 7, 2006 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 againBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
olgimat Posted February 9, 2006 Author Report Share Posted February 9, 2006 Thanks Thorsten,got it ! ;)O 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.