Here's a screen print:
Attachments
-
96.2 KB Views: 25
My comment was in reference to the code posted in the OP...Mine is for an 18F23k22.
I'm pretty sure that it is because you are splitting up configuration bits into different words. Each CONFIG assigns the values to the configuration word and increments which configuration word is modified each time it sees CONFIG.Many thanks John.
I figured out my problem - I forgot to build the project. hehehe.
However, I'm still getting a similar list of errors that I had in the MPLABX:
CONFIG OSC = HS
CONFIG MCLRE = ON
CONFIG DEBUG = OFF
CONFIG LVP = OFF
CONFIG WDT = OFF
[CONFIG OSC = HS ;CONFIG1H
CONFIG MCLRE = ON ;CONFIG1L
CONFIG DEBUG = OFF ;CONFIG2H
CONFIG LVP = OFF ;CONFIG2L
CONFIG WDT = OFF ;CONFIG3H
[CONFIG OSC = HS ;CONFIG1H
CONFIG ;CONFIG1L
CONFIG WDT = OFF ;CONFIG2H
CONFIG ;CONFIG2L
CONFIG MCLRE = ON ;CONFIG3H
CONFIG ();CONFIG3L
CONFIG ;CONFIG4H
CONFIG DEBUG = OFF, LVP = OFF ;CONFIG4L
Hmm... I built your original code with MPLAB 8.63/ MPASM 5.39 and it builds with no errors after tabbing the CONFIG,#include and LIST directives over 1 column (they aren't supposed to be in column 1).Okay, so I tried fiddling about with the commented template, the example above, and just the single Config Osc, but I'm still getting the same error messages.
I don't know - read the release notes Help->Release Notes for your MPLAB version to see if any are known. Win7 had some early on.Perhaps I should mention I am on Windows 8.1.
Does this have any effect?
MPASM 5.51 TEST3.ASM 4-2-2014 22:06:33 PAGE 1
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00001
00002 ;#include <P18F8722.inc>
00003
00004 ;--------------
00005 ;Configuration
00006
00 1F 1F F3 83 85 FF C00007 CONFIG OSC = LP ;LP
0 FF E0 FF 40
00008 ;---------------
00009 ;Main program
00010
000000 00011 ORG 0x0000
000000 EF02 F000 00012 GOTO MAIN
00013
000004 0E00 00014 MAIN MOVLW 0x00
Error[113] : Symbol not previously defined (TRISD)
000006 6E00 00015 MOVWF TRISD
00016
000008 0E55 00017 LOOP MOVLW 0x55
Error[113] : Symbol not previously defined (PORTD)
00000A 6E00 00018 MOVWF PORTD
00000C 0000 00019 NOP
00000E EF04 F000 00020 GOTO LOOP
00021
Error[118] : Overwriting previous address contents (0000)
Error[118] : Overwriting previous address contents (0001)
Message[303]: Program word too large. Truncated to core size. (005018EC)
Error[154] : Each object file section must be contiguous (section .config_000000_TEST3.O)
Error[118] : Overwriting previous address contents (0000)
Error[118] : Overwriting previous address contents (0001)
00022 END
MPASM 5.51 TEST3.ASM 4-2-2014 22:06:33 PAGE 2
SYMBOL TABLE
LABEL VALUE
LOOP 00000008
MAIN 00000004
__18F8722 00000001
__DEBUG 1
MEMORY USAGE MAP ('X' = Used, '-' = Unused)
0000 : XXXXXXXXXXXXXXXX XX-------------- ---------------- ----------------
0000 : -XXXXXX-XXXXXX-- ---------------- ---------------- ----------------
1880 : ----XX---------- ---------------- ---------------- ----------------
All other memory blocks unused.
Program Memory Bytes Used: 32
Program Memory Bytes Free: 131040
Errors : 7
Warnings : 0 reported, 0 suppressed
Messages : 1 reported, 0 suppressed
I agree. You can submit a ticket through Technical Support from the main page of Microchip.com. You'll have to open an account with them if you don't have one. Zip and upload your project folder if you can. They'll notify you by email when they have it. You also get a telephone number to call on your issue.Hmmm, I might send an email to microchip to find out if it is a Win 8.1 thing, tomorrow
Sorry for the persistent questioning. It should have been working by now and I'm running out of easily testable ideasI am 99% sure I am in absolute mode, I checked the box and is says absolute, when I open the workspace I click absolute, so unless there is some hidden option somewhere that does something odd, we're in absolute.
by Jeff Child
by Aaron Carman
by Jake Hertz