Page 2 of 2
Re: UMC Build Error
Posted: Sun Sep 27, 2020 9:08 pm
by Jerry Messina
I normally uncheck 'Case Sensitive' and set 'Processor' to 'default'
- Clipboard01.jpg (52.44 KiB) Viewed 3129 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)
Re: UMC Build Error
Posted: Wed Sep 30, 2020 1:46 pm
by bitfogav
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)..
DOH..
Anyway I just wanted to add that the .asm file with 2 changes works great using an 20Mhz external osc
(tested with a 18F47K42).
Code: Select all
#define DEVICE_CLOCK 20000000 ; 20MHz
#define INTOSC 0 ; 0=ext osc, 1=internal HFINTOSC
Re: UMC Build Error
Posted: Wed Sep 30, 2020 1:59 pm
by Jerry Messina
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