Fixing macroassembler problem for ATMega16A for Multiprog

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

How to fix problem with macroassembler for atmega16a (  same  problem   expected  in the Atmel Studio 7, with atmega8a  and atmega8515  no problems   ): 

 

[CODE]

AVRASM: AVR macro assembler 2.1.42 (build 1796 Sep 15 2009 10:48:36)
Copyright (C) 1995-2009 ATMEL Corporation

C:\AssemblerApplication1\AssemblerApplication1\main1.asm(9): Including file 'C:\AssemblerApplication1\AssemblerApplication1\m16adef.inc'
C:\AssemblerApplication1\AssemblerApplication1\m16adef.inc(48): warning: Preprocessor: Redefinition of macro '__PART_NAME__'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(9): info: 'C:\AssemblerApplication1\AssemblerApplication1\m16adef.inc' included from here
C:\AssemblerApplication1\AssemblerApplication1\m16adef.inc(47): info: Previous definition of '__PART_NAME__'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(13): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16Aregdefs.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(14): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16AMacros.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(57): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_IOsubs.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(58): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_UART.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(59): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_powerio.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(90): Including file 'C:\AssemblerApplication1\AssemblerApplication1\Commands.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(113): Including file 'C:\AssemblerApplication1\AssemblerApplication1\Menu.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(130): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_Delays.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(132): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_testsubs.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(135): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_M27.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(137): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_W27.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(139): Including file 'C:\AssemblerApplication1\AssemblerApplication1\M16A_ROM27256.asm'
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): Including file 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm'
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(926): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(927): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(944): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(954): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(958): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(989): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(990): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(991): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1008): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1016): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1032): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1035): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1037): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1039): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1041): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1043): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1045): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1068): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1069): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1070): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1085): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1093): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1111): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1113): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1115): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1117): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1172): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1173): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1174): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1186): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1196): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1200): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1228): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1229): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1230): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1244): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1256): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1273): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1275): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1277): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1279): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1304): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1305): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1306): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1322): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1333): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1352): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1354): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1356): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1358): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1360): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1362): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1364): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1417): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1418): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1419): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1432): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1442): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1448): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1477): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1478): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1479): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1496): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1508): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1526): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1528): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1530): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1532): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1557): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1558): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1559): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1560): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1577): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1581): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1585): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1586): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1587): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1588): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1590): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1592): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1608): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1610): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1612): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1614): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1616): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1618): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1620): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1662): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1663): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1664): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1667): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1677): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1682): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1685): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1686): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1687): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1690): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1692): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1693): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1722): error: Relative branch out of reach
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm(1722): FATAL: Giving up after 100 errors
C:\AssemblerApplication1\AssemblerApplication1\main1.asm(140): info: 'C:\AssemblerApplication1\AssemblerApplication1\roms82s.asm' included from here
[\CODE]

 

 

Attachment(s): 

Last Edited: Sat. Nov 23, 2019 - 04:07 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

With ATMEGA8A no problems 

 

 

Attachment(s): 

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

Soft for my analog of  MAVR programmer (Multiprog)  for this tool (for debug , fix some bugs , but you can test USART  ).

Attachment(s): 

Last Edited: Sat. Nov 23, 2019 - 04:10 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

First guess is that the AVR make some changes when the flash pass 8k. It have an other layout of ISR table (4 byte not 2) because then rjmp (and rcall) can't reach everywhere.

That also make the code bigger (call and jmp is 4 byte rjmp and rcall only 2 ) so some old code with branches get's too big, and have to be rewritten (reverse test to jump over a jmp) 

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

in the file roms82s.asm , try changing all the " rcall" instructions to "call".

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

My program with fixed  bugs  

Attachment(s): 

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

I try to rebuild it for  'call'  for ATMEGA16a edition

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

Fixed 

Attachment(s): 

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

Very nice---Certainly a big & wonderful learning experience!

 

However, for schematics, never use pen--use pencil!!  Creating a big schematic with pen is a recipe for either disaster or a major mess.

Pencil & eraser keeps it nice and tidy!  Save the pen for the autographs you'll give when the project is working.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

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

Version 2 

Attachment(s): 

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

Circuit may be  modifyed for other ICs  (this is a default temporary fragment of  prototype of the circuit  for programming ) . 

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

Fix some bugs in the control algorithm  for circuit  and modify circuit. 

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

You can change time delays for program pulses for other devices, change Vcc,Vpp,Vpe control . 

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

Example of the my editor and hex reader (fix some bugs, change design, for Multiprog ver.>=2  )  :

Attachment(s): 

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

You can use it to rebuild    your MAVR programmer for W27C512 and other ICs (change  Vcc,Vpp,Vpe control, nG,nOE,nP ,nV, ESE2 control ) (prototype      http://kovlev.ru/tools.html#unpr   ,    http://kovlev.ru/tools/mavr.zip         )  and for  modding of the Multiprog  programmer as templates . 

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

Fix bug with button Power on ,Power off  names for appropriate  IDs 

[CPP]

 

 

   CreateWindowEx(WS_EX_CLIENTEDGE,"Button","Turn On power ",WS_CHILD | WS_VISIBLE | WS_TABSTOP| ES_CENTER, 
                 10, 30,120,30,hWnd,(HMENU)IDC_POWER_ON ,NULL,NULL); 

  CreateWindowEx(WS_EX_CLIENTEDGE,"Button","Turn Off power",WS_CHILD | WS_VISIBLE | WS_TABSTOP| ES_CENTER,
  140, 30,120,30,hWnd,(HMENU)IDC_POWER_OFF, NULL,NULL); 

[\CPP]

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

Version with fixed  bugs for Vpp,Vpe  ,Vcc, W27 subs (check for bugs ,optimize hard  , add some subroutines, time delays , add fast mode  , rebuild your MAVR programmer for Erase sub for W27C512, fix some subroutines for  82sxxx (not implemented for ATMEGA16a without 74HC595/597 or  74HC164/165 registers )  series  ).

Attachment(s): 

Last Edited: Sun. Dec 1, 2019 - 11:32 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How to use  program with  modifyed MAVR programmer (8515 edition)

Attachment(s): 

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

Prototypes of  circuits of the adapters  ( and how to use mega8a - circuit with adapter   prg6.gif          )

Attachment(s): 

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

Fixed bug with MAX232

Attachment(s): 

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

You can use  adapters from       http://ra4nal.qrz.ru/acrobat/prg2000.pdf    ,   http://ra4nal.qrz.ru/prgrd2.shtml                                     (or simplified analogs) with some ICs for this circuit  .

Last Edited: Sun. Dec 1, 2019 - 11:44 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Fix problem with PD5 (use buffer TTL) as nP_C1  (27128,2764),nG_C2(27256), nEP_C0 (2716)  : remap this pin on PD3 and add cbi xxx, sbi xxx into macroses for C2 , C1,C0 subroutines and initializing subroutine ,power control sub. ,use pull up for this pin , use PD5 with pull-down for Vpe_F3, use pull-up for PD4 for close outputs, use pull-down for PD5,PD6 for Vpe,Vpp .

For ATMEGA8A fuses LFUSE 0xFF,HFUSE 0xCF,LOCK 0xFF,

for ATMEGA8515 HFUSE 0xFF,LFUSE 0xFF,LOCK 0xFF

for ATMEGA16A LFUSE 0xFF,HFUSE 0x19(0x99,0x89), LOCK 0xFF

Attachment(s): 

Last Edited: Thu. Dec 5, 2019 - 09:24 PM