UMC Build Error

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

Jerry Messina
Swordfish Developer
Posts: 1205
Joined: Fri Jan 30, 2009 6:27 pm
Location: US

Re: UMC Build Error

Post by Jerry Messina » Sun Sep 27, 2020 9:08 pm

I normally uncheck 'Case Sensitive' and set 'Processor' to 'default'
Clipboard01.jpg
Clipboard01.jpg (52.44 KiB) Viewed 18 times
If there are any error messages it'll produce a .ERR file with the line number + message.
It also produces a .O file (which you don't need)

bitfogav
Registered User
Registered User
Posts: 165
Joined: Sat Oct 09, 2010 1:39 pm
Location: United Kingdom

Re: UMC Build Error

Post by bitfogav » Wed Sep 30, 2020 1:46 pm

Thank you Jerry, It helps if you're not trying to compile the .asm file that's in a folder on you're Desktop (I was getting multiple build errors using the Mpasm interface).. :oops: DOH..

Anyway I just wanted to add that the .asm file with 2 changes works great using an 20Mhz external osc :D (tested with a 18F47K42).

Code: Select all

   #define DEVICE_CLOCK             20000000    ; 20MHz
   #define INTOSC                   0           ; 0=ext osc, 1=internal HFINTOSC

Jerry Messina
Swordfish Developer
Posts: 1205
Joined: Fri Jan 30, 2009 6:27 pm
Location: US

Re: UMC Build Error

Post by Jerry Messina » Wed Sep 30, 2020 1:59 pm

Thanks for checking that out.

Just fyi... the intosc of the K42 should be accurate enough for serial use in most cases (spec is 2% over range 0-60degC)
That'll let you run up to 64MHz

Post Reply