v4 with mplab

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

v4 with mplab

Post by saschech@gmx.de »

Hallo Benj

With the v4 i cant work with the MPLAB.I build a short v4_to_mplab.fcf for test.

I receive the error:

----------------------------------------------------------------------
Debug build of project `D:\sachs_work\ECIO\v4 to mplab\v4_to_mplab.mcp' started.
Language tool versions: MPASMWIN.exe v5.34, mplink.exe v4.34
Preprocessor symbol `__DEBUG' is defined.
Sun Nov 15 12:45:08 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p18F4620 "v4_to_mplab.asm" /l"v4_to_mplab.lst" /e"v4_to_mplab.err" /d__DEBUG=1
Error[118] D:\SACHS_WORK\ECIO\V4 TO MPLAB\V4_TO_MPLAB.ASM 476 : Overwriting previous address contents (0000)
Error[118] D:\SACHS_WORK\ECIO\V4 TO MPLAB\V4_TO_MPLAB.ASM 476 : Overwriting previous address contents (0001)
Message[303] D:\SACHS_WORK\ECIO\V4 TO MPLAB\V4_TO_MPLAB.ASM 476 : Program word too large. Truncated to core size. (01BC1834)
Error[154] D:\SACHS_WORK\ECIO\V4 TO MPLAB\V4_TO_MPLAB.ASM 476 : Each object file section must be contiguous (section .config_000000_V4_TO_MPLAB.O)
Error[118] D:\SACHS_WORK\ECIO\V4 TO MPLAB\V4_TO_MPLAB.ASM 476 : Overwriting previous address contents (0000)
Error[118] D:\SACHS_WORK\ECIO\V4 TO MPLAB\V4_TO_MPLAB.ASM 476 : Overwriting previous address contents (0001)
Message[303] D:\SACHS_WORK\ECIO\V4 TO MPLAB\V4_TO_MPLAB.ASM 476 : Program word too large. Truncated to core size. (01BC184C)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `D:\sachs_work\ECIO\v4 to mplab\v4_to_mplab.mcp' failed.
Language tool versions: MPASMWIN.exe v5.34, mplink.exe v4.34
BUILD FAILED


Sun Nov 15 12:34:53 2009
----------------------------------------------------------------------
BUILD FAILED

Regards Wolfgang

User avatar
Steve
Matrix Staff
Posts: 3434
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: v4 with mplab

Post by Steve »

Hi Wolfgang,

Please post all the files for this project and we'll have a look at where the problem is.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: v4 with mplab

Post by saschech@gmx.de »

Hello Steve

Here are the files

Regards Wolfgang
Attachments
v4 to mplab.rar
(93.07 KiB) Downloaded 251 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: v4 with mplab

Post by Benj »

Hello Wolfgang

I am using MPLAB version 8.36.

I loaded your mcp MPLAB project file and hit the build button and this is the output I received.

Release build of project `C:\Documents and Settings\Administrator\Desktop\New Folder\v4_to_mplab.mcp' started.
Language tool versions: MPASMWIN.exe v5.33, mplink.exe v4.33
Wed Nov 18 14:01:17 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Documents and Settings\Administrator\Desktop\New Folder\v4_to_mplab.mcs".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p18F4620 "v4_to_mplab.asm" /l"v4_to_mplab.lst" /e"v4_to_mplab.err"
Message[301] C:\PROGRAM FILES\MICROCHIP\MPASM SUITE\P18F8722.INC 33 : MESSAGE: (Processor-header file mismatch. Verify selected processor.)
Warning[220] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\NEW FOLDER\V4_TO_MPLAB.ASM 542 : Address exceeds maximum range for this processor.
Warning[220] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\NEW FOLDER\V4_TO_MPLAB.ASM 543 : Address exceeds maximum range for this processor.
Warning[220] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\NEW FOLDER\V4_TO_MPLAB.ASM 544 : Address exceeds maximum range for this processor.
Warning[220] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\NEW FOLDER\V4_TO_MPLAB.ASM 545 : Address exceeds maximum range for this processor.
Warning[220] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\NEW FOLDER\V4_TO_MPLAB.ASM 546 : Address exceeds maximum range for this processor.
Warning[220] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\NEW FOLDER\V4_TO_MPLAB.ASM 547 : Address exceeds maximum range for this processor.
Warning[220] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\NEW FOLDER\V4_TO_MPLAB.ASM 548 : Address exceeds maximum range for this processor.
Executing: "C:\Program Files\Microchip\MPASM Suite\mplink.exe" /p18F4620 "v4_to_mplab.o" /z__MPLAB_BUILD=1 /o"v4_to_mplab.cof" /M"v4_to_mplab.map" /W /x
MPLINK 4.33, Linker
Copyright (c) 2009 Microchip Technology Inc.
Errors : 0

Loaded C:\Documents and Settings\Administrator\Desktop\New Folder\v4_to_mplab.cof.
----------------------------------------------------------------------
Release build of project `C:\Documents and Settings\Administrator\Desktop\New Folder\v4_to_mplab.mcp' succeeded.
Language tool versions: MPASMWIN.exe v5.33, mplink.exe v4.33
Wed Nov 18 14:01:29 2009
----------------------------------------------------------------------
BUILD SUCCEEDED


The problem looks like there is not enough room in the device. I noticed the Flowcode program was designed for a 18F8722 where as the MPLAB project is set to use a 18F4620 which has significantly less memory.

Post Reply