Compiling Renard asm file in MPLAB X

ctmal

Supporting Member
I seem to be having some issues compiling the Renard firmware in MPLAB X. I downloaded the latest version and received errors that p16f688 was not found. From what I gather, the latest versions seem to use different settings.

I'm assuming I'm missing something, do I have to download a different compiler than the one that comes with XC8? I can get the exact errors if needed but I uninstalled it to try and older version.


When I tried MPLAB 8.92 I get the following errors.

Debug build of project `C:\temp\renbuild\renbuild.mcp' started.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Preprocessor symbol `__DEBUG' is defined.
Mon Dec 18 22:00:33 2023
----------------------------------------------------------------------
Executing: "C:\Program Files (x86)\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F688 "Renard_1825_20130626_1372291520.asm" /l"Renard_1825_20130626_1372291520.lst" /e"Renard_1825_20130626_1372291520.err" /o"Renard_1825_20130626_1372291520.o" /d__DEBUG=1
Warning[202] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 459 : Argument out of range. Least significant bits used.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 493 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 493 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 495 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 495 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 498 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 498 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 518 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 518 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 521 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 521 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 522 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 522 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 538 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 538 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 539 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 539 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 540 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 540 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 542 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 542 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 543 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 543 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[113] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 613 : Symbol not previously defined (BANK1)
Message[302] C:\TEMP\RENBUILD\RENARD_1825_20130626_1372291520.ASM 613 : Register in operand not in bank 0. Ensure that bank bits are correct.
----------------------------------------------------------------------
Debug build of project `C:\temp\renbuild\renbuild.mcp' failed.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Preprocessor symbol `__DEBUG' is defined.
Mon Dec 18 22:00:34 2023
----------------------------------------------------------------------
BUILD FAILED

I am running Windows 11. I don't think that should make a difference but its good to know.

Thanks in advance for any help.
 
Not sure what you are trying to build, but I may have the old PIC 16f688 assembly files from eons ago. It was compiled at 115,200. Let me know if you think they can help you out.
 
Not sure what you are trying to build, but I may have the old PIC 16f688 assembly files from eons ago. It was compiled at 115,200. Let me know if you think they can help you out.

Thanks, but I actually need to be able to compile multiple files. Renard, RenTester, etc.
 
Update:
So, apparently MPLAb 5.35 is the last version that uses mpasm. I'm able to compile the asm files on it.

But it does leave the question as to what needs to happen moving forward. I should have time after the holidays to look deeper into it but I'm not so sure I'm the best one for the job.
 
Update:
So, apparently MPLAb 5.35 is the last version that uses mpasm. I'm able to compile the asm files on it.

But it does leave the question as to what needs to happen moving forward. I should have time after the holidays to look deeper into it but I'm not so sure I'm the best one for the job.

Please let us know. I recently replaced computers and have reloaded MPLABs yet.
 
You can still compile assembly language files with MPLABX, although the procedure is a bit different. Also, there need to be changes made to the assembly files to work with the newer version of the assembler. I have been doing this for a few years now with projects that are mostly in c with occasionally some assembly code for time-critical functions. For many years now I've been using the IDE for assembling, compiling and programming the parts, almost exclusively on Linux, rather than using command-line versions of the tools.
 
Back
Top