Jump to content

Assembler Projects No Longer Work In V7.05 (Worked Fine In V7.04)


Recommended Posts

I upgraded to version 7.05 and my assembler project no longer assembles because I get a series of error messages from MPASM:

 

Error in parameter "18F4620_g.lkr".

Illegal source file name "Release\B7_1802_18F.O".

Unrecognized error: 32.

 

I compared and contrasted V7.04 and V7.05 commands sent to MPASM and MPLINK and saw that in V7.05 an extra /p18F4620 is given which was not in V7.04.

 

I attached the project below.

 

I tried the two versionsof commands in a DOS window and they both seem to work fine so maybe there is something else going on here. I did a fresh install on both and did not change from the default Assembler Options.

 

Thanks.

 

P.S The project is for an 1970's vintage microprocessor emulator of the RCA1802. I used assembler to control the tight timing requirements in order to make it bus/clock cycle accurate.

 

 

V7.04 Works:

Assembling...

C:\PROGRA~1\MICROC~1\MPASMS~1\MPASMWIN.exe /pPIC18F4620 /q /eRelease\B7_1802_18F.err /lRelease\B7_1802_18F.lst /oRelease\B7_1802_18F.O /xRelease\B7_1802_18F.ref B1802_18F.asm && C:\PROGRA~1\MICROC~1\MPASMS~1\MPLINK.EXE /oRelease\B7_1802_18F.cof Release\B7_1802_18F.O 18F4620_g.lkr && C:\PROGRA~1\MICROC~1\MPASMS~1\MP2HEX.EXE Release\B7_1802_18F.cof

MPLINK 4.37, Linker

Copyright © 1998-2010 Microchip Technology Inc.

Errors : 0

MP2HEX 4.37, COFF to HEX File Converter

Copyright © 1998-2010 Microchip Technology Inc.

Errors : 0

MP2HEX 4.37, COFF to HEX File Converter

Copyright © 1998-2010 Microchip Technology Inc.

Errors : 0

Done

 

V7.05 Fails:

Assembling...

C:\PROGRA~1\MICROC~1\MPASMS~1\MPASMWIN.exe /pPIC18F4620 /q /eRelease\B7_1802_18F.err /lRelease\B7_1802_18F.lst /oRelease\B7_1802_18F.O /xRelease\B7_1802_18F.ref B1802_18F.asm && C:\PROGRA~1\MICROC~1\MPASMS~1\MPLINK.EXE /oRelease\B7_1802_18F.cof Release\B7_1802_18F.O /p18F4620 18F4620_g.lkr && C:\PROGRA~1\MICROC~1\MPASMS~1\MP2HEX.EXE Release\B7_1802_18F.cof

Error[108] RELEASE\B7_1802_18F.COF 1 : Illegal character ()

Error[129] RELEASE\B7_1802_18F.COF 2 : Expected (END)

Error[131] RELEASE\B7_1802_18F.COF 2 : Processor type is undefined

Done

Failed

B7_1802_18F.zip

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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