How to use MPLAB-X with AVR-Assembler Files?

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello.

 

Using MPLAB-X (5.45) I'm not able to build/to debug a normal assembly language project.

 

I have a project.asm file (hcs.asm, entry file in Atmel-Studio), this imports several other files.

Using Studio there is no problem to build and debug this project.

 

In MPLAB-X I create a avr-asm project and add my files to source files.

Now I can assemble project.asm (hcs.asm) file without problem and I get my hexfile-

but the attempt to build or debug the project produces error messages only.

Obviously the project is not set up correctly...

 

I don't know what have to do here- maybe someone can help.

 

 

This topic has a solution.
Last Edited: Mon. Nov 9, 2020 - 11:11 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A few screen shots of these errors would be a great help as no one can see your screen telepathically. 

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

jgmdesign wrote:
no one can see your screen telepathically

 

Well, I would have really only been interested in how to add handful of Asm-files

to a MPLAB-created Asm Project in such a way that building and debug is possible.

In same simple Atmel-Studio manner it doesn't seem to work...

 

Adding all files to "source files" and assemble known entry project-file there is no problem:

 

 

 

But if I try to build I only get a long error list whose creation is unclear to me.

In Atmel studio you simple add your files and determine the entry file.

 

CLEAN SUCCESSFUL (total time: 6ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Jan/MPLABXProjects/hcs1.X'
make  -f nbproject/Makefile-default.mk dist/default/production/hcs1.X.production.obj
make[2]: Entering directory 'C:/Users/Jan/MPLABXProjects/hcs1.X'
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/hcs.asm
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/hcsdata.asm
AVRASM: AVR macro assembler 2.2.7 (build 69 Jul 26 2017 16:25:06)
Copyright (C) 1995-2017 ATMEL Corporation

"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/keyf.asm
[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
../HCS.X/hcs.asm(64): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/mainprg.asm
../HCS.X/hcs.asm(65): Including file '../HCS.X/sysdef.asm'
../HCS.X/hcs.asm(205): Including file '../HCS.X/sysint.asm'
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/sysdef.asm
../HCS.X/hcs.asm(206): Including file '../HCS.X/mainprg.asm'
AVRASM: AVR macro assembler 2.2.7 (build 69 Jul 26 201../HCS.X/hcs.asm(207): Including file '../HCS.X/mainup.asm'
7 16:25:06)
Copyright (C) 1995-2017 ATMEL Corporation

../HCS.X/hcs.asm(208): Including file '../HCS.X/keyf.asm'
[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
AVRASM: A../HCS.X/hcs.asm(209): Including file '../HCS.X/rci.asm'
AVRASM: AVR macro assembler 2.2.7 (build 69 Jul 26 2017 16:25:06)
Copyright (C) 1995-2017 ATMEL Corporation

VR macro assembler 2.2.7 (build 69 Jul 26 2017 16:25:06)
Copyright (C) 1995-2017 ATMEL Corporation

"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/rci.asm
[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
128def.inc'
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/sysram.asm
.A./H[[bbuuiClitiSlntV](R2AS.Mi:X )/:A VhnIRcncsl ].(u2adm)s:i angm cIfn(i2c1lrel0 u'C)doi n:ag: s/seP mIbnrcfloelgudirlria 2nme. 2g .F '7Cf :i/(Pbuild 69 Jlrogram Files/Micurileo c'h.ies/.pl/ M/PLHA2BCX/6M 2iS0vc51r7. 4.5o/1pa6cks/Microch:iXp2/5c/h:s0yAA6Tm)eisp/li
b.CgMaPVoas_LmR'A
BpyDAFXP/rSi2g.M/h:v AVt5 R2. (4m5Cac/pa.r1co0k)s  /8Mica/sraov1r995assem-bmc/2l01eri 7hn2c\mi p1/A2TMEA.8TL2.m egCoard_epDfF.P/72io .nrcat('biuion
2.1l0d8 /
6
a9 vrJaul 26 s2m01/7inc \16:25:06)
Copyright (C) 1995-2017 ATMEL Corporation

../HCS.X/hcsdata.asm(5): error: Undefined symbol: DBUFFERLEN
../HCS.X/hcsdata.asm(5): error: Undefined symbol: DTIMEOUT
../HCS.X/hcsdata.asm(6): error: Undefined symbol: LCDB1
../HCS.X/hcsdata.asm(41): error: Undefined symbol: vertag
../HCS.X/hcsdata.asm(41): error: Undefined symbol: vermon
../HCS.X/hcsdata.asm(41): error: Undefined symbol: verjhr
m128def.inc'
../HCS.X/hcs.asm(211): Including file '../HCS.X/hcsdata.asm'
[builtin](2): Including file[bu i'C:/Program Files/Microchlip/MPLABXt/inv]5.45/packs/Microchip/ATmeg(a2_DFP)/:2 .2.108/avrasm/inc\m128def.inc'
../HCS.X/hcs.asm(212): Including file '../HCS.X/sysram.asm'
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/mainup.asm
[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/i../HCS.X/hcs.asm(64): Including file 'C:/Program Files/Microchip/MPLABX"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/syslib.asm
/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
../HCS.X/hcs.asm(65): Including file '../HCS.X/sysdef.asm'
../HCS.X/hcs.asm(205): Including file '../HCS.X/sysint.asm'
AVRASM: AVR macro assembler 2.2.7 (build 69 Jul 26 2017 16:25:06)
Copyright (C) 1995-2017 ATMEL Corporationn

c\m128def.inc'
../HCS.X/hcs.asm(206): Including file '../HCS.X/mainprg.asm'
../HCS.X/hcs.asm(207): Including file '../HCS.X/mainup.asm'
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe"  -fI -W+ie -I "C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc"  -i m128def.inc -d dist/default/production/hcs1.X.production.obj  -S dist/default/production/hcs1.X.production.tmp  -o dist/default/production/hcs1.X.production.hex  -m dist/default/production/hcs1.X.production.map  -l dist/default/production/hcs1.X.production.lss ../HCS.X/sysint.asm
[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/p
"ATmega128" memory use summary [bytes]:
Segment   Begin    End      Code   Data   Used    Size   Use%
---------------------------------------------------------------
[.cseg] 0x000000 0x000000      0      0      0  131072   0.0%
[.dseg] 0x000100 0x000100      0      0      0    4096   0.0%
[.eseg] 0x000000 0x000000      0      0      0    4096   0.0%
../HCS.X/hcs.asm(208): Including file '../HCS.X/keyf.asm'
[builtin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
../HCS.X/hcs.asm(209): Including file '../HCS.X/arcci.asmk'
s/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
../HCS.X/hcs.asm(210): Including file '../HCS.X/syslib.asm'
../HCS.X/hcs.asm(211): Including file '../HCS.X/hcsdata.asm'
../HCS.X/hcs.asm(212): Including file '../HCS.X/sysram.asm'
AVRAAVRASM: AVR ASMmV: AVR macro assembler 2.2.7 (build 69 Jul 26 2017 16:25:06)
Copyright acro asseRm(blAeSC)rM 2 :1. A92.V7 R9( bumialc5rod a- 20s17s eAmbTM6ElerL9   C2Jo.ulr2po r.a72 6t 2(io0nb

uil1d7  6196 J:u25l 26 2017 16::2506:)06
)C
oCpoypyrrighigth (t C()C) 1 9199955--20201177  ATMELA TCorMpEoratLi on
C
orporation

[bui[bl[buutilitiltnii]n(2):n] (2])I: n(Icn2lucdinlu)dgi :f Iilnengc l'uC :/filePdr o'Cgrian:m/g Fi Pfile r'Cl:e/Porogsgrraamm F/iMl Fiilecrsoe/scMhic/rMoicchirp/MoiPcphip/MLP/LMPALBABXX/vA5B/.v545./4Xp5//vapc5k.4s5a//Miccrkposc/hMiacicksr/po/AMTcicrmoehciphigp//aAA_TDFPTmm/e2.gae_ga2DFP.1/028./_2aD.F10vPra8//2a.2vr.a10s8m/as/vimn/rcianc\\m12s8m/demf1i.in2c8'denf
c\.imn1c2'8
def.inc'
[builtin](2): Including file 'C:/Program Fi[[buibules/Miiclrotcihnip/MPLA]BX/(v5.24)5:/p aIcks/nMicrocclhiupd/iAng file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
../HCS.X/keyf.asm(5): error: Undefined symbol: TBUF
../HCS.X/keyf.asm(72): error: Undefined symbol: TBUF
../HCS.X/keyf.asm(73): error: Undefined symbol: TS
../HCS.X/keyf.asm(75): error: Undefined symbol: TS
../HCS.X/keyf.asm(84): error: Undefined symbol: TBUF
../HCS.X/keyf.asm(85): error: Undefined symbol: EVMSG4
../HCS.X/keyf.asm(86): error: Undefined symbol: EVMSG4
../HCS.X/keyf.asm(87): error: Undefined symbol: TS
../HCS.X/keyf.asm(89): error: Undefined symbol: TS
../HCS.X/keyf.asm(92): error: Undefined symbol: UTAG
../HCS.X/keyf.asm(93): error: Undefined symbol: utagatime
../HCS.X/keyf.asm(95): error: Undefined symbol: STU
../HCS.X/keyf.asm(99): error: Undefined symbol: MIN
../HCS.X/keyf.asm(103): error: Undefined symbol: UTAGMAX
../HCS.X/keyf.asm(107): error: Undefined symbol: utagatime
../HCS.X/keyf.asm(110): error: Undefined symbol: ALARMSTR1
../HCS.X/keyf.asm(111): error: Undefined symbol: ALARMSTR1
../HCS.X/keyf.asm(118): error: Undefined symbol: AT5MIN
../HCS.X/keyf.asm(119): error: Undefined symbol: AT5STU
../HCS.X/keyf.asm(120): error: Undefined symbol: ALARMSTR4
../HCS.X/keyf.asm(121): error: Undefined symbol: ALARMSTR4
../HCS.X/keyf.asm(125): error: Undefined symbol: ALARMSTR2
../HCS.X/keyf.asm(126): error: Undefined symbol: ALARMSTR2
../HCS.X/keyf.asm(128): error: Undefined symbol: ALARMSTR3
../HCS.X/keyf.asm(129): error: Undefined symbol: ALARMSTR3
../HCS.X/keyf.asm(133): error: Undefined symbol: bin2asc99
../HCS.X/keyf.asm(139): error: Undefined symbol: bin2asc99
../HCS.X/keyf.asm(150): error: Undefined symbol: EVMSG4
../HCS.X/keyf.asm(174): error: Undefined symbol: TBUF
../HCS.X/keyf.asm(175): error: Undefined symbol: SEKTF16
../HCS.X/keyf.asm(186): error: Undefined symbol: SEKTF16
../HCS.X/keyf.asm(192): error: Undefined symbol: SPS
../HCS.X/keyf.asm(194): error: Undefined symbol: SPS
../HCS.X/keyf.asm(200): error: Undefined symbol: LCDB1
../HCS.X/keyf.asm(201): error: Undefined symbol: DBR
../HCS.X/key../HCS.X/mainprg.asm(4): error: Undefined symbol: dmscreen
../HCS.X/mainprg.asm(10): error: Undefined symbol: dtline
../HCS.X/mainprg.asm(11): error: Undefined symbol: dtlcmd
../HCS.X/mainprg.asm(12): error: Undefined symbol: ditemp
../HCS.X/mainprg.asm(13): error: Undefined symbol: datemp
../HCS.X/mainprg.asm(14): error: Undefined symbol: devent
../HCS.X/mainprg.asm(15): error: Undefined symbol: cevent
../HCS.X/mainprg.asm(16): error: Undefined symbol: sswitch
../HCS.X/mainprg.asm(17): error: Undefined symbol: sinfo
../HCS.X/mainprg.asm(18): error: Undefined symbol: rc
../HCS.X/mainprg.asm(19): error: Undefined symbol: rci
../HCS.X/mainprg.asm(20): error: Undefined symbol: hdmsg
../HCS.X/mainprg.asm(21): error: Undefined symbol: tkeyinput
../HCS.X/mainprg.asm(22): error: Undefined symbol: pscontrol
../HCS.X/mainprg.asm(23): error: Undefined symbol: bccontrol
../HCS.X/mainprg.asm(24): error: Undefined symbol: hzcontrol
../HCS.X/mainprg.asm(25): error: Undefined symbol: jalcontrol
../HCS.X/mainprg.asm(26): error: Undefined symbol: swindowc
../HCS.X/mainprg.asm(27): error: Undefined symbol: dataproc
../HCS.X/mainprg.asm(28): error: Undefined symbol: recorder
../HCS.X/mainprg.asm(29): error: Undefined symbol: lcdreset
../HCS.X/mainprg.asm(30): error: Undefined symbol: dcrdycmd
../HCS.X/mainprg.asm(32): error: Undefined symbol: CPUPCL
../HCS.X/mainprg.asm(33): error: Undefined symbol: CPUPCH
../HCS.X/mainprg.asm(35): error: Undefined symbol: CPUPCL
../HCS.X/mainprg.asm(36): error: Undefined symbol: CPUPCH
f.asm(208): error: Undefined symbol: lcdcmd
../HCS.X/keyf.asm(214): error: Undefined symbol: SPS
../HCS.X/keyf.asm(216): error: Undefined symbol: SPS
../HCS.X/keyf.asm(222): error: Undefined symbol: LCDB2
../HCS.X/keyf.asm(223): error: Undefined symbol: DBR
../HCS.X/keyf.asm(230): error: Undefined symbol: lcdcmd
../HCS.X/keyf.asm(232): error: Undefined symbol: AHELLH
../HCS.X/sysdef.asm(161): warning: Empty source file
../HCS.X/keyf.asm(235): error: Undefined symbol: JALC
../HCS.X/keyf.asm(240): error: Undefined symbol: JALTHT
../HCS.X/keyf.asm(241): error: UndeTmega_DFP/2.2.108/avrasm/inc\m128def.inc'
ltin](2): Including file 'C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/ATmega_DFP/2.2.108/avrasm/inc\m128def.inc'
nbproject/Makefile-default.mk:166: recipe for target 'build/default/production/_ext/2145465965/mainprg.obj' failed
nbproject/Makefile-default.mk:156: recipe for target 'build/default/production/_ext/2145465965/hcsdata.obj' failed

Assembly complete, 0 errors. 1 warnings

Assembly failed, 26 errors, 0 warnings
.../HCS.X/syslib.asm(16): error: Undefined symbol: SSCODE
../HCS.X/syslib.asm(17): error: Undefined symbol: EE_SSCODE
../HCS.X/syslib.asm(18): error: Undefined symbol: EE_SSCODE
../HCS.X/syslib.asm(65): error: Undefined symbol: CPU2TBUF
../HCS.X/syslib.asm(81): error: Undefined symbol: RAM2
../HCS.X/syslib.asm(83): error: Undefined symbol: SITC
../HCS.X/syslib.asm(90): error: Undefined symbol: SIC1
../HCS.X/syslib.asm(93): error: Undefined symbol: SIC1
../HCS.X/syslib.asm(96): error: Undefined symbol: LCDINITC
../HCS.X/syslib.asm(98): error: Undefined symbol: LCDINITC
../HCS.X/syslib.asm(99): error: Undefined symbol: STU
../HCS.X/syslib.asm(100): error: Undefined symbol: LCDINITSTU
../HCS.X/syslib.asm(101): error: Undefined symbol: MIN
../HCS.X/syslib.asm(102): error: Undefined symbol: LCDINITMIN
../HCS.X/syslib.asm(103): error: Undefined symbol: TAG
../HCS.X/syslib.asm(105): error: Undefined symbol: LCDINITTAG
../HCS.X/syslib.asm(106): error: Undefined symbol: MON
../HCS.X/syslib.asm(108): error: Undefined symbol: LCDINITMON
../HCS.X/syslib.asm(111): error: Undefined symbol: DC_INI0
../HCS.X/syslib.asm(112): error: Undefined symbol: DC_INI0
../HCS.X/syslib.asm(116): error: Undefined symbol: DC_INI1
../HCS.X/syslib.asm(117): error: Undefined symbol: DC_INI1
fined ../HCS.X/syslib.asm(121): error: Undefined symbol: DC_INI2
../HCS.X/smake[2]: *** [build/default/production/_ext/2145465965/mainprg.obj] Error 1
yslib.asmake[2]: *** Waiting for unfinished jobs....
./HCS.X/sysram.asm(1208): error: Use of undefined or forward referenced symbol 'EE_EVDATA' in .org
symbol: HSEKTF5L
../HCS.X/keyf.asm(243): err.o.r/:H CUSn.dXe/fsiynserda ms.yamsbmo(l1:2 7O6O)S:EQLEN
../HCS.X/keyf.asm(244): error: Undefined symbol: SEKTF7

Assembly faile../HCS de.m.(.,Xr/rHoCrS:. XU/srec io.fa sumn(d5e)f:i neerdr oorr:  fUonrdweafridn erde 1 262 )e:r reorrrso,r :0  Uwnadrenfiinngesd
 symbol: DC_INI2
../HCS.X/main./fksuyp../eerymabsHeCnSc.eXd/ ssyysmlbiobl. a'sEmE(_1R2D6P)Tfo.la:s mC(I2C5O1D)E:
 error: Undefined sym.b.o/lH:C ST.BXU/Fr
ci.asm(6): error:.m:A B .U/nHdC(e'r reofri:n eUdn dseS5.)iynmfbiX:/ keeryrf onleo.r.:o da s:r gC
IDATA
../HCS.X/rci.asm(10): error: Undefined symbol: RCIC
../HCS.X/rci.asm(17): error: Undefined symbol: MINTF3
symbol: SIC1
../HCS.X/rci.asm(24): error: Undefined symbol: SINFOS3
../HCS.X/rci.asm(25): error: Undefined symbol: SINFOS3
../H../HCS.X/rciC.asS.X/syslib.asm(130): error: Undefined symbol: SIC1
../HCS.X/syslib.asm(136): error: UUndefined symbol: DC_MSCR00
m(26): error:.mndefined symbol: COM1TST
../HCS.X/syslib.asm(140): error: Undefined symbol: COM1TST
../HCS.X/ .(sys/UH2l5inbd.eafsimmake[2]: *** [build/default/production/_ext/2145465965/hcsdata.obj] Error 1
C2S).:X /en(mraer1oi5dnru4 )s::  eUrnrdopy.mebfoiln:r: Undefaeds mai nseydm bsoylm:b oWlH:S ECTO
M1TST
../HCS.X/keyf.asm(254): error: .U.n/dHCS.X/esfics9(nye6sldi bs.ya9)m:sbmibnol: SHS
 error: Undefined symbol: DC_MSC(
162.R.0/0H
CS.X/keyf.asm(265): er.).r:.o re:r.r/o /UHHrndefineCCS:S..Xd/X /m arUndesyciim.nabfsm(28): uoienper.rd sylasmo:mr( bSHol:8 :)SU :
 eCnrOrMdef1ioTnSr.:Te d 
.Usn/dHeyfmbineod l:CsS .rX/kceityymbaob
l: lcdfcmd
f.../aHCsSm.X/rc(266): er.i.ro./r:a sHUmC(2S.n9Xd/)em:af iien.u.rnped.asrm (/oHCsS1yrm1): error:.X:b oUln:d eWfHiSnEeTd
 /s Usnyysmdleibfoibl.:a scmm(d1t9..s/H1nCe)tdS:.
 Xe/rkreoyrf:. aUsn md(e2f7i3n)e:d  esryrmobro:l :U nTdXe1fBi.neUs.yF/mdb1oH
C Ssl.:Xy mr/bmocai..itlnaubp/
:. aHSCPsSm(S1
.X/syslib.asm(195.).:/ H2e)r:r oerr:r oUr.Cn:dS ..e/XHfC/irnceid. SUan.dXes/mfskyimnbeyed symo(l3:3 )DC_MSCR01
: error: U../HCS.Xbnodle:f iTnXe1dB symbol/Umf:F1
 binhex2binainup.asm(16): error: Undefined sym.
asm(278): error: Undefinedb.o.. /.l/sHyCmSH:b. CoSDlCX_./:XMr /syscSiCliRb.R.aAaMs1sm
0m((32620)1
: error: U).:n.d. /eHeCfinSr.rXo/.ed symbro/:H klC:UenydSef.f iM.InNaXe/smTFma2idn (suypm
.asmb2o8l0:) :D CeDrTr(.1o.r/:HCS.X8
 /Urncdie.faisnme(d).:3 .9e/) :sHy rerorCrm:rSobr.:o lU:n X dU/nesdRfyefinedAsilnMi ebs.das msyy.2.
/(
221)H:mCAbsoslS: l ee.Xm/rsb.c.yrm/bloolHdCfsSry:. Xc/i:nt RmC .kdS
T
aUfeasniyfm.l.asm(..(/d5efHeCd, 22 82):) eS.i.X/e:r ronreroHrCrS/r:.rem aiodrUXns:,n/ r  udUndspye.0em cbaoswmfali(21i)n:refn.i :e dCanri nsymbolMgOsm:(r4DoeE d s
0
sR)r: :Ayem r../HMbUolnrd:3e fDCC
Fi7Son.eX7.CT/
r.d /sy.s.l/iHbHCsSymC.S:.X bUola.sn:/dm(Xkeefy2f.aine2/s m(d238c3s)mdy) :stssy:mbi eto 
nl:e rMINTrrtrooFr...a:sm (Undef/r6Hi3:)C:n e U
ernddSe fs.rXy/mbionre:dol mUa:  symnidnuT.C./HeMfCpSbOi.no.DlX:a eeE/des
mr rc(iesa2yd.5amysbo)tmel(s::4.t. 
/DC He5Cr)ro:F S7.Xerr/7:r.os yrC:sTU.
/lniHdbef. CUiSnnead.dsmX e(/ke2fsin2y9fe.yad).: mss. /Hmye(mbob2rlroC8:o6 lMIr):S N::D.C XU TeFrn/2
s_ydrsoeMifnriS:C tR.0Ua.s./2m
nnd(ef2iH../eH1d syCCnme)S:bdSo.l:  X /.DeXr/smCymbrrcioSaloC:
i.rasmn(u:p . EVa5U0InsNdm)ef(F.:2 iO.n/eHe6
rro)Cd:S.r  :Xe rs/rU.onrs./yHsl:Cy S.Ximb./dUkbeolned:afsy f.emH(i2faSs3nEemiKnd3( 2sym
8e7b)od:l):  .e:C.I/ rsyHmCr CeOoDEr
Sb.rX/osy:r oUrln:ds:ein fUti .annDdeeCsdm_ .(.fs/MH2iySmbn2eCCRd)o 0:S 2ls: yEmboeV.rXr/Il
rNci.:oFrOa sm:D
 C../HUDnC(T5d
Se.X7/)ma:.f .ieirrnup.aonr/:.Hs .U/eCdn syHmSCSdme(.bXfo.2X/i/8k)ls:ys:  neeyHlriferdoSbE r.saysmKb
o:m U.n(da2l9e3s):f m.(2b3:5.i/Hi)n eCd:Sneh . rsyXee/rrrsmxyb2oolb:isnoir :rn
l:ct .ad UfUndcnsmdedmef
f(ini2e3)dned  s:ymb.o .l/H:CSs.X yf/etmmibain3rou
rlorp:: U. nDCdSaCe.
fsin.m(3e/1dH C)S.:s.. yXmb/ke/oeylrr:fHo. aCsSHm.(XS/r2: 9U5nEs)dyKs:l eiefiTbrF.0nLread
 osrsymm(:2b Uol.4.:3n /cHdC)Sm.eX:f/id sntedyse rrtss
inytm.baorosl:: mE E.._U(n/E2dHeVCSDfA4in.eT)Xd/Am
ai n:suy me.rpb.as.roorm/l(H: 3C:5S. )SX: YeU/SRnArMLkdrEeefoiryn:ef .UnNad
s dms(2y96em)b:of ineerdlr or:s.y./H Cm:bS oU.XHlS/nEd:KesT Ffy0sDLi
nelCdi _sbyM.aSmsboC.lm.(R/H032
C:4S E7E):. e.r._XrE/VsoDyATA/
srH:Ci SU.Xnn/dtma.aesifinmn(30uepd). assm:y(mb 3er6or)or:l::   UnRedA.rMS.er/oTfrHiCA:SRTn .AUneXDd/dkR s
eefiyf.ynmbed oaslymbol::s  mC(PDU3PCC_MLS1
1)C:R0 erro3r
.:./H CUSn.dXe/fs.y./siHiC..nSn./eXHdC/tma. Ssi.Xn/auysmspbymo.ls:la Esim(b.Ea3(s3m8_(13)): 0:E8 er)eVr:Do ArerrTrA:o
rr :o .r.UU/:Hn UdnenfdidnCeeefdfS isinyneme.db dXs/o kley: CymPsUEyEmWfbbo_.loC:.als T.:mC (P3Ul
c1/dHfC2Pc)SC.m:XLd 
/
rcie.rrasmo(.r5: 6U.2n):d efe/irnerHdo syCrmS: .UbnoXdl/.mea:../fHCin SE.eX.d//Ei_Hs CsSy.mnbuoXyp/sls:.EiaV nt.aDyAssMmms(l5i4b).:a e(rsrImT4A(
o3r4N10):T).F.:  :e/re2rr H
roUoCnrSr:d.ef:X /i nUk.n.dUeed esny/ydmfHieff.abColinSs:mneed(.  SdMX 3s1/sCy5rm)c:ib o
.yearmlr:boso rcm:md(l :5t stU.Cnd6
Pe.f4in/HCS).U:eEE.X.dW _/DAe/ rsrosrHCSy.DXmy/:b RmLosli:U 
nanidtn.eaeuefspmw...ai(n/esb6H2mdy C)St(e.
s4yXm:9b)/ oe:. elr:.rs/rryoH oCRSC.srlrX::/ kF UUndTn
eieby.f.fd.i.aesmfai(n3/nee4sdmdH2 ()s:C  syS3e.rXr/mor1cibyo7r)ml.::b : aToU seLlnmdrerfI:oirne(dN 5s ySmEb6:EoB5lK :) C:PUUEUnFd 
E
W_eefiDrArDorn.Re.dH 
./.s/:Hy HCmSU.Xn/.mC.bSda/ion.uHpe.CaSs.mXXfl/: /Ci(nesP5UE1ydE)Ws y:_s seriroSrsnyt:Tl iUE.bn.mdPeHaabsmf(s6im
(3oln)3::e4 d  .M3INsT.Fe2)/:
y HerCrSrrm.obol:oXrr.: :/ kUn.U/HnCdde eSe.yX/rfinefdc cfiinmsd.eaysdmtm.b osats(ym
blos5ml6(: :93 ):T1.9C P.e/)r:LUrE HIeCrS.EXrWoNr:o/rE_BU:F
 mUainupAn DU.dRnadeLfes
mfi(i56nen).: erde. r/or:dsHyC ms SbU.Xy/nodsmlyebfso:l iClbi.na:ICOsD m(EC3P
44): ernbproject/Makefile-default.mk:196: recipe for target 'build/default/production/_ext/2145465965/sysram.obj' failed

"ATmega128" memory use summary [bytes]:
Segment   Begin    End      Code   Data   Used    Size   Use%
---------------------------------------------------------------
[.cseg] 0x000000 0x004ee2  11348   8846  20194  131072  15.4%
[.dseg] 0x000100 0x0007ee      0   1774   1774    4096  43.3%
[.eseg] 0x000000 0x000f4f      0   3389   3389    4096  82.7%

Assembly complete, 0 errors. 0 warnings
rUEEe.d. /sHyCoWr_:mS .UXn/dS.T.r/EeboclPif.ia:H sTnCLm
eSd S(E5.sXy/msbyolKs.1i.n/tH.CaS.:7s Cm(71X)2:
P/0U):E E e..r/kHerrCeSyofW._aAsDr.:X /Rmr(Hm
aino320Uunrd:)p:e .U f.n.d/eHfCiasm(57): error:e UndefirriSnnnoerd:  sUndefin.X/sysleedyed  dsimby. assmsybmmbbooyoml(:3ll 46M)I:N ::  TeSvETeebonFtc7l
rKr1l1:
 CPUEEW_CT
../HCS.X/rci.a.r
or: Undefined symbol: CPUEEW_CT
../HCS.X/sysint.asm(142): error.s:m .Un.(d//eH5CfH.CSS7.9i)./.HX:/nX ee/rkdeCrSo r.yfXm:a sUndefinedy.mabsoml/ si:s(y yMmIbNol:n 3upTD2O3C)L:
 error: Undefis.l.inbaF.eas0.smm((
/HCS.X/rci.asm(580):. .d3 56e/sHy9m)0r)rCoSb:o:. eX le:r rSoMrr:r /rs:C 
Undefined symbol.o.rU:ysnidnetf.ia:/ HUCnSd.eXf/ikne nseedd  ssyymmbbooll::  DyTmL(I1N4E3B)U:F 
error: Undefined symbol: MINTF.c.hOfC.Ha
/0HaCr
sm(324): erro../HCS.X/rci.asm(582): errorSt.tXa/bm
ainup.asm(.r.::6 1U): ./ e.Unnr/rdoerf:H CHdCeSf.USn.iinnXd/esfyisniendt .saysmmXed symebdo (/1ssboly: mTbLoIlN:5y3slE:B )S:l iTbB.UUF 
aesMFC
rror: Und.e.f/iHnCeSd. Xs/ykmeb
../my(o3lHfC.:6S0.) as:./ m.(HeCXS/rm3rASFa.oXri:nu/ RUEnrdep2.5Q)
afsim:cnie.da .s (e.ys/mHm6(r5r28)6)C: Se.rXr/o:bsoly:ro: sint rer.cahsartm:(1 r t5ao4bU
r)Unn::d ed eUefrifnidrnoerd:  sUynmdbeofli:n eSdM Cs
ymbol: SOUND_FRQ
../HCS.X/rc.neefined symb.d/ HsCyio.la:s mu(t5a8g8t)a:b 
error: UndefinemSbdol :s. XEyVm/FsbyoMsLi
nt.asm(155): error.l.::/ HU CnSd.eXf/ined sy..mSbMkeo/lHy:f C.SaSsA.mX(/3m2a6i)Ln:E Nu
p.asm(63): errorC
../HCS..X.//se:r rUonrd:e HfCUysnidnefitSin.n.eaesXd/dmr( csiy1m. bs5ayols:6m )b:oml u:(te5r9 aEg1rVt)aoF:b 
re: rMrHUon.
r.: /dUenfdienf.ieHdC. /sHynSC.meSb.dXo/ kXely/f:.ms ySaaisOmmUnu(pbN.3oD2_al7:)LE N
:s MmI(N6T4F)4:
 error: U.e.r/rHnoCrd:eS .UXn/dseyfsiinfnitende...da /ss ysHyCmbmomSl.b:(o XE1l/V:5Wr 8I)cUNT
Ai:. Gaesr
m.(r.o/rH:C SU.nXd/ekfeiynfe.da ssmy(m3b2o8l)5:: S .T9UT4):e.F/H CeSr.rXo/rm:a iUnnd0rurpe
fined symbol: So.r.E./a:s mUHK(TCnSd.F6X6
efined symbol: EVPO8): /sysint.asm(.S.
error: Undef./.H1i5/CHSn9e)C.SX./Xr/ckie.yafs.m:ad( s 5emr(rs9y73o2.m9bro)l::  ):: .UT eneS/rdre
frironroHe:dC Ss.yr Xmb/U:o nsdlUye:nsdf leibfiS.TainUnsedm (6T25es.dy.m)F:b o0 /
eHrls:yCr oSrP:S 
Undefined symbo.mSl.:X /TmXab..1/BU.i/HFCnH0S
.X/oClSur..c/pHC.Sa.:X/s siEVP..XmyslO/(aiSbTssm.(
6ay0707)ss)imn(t6:. a2:6.e.r/rHoCr sSm.):: eX(/1k6er 3re)Urnr:o reoyrr:d fr.U:n aUdorefi:nneed efdU ssfnimy(dned3ie3nm bsofeinyl0:mde bs d) :s yyWeTmobAmGboolr
ror: ll::U nRdEeCf.:.L/  TpXs1i
HcCSo.nXt/rmoaliEnxu
p..B.Unaesdm (s7y/FH08
)mCb.:. /eHrCSo.lr:or:.SX./  EUVnT.X//sdyeKHrsicfiiLI
CS.X/syslib..../anseadsHmC(n tsmy(Smbol:.asm(164): error: Undefin6 0.Xe/kew3t)6d2 ysfa:g8 )e:rt .erararsorby
m:o mUbr(no:3dle3f: 1. i.R)/:U neEnCdHeSfCirHeCdSnroe dr : U
s.snydefXymmi/nebbooll:md:  sya. i.nTSmPbSo
luXp1.BaUsFm1(
79): error: Und.e./:H CESV.TXELf/Hi/.s.nEC
S.X/syslib.asm(/ed ../HC6H2C9S).ySX./:s rsXye/irmkcnebyit.ofr..aassmm((6106a66l)::  wetrargotra:b 
Undefineds)m(: error: Undefino sr3e3yd2:.m.b/) o: Usnydm HlC:Se.X bM/erImNfaiTorFi4neonlud
 :pr R:D.sa EsyUmmnbd(e8foi3C)n:e de.rlro L.
/:r s:T XU1yHmCBbno.S.d.lXUFe//fiH1C
nSedr:.cX  .S/./sHysiC.saiySm.EX/sbmC(osy6sl0n9iObDtE.la:
.s)m(: aTAG
630): error: Undefined symbol:  sm....ReXr(/1H/1HBr6o7CCSS..XUrF:)X://mkaeiyn
 fU.u pe.rarsomr(nadse8f.:5 )U:n dee.fi/mHiCnnee(dSr3 d. 3s3rsXyy)m/bsoy:s leirbr.oarl::mo s mb(r6USnEo3l::d1e f U)iRnK:nDdeT Fe9r
ror:d UEefined . nsdyeCsHy.m/bHoClS:. XS/ErKcTiF.1a2sf
ined symbol: RX1BUF
make[2]: *** [build/default/production/_ext/2145465965/sysram.obj] Error 1
mbol: .b.i/nH2.a.
m(612): erroCsSc.9X9/
syslib.asm(/rHCS.X/sysint.asm(169): err..6/3:. .U/nHdCeSfoined symrbHoC6.X/mainup.asm(88): error:)::  Uenrdreofr:l: sswitch1
../HCS.X/rci.asm(613): error: Undefined symbo Undein eUndSl.:fdie  nRseydm XC/sfbIol: kyPSeiRneSdTy
f.mbol EaC:. .sLy
MON
/HCS.X/rci../HC..asm(61smbmS(..Xo3/3H4C/lsS.Xy)s::/ mCaOiMn1u5i) Te:SpTr
r.or: Undefined symbol:  netaMsIm(90): errror.Nr:o r..Ta: UF/HUnsd4m
(eCfS.X/syndefined sy1i7s0lmnb): ../eedr rsoyrm:b Hooll:C Ubndiibn.2aassmc(9:96 eTSS

45): error: Undefined symbol: COM1.T.S/TH
CS.X/mainup.as.fX.in/m.e./r.c/HHiC.asdC(SmS ..syXm9(3/key)6f22.)Xba/s:yos:l: lR  EiesrremrCoH(br.SrC:a 
s3m(6o347U9n)d:efine) derr :r eorr:r:so  Uy.m.b/olrHnCUS:n.:X/  JdedfHiRs
eUfndeynsifi.nnet.i.dasm(17n/eHd9eC):d  ssy Sem .srbroylyomrXmb:o:b  T/USo
lm:a li: nMdeCfnOMI.iNun.e1p
/dC Ss
Hymb.ColSa:s. eer.em..(.9/XH/4aC): e/rSr.kHeoydCyterfX./aS: Undess.tmf
rci.as(3Xmi./3.n/esd9 ):HyCs syml(ei6S.X/s2br4bro.asom)r:l:: (yb 6e siUirnnrto.5ndaefinres:0 U2nd dsmey(1)8fim:a erbsolrn1oed syr:m: c 9bUoLn9dlC: )
D: eeSfinedCEMD symb.oK.1/HCS
.TrrXol/:r.m
a:. /UniH ndefineu.p.d /CHCCsymboOSMS.l.a:.s XTA1/PTAXLG
kme/
rci(..y9f..7/HaCa)sm:s(m. .3/Se.HX(4/0): 6e25r)CrSr:r. errXo/ro:sso ry: yrssi:n UUndletfUn.iaidnnsdebem.efiafdin (n1sem(65sd8ym1be): eror2l:) o d:  esLyrrmCboD:l rCs:yo r:HUmndS EKU
ebfMol: STUnD
d..1iT.
ned./ HCsymS/eHCS..X/mainboup.afXlis: /CrOcMnmed( 9s1i8.y)..mP:a errosT/rHCb:SmAo .(X6Hl/
U2:9)k :T.e. nery/f.aAdrsHGeofir
mCn(S:e.d..3X59 /syHC/)m:  S.X/ebrolsUry: bndeoisny2fssinirl:ibn edU.ndt .aaessfmaymbo(slcisn:m6(e52):9d9 1
8 sym ebS.3o)l:: Terr EUr
r.oorr::/ UVHCndS .UXn/dmeeafifinneup.a.ds.i/mW n(1IsNe0dy
Hm Cb1o)S.l:sX:/r ciCy. .e.r/roPaHsm(6UCm3bolr6::ES)  Und:E .eeCrOrMo1fWXi_/DADned sykPr: UneTmRboLdefBlL: MiIy
fnN

.e..d sy/as.mH.Cmbo.S/HCS.(/3H.6C4S.lX.): /Xsys:/TmAiGaX /esrirornyts.l
asm(184)::n Un error:duip.be fU../in.dHasCasm(S6m5n.eed3(102)) Xf:i s/nrc:y eieed srrm.rboyambsmolor(lo6:: Err 4: UVC3P:UWE )UnnId:N
edEfW_i De.nerroe.A/DRHfHr
idC Ssn:.ye .d s.Xmyb/m/HCSkbe.yUfXndefined/osly .:s sCoOyMl:i 1nmbasmPti(.ban23sTmaosBl:6(H1 85): ecr96
r9)Wor
:: e TrArGU
or: nde.U.fnindee./.fd/i.H.C/SHn HsCCSy..SX.XmXb/o/lemainr:/d  Ecui.ps.Eas_TAyG
ymbsaliss.m(105.m)(b65/.a:0s): eHo l:C Ereror:SV.PXOr/ror mU:nd( 65s6): eeUyrfrnSo
isdnedi.e. fined snstyyr.:am/msm(1 UndbebHfine86): errCdooSr:.Xol  Unsd/ef: SEKlkieyf.anye:s
 dMONm
. bs.oly/:mH CbUmS(3o6.l:S E7E): erroXR/.E./HCS.r_: UnXdmRTae/Afrci.iinG
AMHead.I.sn/ Hmu(ps.6yCaS.mX5bs/GmoHsl:( Ty
2)1sB06i:. eU).F: 
e/rrrornHr..:Ct/ oS.HUCrn.:Sd.e fiUndnXa/sm(1seeyfXs8/ikde7nyedf symbo)l :li:  ebs.baisnmr(65.2aassm8ycmb():3or96o 9
9rl): JHR:
: Un edere..rfrro/inr.:.e/Hd HUndoCC Sre:f ined sUndefsSym.iyn.eXmb/Xd/mrci as.bionl: CPUEoyuap.lams:msbm(65EoW_ (4l):U ASER1E:VR1AMI 1H):INe FODrRL

GeH
rrorro:r: . U.Un/.nddefieH.CS/.HnfXeC/siysdSin nt..assXymboem(/18d sl8:ysslymbi)b.aso lm: UTAf:(GtMiA3
 Xerr6o
r6: Und4efi)ne:.d. s. /.HeyrCromrS:bo/l:  HUCCP.XS/UnE.XdEm/eWarfiin_nci.eupaAsDmR(d6H57) 
sy.:masm(b o1e2r.5.)rol:/ e:r COMrHrCS.X: Und/1sTySoT
esfrini:n etd...a/Usndm (seH1f9C0iyneS)d:  semrry.bol: UTmobolr:X :/A ULCnDCG
dMefD1iTs
yslib.n.ea.d./HC ssymbomS..(/6H6C6Sl:)X: /maine uCPr.rpX/Uo.Err:ci.as aUnEsW_Sdm(Te1fi2EPLn6ed):  
symmebr(.6r62o)olr.:/HC:: COM 1Se.rX rUnod/eTsysir: SUnfinetnT.
defdais nsmyem.(./HCdS.X1 92s/)sy:yb smlibeoolb:.al r:A T5MsINrLor: CDCmMD1
T(
669): Uendrreofir:n .U.nde/..fH/CSHC.iXn/rciS..aXede s/dymsmbaol i:synmbo l: umC(C666)POU:p erE.EMWa1sL_ENS
ror: mU(n1d2e7f):iT EnPeH
.re.r/doHCS. X/ssysymbol: AT5SlTiU.r
./HCb:.asm.(. US/nd6.7X6)/eHsfinedCySs siymb.:nX /etor.ci.la:a SrEKTssrm(1omr:9F4) : Uen(16r6ror:d2e Undf7i
efin)e:d er rsnymoebd olrsym::b CPUEol. :E.U/HnCdSe. fXi/nW_meCT
adF siyFnS
mubopl.:asm (T1S38):
 error: Un.de.f.i.n//eHd CsSymbolH.:X/sCySsli. bX/r.cNi.asaOLCmDsCMDm
((66699)1):. :. e/HCrSerro.r:r or:X/U mUnndadeefineifdn symbuinopel.da smsy(:m1 3T9)S:b
 oelrr:o r:u. t.U/nHadgeCtfab
inedS ..sym.Xb/ol/H:rCSc i..XTaL/IssNmEBUFy
slib.a(s6m../H7C(S.X/mai2nu6)9p2)::. asm ee(rror: r1ror:4U1 nd)Ue: nfdeirreonredf:i  Undsne.e./HCdfinS .X/ssyymbesdyo mbli: oustagymboln:tt .ab
TaSl:
sm (S3E2.KT9F12
.)/H: eCrSr.Xo/rsy:s Ul.ib.ndef.ians..em(70d /1HC): er/rHCsoySmrS: ..X/mXab/olr: iRcnUui.aspIn.dma(e6s8fEm(inTed31)4
 : esr3ymrbool:). :A Tr: eU.1nMId/NHC
Se.X..f/inesdy s/yHmCbol: sTSSr.irXonrt.asm/(s3y3s0l)i: berror.:asm(:
 7Und0 efiU2n)def:n ereinder dos y.rs:y mbm.boUln: defM/INTFi0
HoCS.Xlne: LCdD sCMD/y3rBcmboil:
 .AaT1MsIm(68N
9): error: Undefined s..y.m./b/ol:HHCS.C TSX./SXma
i/nups.ys..asm(i/ntHC1S.5a.0s):m(X/r3c7i0..as).m/: e(H69CSr.Xror:/2s  yU)ne:dr eserfinelib.orra: Urdnod srymbs:meo(l 74fUinnded sy0:) :L CeDrCroremM:D4fBi n
edb osly:mU.nb.ol/ HC:H lcSdcEK
S.Xdm/d
emfaiinendup ../.syaHsmC..mS/.HbXCS/osl.y:sX/ iLntC.asrDci.aCmsM(m(153(71D)6:95) 1T1er
):r orerr:or:.. : Un/HCd error:SU. ndefieUfindnXed sym/ebfinoesl:dy sTlLn ieIbsd NEBUsy.ymbol:aFsm m
bal(a7rm_4o.l:.1/o n
)H:SCS .EXe.r/ror.K/HCS:m Und.ae
X/rcfii.n.ei/dHn usy.p.amaboClSs.X:m/ s(m6sysi9L8)(C:D15 CeM2nDrtr.a1o)Tr
::sm(  U3erro7r3): :n erdUndroeefinfri:ne dU nededs symbyfomilbn: oTlLIeNEd:B  UsTFy
mSb
o..l: /THSC
S.X/mainup.as.m..(15/3H)CS.:/.H XeCS.r/rorsX/y:si rntc.iUand.eafsism(mn(70ed s1y): mebol:r rTLIN3o7r: 4E): BUeUrroFn
rd:efine dU sndy.mb.eoflin:/e HdTC sSy
mSb.Xo/lm: aTinLup.as..ImNE(/H1B54)U: CFer
S.rXo/rrc:i.asm(. ./HC7USnde.f0Xi/ned sy3)smy: errbsool: riTnL: It.aNUsndEBUemF(3f
7i5)ne:d  syemrb.ro.l: o/HrTC:S USn.
deXf/imnaedin suypm.b.o.l: T/LINHaCESBU.FX
s/m(155r)c:i. aesmr(r7or:1 ..2U):/n derHeCfSri.onr:ed X U/nssysiydnmt.asm(b3e80f)ineol:d e sr:yr TLmIorN:b EUnoBl:d UefSFiHned sS

ymbol: SINFOS4
../HCS....//HC.SHC.SXX/ma/.rXc/isnuysint.asip..amasm(713(s3m81(1))6:1 ):e : errrrooerrr::r or UUnndde: feifUinned sdenyfmbeold isy:n hmbol:ze gSdsIet0NF 
OsSy4
mbol: SEK
../HCS...X./.HC//Ss.X/HyCS.msaiXi/nnrucip.t..asaamsm((s3163):8m6)( e:rr7 oerrr:2o 5Un): edrer:fri onUre: dn symUdbefoindlefn:edi  necmddstymst
b osl: DCF77EyTm1bo.l: W.
/HHCSET
S.X/ma../../inuHHCCSSp...X/Xsys/irnacsm(16t8.a)is.a:m (e3r87s):m(726r or)e: r:roUr : Undenerdfrinoeerdf is:neyd mbo l:symb oDClUFn7:7E CdT
eSfEinKe2d
 symbol: .S.HS
/H../HC.S.C/S.XH.CSX/.mai/nusysXp/rci..ianastm(.1asm(s38m68): er(9r7or)2: e8:r )U:nr derrefoinorr: e:d U Unsnddyefmienfied snedybo lsmy:mbbol:  oDl: CF7S7HSTESE
T2K2

../HCS.X/sysint.asm(389)....//HHCCS.S.XX/:rci/.a serrmo(r7m:3 Unaind9up.e)afi:ned es symm(b172):o le:r Sror:Tr UUndrTeF1
ofr: Undeifneidn esdy m.symbobl: hzovlm: .ITINoveF
O
/H.C./HSC.SX.X/s/ymsint.a..a/HismC(3S9.1): enrupr.aosmr: U(1ndef7i3ned) :Xsym/ rcebriroor.a:ls : DCUmFn(777C5dTef4i
ned s)y:m..b ol: e/IrHCroSr:T.X /UIsnNysintF.asO
dmefi(ne.d3.9/2 HsC): Ser.rymXob/moali:nup .Dr:aC sDUm(17n4dT)
e:fined s../yH mboCeSl:. rXDrCoF77r/: UCrcniTdef.ia
nesdm( 7s5y5).:mb .o/lHeCrro:S rI.: UndTXeEfi/Msned yPssymbiSoZLnl
t:. asmT.(./3H9CS.X3C):MOD /eEmrainu
p.asrmo..r: /(U1n78)H:d eerCfSro.irned X/rcs:iymb. oals:m( U7Nn5Ed7W):eTIf MerEined symbol: rbi
n2asc99
../HCS.X/sysint.asm(394o):../ rHeCSrror::.X /m ainup.asm(1Un8deU1f):n einedrefdirne d sysorym:m Ubbonoll: dNEWTe:If inMeTEd
C MOsDyEmb
ol: ITEMPWZL
../HCS.X/rci.asm(759): error: Undefined symbol: dccmd
../HCS.....X/H//HCrcCi.aSS.s.m(X/Xs7y66/smianit.a)nu:sm(42 pe.rarsomr(:1 8U4n)d9:e f): ienerrrerdo rs:y mUbnodle:f iDonCeDrd:T  s
Uynmbodlef..:/iH nbiCeSd s.yXnm2absol/c:r9c9i LC.
DasmC(M76DL7_): Le
.rro.r/H:C.S./.HCXS/m .UndXea/sinfyuinepd .assm(yms1binotl.:as8 7)m: C(4MOe3Dr2E)
: errroror::.  Unde.Uf/Hinnedde fsiymbol: WnCHSeS.dEXT
 /srcyi.asmm(769): error: Undefinedbo l:. sLCyDmBb1o
l: TCMODE./
HC..S/HCS..XX/s/ysint.asmm(a4i34)n:up e.rraors: Umn(de1f98)i:ne de rsryor: Undefinmedb. .s/yol:HCSm .lbcdoXl/rc: bin2asc99
md
../HCS.c.iX../a/HsCS.sXyms(/imn7a8it0.)nauspm.(a:4 3se5r)r: error: Unomr(defined sy:20 6)mbol: :U ndefDerror: Undefined symbol: fti3
../HCS.X/mainup.asm(212): eLCCYCLE1
ined symrror: Undefined symbol: SEK
b.o.l/:H. SMO./HCS.X/DmEC
S.X/sysint.asm(436): error: Undefined symbol: DLC
../HCS.X/r../HCS.X/sysint.asm(437): error: Undefined symbol: LCDCMDL_B
ci.asm(783): error: Undefined symbol: CMODE
../HCS.X/sysint.asm(442)a:i ../neurpHro.ra:Cs mS.(X2U/nr1c4id)e:f ien.raresdm (s7y8m6b)o:l :e rlror: cord:c mUUdn
nddefi.e./fnHeCidn Ss.yXmebd/osly:s icnmtd.tasstm
(443): error: Undefined symbol: ASTQ
 .sy./HmC.Sbo.l:./X/m HaTCiSnCup..aX/sMsymODsE(i
nt2.a19s)m(:4. 4.e/4H)r:CroS.X r/:er rcUir.nadseofimrn(e7:d8 s 7y)m: boUelrron:r TdSefEK:3
 iUnndefeid sn.ymbe.d osyl: /mSHEKTCFb0ol
:S .dXc/cmmadi
nup.asm(220): ../eHrrCS.oX.r.: /Usnd/yHCsefined symbSion.lX:/ rcTti.a.Ssam(4EsK5m7):( 793e1r
): rore:rror:  ..U/nHCSdeUf.ndeXfi/miainnend syup.ambeold :s smymbAo(DUl2_:CC 2
D4OP): Eerror:N 
Undefined symbol..: ATINFO
/.HC.S/.XHC/Src.iX.a..//HssCS.mXy(7/9s2i)n:t.m ainuerapsm(.r4ao6r2sm(2:) : er2r5)or:: eU rUnrdneofindre: edfUin nesdyd emfisnyboembdo ll: ds:c cAmDdU
1ymAb
ol: ATINFO
../HC../HCSS.X./.rc.iX//s.HasCmS.y(siX7/mn9t.4):aas mien(urp4.asm6(r32o)26r::  Uer)n: reord: efUrnirdoernfei:dn  Usnyed smdyebmbool:l fAin:D U1DAe
d CsDyTm
bol: TS
../HCS.X/rci.../HasCmS.(X/7.s9ysi5n):.t/ .HCeaSsm(r.4X6/r7):m eoarrri:n or:Uun dpUenfde.iasm(fn2e2d9i ne)sd: sy mberorl:yombro: lTCMO :DUnEd
e fSIiCn0ed
 symbol:.. AHE/LHCS.LL
X/rci.asm(798): .e.rr/oHrC:S .UXndefined symbol: HSEKTF9L
../HCS.X/rci./mainup.asm(230): error: Undefined symboa.s.m/(H800): errCloSr.:: XA/HsEyLsL iHn
t.asm(507): error: UndefU.n.idne/efHiCdn eSd. Xs/ymmabionlu:p .RaDsYm
(232): error: .U.n/dHeCfSi.nXe/drs csiy.mabsoml(:8 0W1C)O:N De
rror: Undefined symbolymb.:. /DHCCDST.
X/mainup.asm(235).o.l:/ HeCrrS: .oXAr:D/ rUUc_CCin
defined symbol: ST...aU/
HCSs...X//HsCySs.iXmn/tm.aaisnmu(p5.0a9s)m:( (2e3r6r)o:r :e rUrnodre:f iU8nne0dde 2f)i:n eedr rsoyrsm:b oUln:d eMfIiNn
ed symbol: SHS
../HCS.y.mXb/omla:i nAuDpU._aC.C/
HCS.X/rci.asm(804): error: Undefined smsymbol: SHS
(239): ../HCS.X/rci.asm(807): error: Undefined symbol: EGRA..e/rHrCoSr.:X /Usnydseifnitn.eadsM 
sym(5mbol: HCCM3.5I.)N:
 erro/rHC: Undefi.n.e/dH CsSy.mXb/omla:i nCuRST.LXp
./asm(242)r.:. c/iH.eCSa.rsXrmo(8r/sysin:1 tU.0a)nsdme(f5i3n6e)d:  seyrmrboorl::  :UHn deCeCrfirnoerd:M IUNn
de fsinyedmbo l:sym .bNLo.R/HT0C
lS.: XES/mRa.i./AM
HnCSup..Xas/m(s.y./245)Hs:iC enrStr..asm(oX5r:3 7U/)rc: enird.aesrfiormn:e(d  s8U13ynmb)od:efli:  neredrA DoU2srM:IyNm 
bUondle:f NLM..iAn/HCSXe.
d sXy/mmboalin:up.a. s.ISER/Om
(H2CS46.).X.:/ sy/seHiCrrnSt.ao.r:X /sUm(rncdeifin5.e3a9sdm sy)m:bo (l816)::  eAeDU2MrIroN
rr: roUr:nd eUnfdie.fi./nnHed esymCbdoSl: .sy SEKTF15
Xm/bomla:i nRuEpS.DaCs
m.(./2H4CS7.)X:/ seyrsrinor:t Und.e..fia/sHCnSmed.( 54Xsy/1mrbcoil.:a sAmD(U821M9A)X:
 error: Undefi../HCS.X/mainupn):e. asdme s(r24ro8r:) :y eUmnbrorld:efo iHnTeOrPE:N dU nsdyeTm
fbioln:e .Sd.E/KTH CsFy1Sm.5b
oXl/: ADU2MAX
rci.as..m/(.H8C20.)/HS:C S.eX/r.sryorXs/imnat.:i Unaunp.dsame(fs5m44)i(n2e4d9 )s::y  erembrorlo:r :H SrUEoKTr: Undefined syFnd1m1beLf
ined symbol: ADU2MIN
ol: ../H.NLRT1
./HCS.X/rci.asm.(.8/2H6C): error: CUnSS..XX//sysint.asm(m5adienfu5ined symbol: S3p)T:U TeFr4r
or: Undef../HCS.X/irnceid symbol: SEKTF15
../HCS..aXs/ms.yassimn(25(08)t2.a7s)::  merror: Une(5rdreor5: f4iUnnd)ee:d sy mfbineerrodl: o AsDyrUm2M:b ol:IUN
n deJfAinLedT.H.T
/H CS.syXm/mabin.o./ulp.:aH CSsTm(S.2
X5/1rc)i:..
. ae
Asrm/rAHoCs(sSr.seXmb:s8l2 /eUsyy8n)de mfsa:ifleb iilnty.n efdadaesmr(,r io5 lsyrm5b7e6d,o)3 l88::   U:n  eerrArdDroer:r roUUorrsen2fsi,ne MdA,0d  Xs0
 yw aweamfinedr rsnbyoln:i mHi.n.g/nHSbCEKSTo.lg: sF
sT
5SL
X
/mainup.asm(252): erro.../HrC.: SU.ndX/e/HrCfScinei.dX/s .yassymbsmo(i8n31):t .la:e rrAoDU2srM: mA(55X7
): Uenrror:d eUnfdienedf isnyed symmbbolo: ..l/S:HT UTF4
SCRSC
.X/mainup.../H.CS../XHCS.Xa//srmci.(sa2ys6sm2(83i2))n:t. :aesr romerrro(r:: 5 U5ndU9enf)diefn: errioned rseymd :s yUmbol:bndol: SUT 
JALTHT
../HCS.X/mainup.asefm.(.26/iHnCe3S):.d Xer/ ror:srymcbi.a osUm(833nl):d SRC
:e f..ien/errdoHrCS. X:sy/ Unsdmeboflined :s yMIysint.amNbol: sHTSmE(56KFTF65L
0):
 error: Undefined symbol.:. /HCSd.X/resetm1a
inup.asm(264): e..r/roH.r./CH:SCmake[2]: *** [build/default/production/_ext/2145465965/keyf.obj] Error 1
S. XUn/.dXseyfin/seridnt. asysmcboli.m:( 5MIN6make[2]: *** [build/default/production/_ext/2145465965/syslib.obj] Error 1
6)T:aFsm(85 5e
6): errrror: oUndr: Unedfefii.nn./HeCeSd s.ymXbd/ smyainoul: pamtbolpa.:b
a smD(2..7/0)R:CH
CS. Xer/rror:c .Unde.i/Hf.CaS.Xsm(8/is5ysin7ed ):s eymrnbrot.aorl:s:  m(5HUDI6nFde7f):iFned
 s ye..m/borHrlCS: opr: Un.adteabf
ineXd/ msayminbuolp.:a CsmO(M271TS1T)
: error: Undefined symbol: .H./..HDCS.I/XF/syF
sHiCnS.Xt.asm/(r574)c:i er..asrmor:( .8/UHCSn7d.3e): Xer/fmineaindruopr : sy.mUbolnde:afsim(n281e)d s:  yemDbolR:rCr CverYdoatCrs:trL
 EUnd
../eHfCinS..e./Xd H/rcCiSs.ymXb.oaslm:( 8M/7syI4N
s)i:n ertro.ra:sm(576):  Undeefirnerd syom.r.b:o l:/U nvdHefCieSnred sym.bXod/lmai: DRnCa
utpst.r../HCSa
.sXm/sys../(Hi29Cn3tS.):X./ra sermc(5ri77.):aosm(8r7 4):e:  FrUAnTALr:o drefGii:vin nged s up yamUbndoeflter: f HRi1E0nALe0d  error
ssy
mbol: FWS
../HCS.X/mai.nu.p/.aHsm(CS.X2/94)s:ysin te.rasmr(o58r0): Un:d ererfiorn:e d Unsdyemfbionl:e dH RsEymbAoLl: 
DRCCYCLE2
nbproject/Makefile-default.mk:161: recipe for target 'build/default/production/_ext/2145465965/keyf.obj' failed
nbproject/Makefile-default.mk:191: recipe for target 'build/default/production/_ext/2145465965/syslib.obj' failed
nbproject/Makefile-default.mk:171: recipe for target 'build/default/production/_ext/2145465965/mainup.obj' failed
nbproject/Makefile-default.mk:186: recipe for target 'build/default/production/_ext/2145465965/sysint.obj' failed
nbproject/Makefile-default.mk:176: recipe for target 'build/default/production/_ext/2145465965/rci.obj' failed
make[2]: Leaving directory 'C:/Users/Jan/MPLABXProjects/hcs1.X'
nbproject/Makefile-default.mk:94: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Jan/MPLABXProjects/hcs1.X'
../HCS.X/sysi..n/t.HCaSsm.X(/58ma4i)n:u epr.rasomr(:2 99U)n:d eefrirnoerd:  sUyndemfbol:i nCOeMd1 TsSyTm
bol: HCALC
../.H./CHSC.SX./Xm/asiynsuipn.ta.assmm((350088))::  eerrrroor:r : UndefUinnedde fsiynmebdo ls:y mFbWoSl
: HCALC
../HC.S../XH/CmSa.iX/nsupys.iasntm.a(30s0)m:( 5F9A0T): AeLrr: oGriv: iUngnd eupfi naed sfytmbero l100: R TeRrErCo
rs
../HCS.X/sysint.asm(592): error: Undefined symbol: RTREC
../HCS.X/sysint.asm(593): error: Undefined symbol: DRC
../HCS.X/sysint.asm(597): error: Undefined symbol: DECC
../HCS.X/sysint.asm(599): error: Undefined symbol: DECYCLE
../HCS.X/sysint.asm(602): error: Undefined symbol: COM1TST
../HCS.X/sysint.asm(603): error: Undefined symbol: DECC
../HCS.X/sysint.asm(605): error: Undefined symbol: COM1TST
../HCS.X/sysint.asm(610): error: Undefined symbol: TBUFD
../HCS.X/sysint.asm(613): error: Undefined symbol: SIC0
../HCS.X/sysint.asm(613): FATAL: Giving up after 100 errors

Assembly failed, 101 errors, 0 warnings

Assembly failed, 101 errors, 0 warnings
make[2]: *** [build/default/production/_ext/2145465965/mainup.obj] Error 1
make[2]: *** [build/default/production/_ext/2145465965/sysint.obj] Error 1

Assembly failed, 101 errors, 0 warnings
make[2]: *** [build/default/production/_ext/2145465965/rci.obj] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

BUILD FAILED (exit value 2, total time: 607ms)
 

Last Edited: Sat. Nov 7, 2020 - 02:47 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AVRASM2 is not a linking assembler. ASM files must be assembled together in one invocation of the assembler. This means using:

 

 

.include "hcsdata.asm"

.include "keyf.asm"

 

etc.etc.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

N.Winterbottom wrote:

AVRASM2 is not a linking assembler. ASM files must be assembled together in one invocation of the assembler. This means using:

 

 

.include "hcsdata.asm"

.include "keyf.asm"

 

etc.etc.

;

That's already the case.
Otherwise the assemble would not work either in Atmel-Studio or as shown in Mplab-X.

Last Edited: Sun. Nov 8, 2020 - 11:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AVRASM2 is not a linking assembler. ASM files must be assembled together in one invocation of the assembler. This means using:

That's already the case.
Otherwise the assemble would not work either in Atmel-Studio or as shown in Mplab-X.

Well, the mplabx makefile is clearly attempting to compile all the .asm files separately.   Perhaps it should only be assembling the "main" .asm file (which then .includes the other files), but has somehow gotten the idea that each .asm file needs it's own build:

 

"C:\Program Files (x86)\...\avrasm2.exe"  ...  ../HCS.X/hcsdata.asm

 

Since hcsdata.asm was only intented to be .included by something else, it's not surprising that it produces errors when built on its own.

I don't know whether you can fix this by "changing" the way that the files are added to the project, or whether you'll need to do some hack like renaming them so that they don't look like source files to MPLABX...

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

westfw wrote:
Perhaps it should only be assembling the "main" .asm file (which then .includes the other files), but has somehow gotten the idea that each .asm file needs it's own build:
The implication of that is that the only one that should be added to the "project" is the main one - if you want to edit the others just open them separately but don't add them to the project simply so you have easy access to edit them.

 

(or if MPLABX is anything like VS (ie AS7) you can have files in the project but in the properties you set them to "does not take part in the build" - so they are there for editing but not an input to the Makefile).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


After a bit of experiment...

 

 

You can set a file to be excluded here. When the dialog is closed it looks like this:

 

So the excluded file is greyed. And my output shows "BUILD SUCCESSFUL" even though asm2.asm (with obvious) error is listed in the project. Of course if asm1.asm represents my "main" project than in reality it would .include the asm2.asm and when I do that:

 

 

So this definitely looks like the way to do it - set all but the main file to be "excluded" but then .include them.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

westfw wrote:
like renaming them

 

This was a solution!

Renaming other included files to .inc lets the build process run through without errors.

File called .asm could be the key Mplab-X knows where/what to start an assembly process.

This differs from Atmel-Studio explicitly specify the entry-file.

 

clawson wrote:
So this definitely looks like the way to do it - set all but the main file to be "excluded" but then .include them.

 

That is an other interesting discovery.

 

Thank you both.

 

Last Edited: Mon. Nov 9, 2020 - 06:47 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Reported internally as MPLABX-5860

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.