18f14k50

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
be80be
Registered User
Registered User
Posts: 90
Joined: Mon Feb 23, 2009 2:15 am
Location: tn

18f14k50

Post by be80be » Sun Jan 09, 2011 8:04 pm

To use 18f14k50

1. do we still need to use newer mpasm.exe
2. do we still need to edit the usb files and include file to use this chip

And one more If I set fosc = hs my chip will run fine set it to ECH

I will not run

Code: Select all

Config    
   CPUDIV = CLKDIV3,    ' 12MHz external , 48Mhz for USB_FS, 16MHz internal 
   USBDIV = OFF, 
   FOSC = HS,          ' External 12MHz clock 
   PLLEN = ON, 
   PWRTEN = ON, 
   BOREN = OFF, 
   WDTEN = OFF  
This don't

Code: Select all

Config    
   CPUDIV = CLKDIV3,    ' 12MHz external , 48Mhz for USB_FS, 16MHz internal 
   USBDIV = OFF, 
   FOSC = ECH,          ' External 12MHz clock 
   PLLEN = ON, 
   PWRTEN = ON, 
   BOREN = OFF, 
   WDTEN = OFF  

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Mon Jan 10, 2011 8:25 am

> 1. do we still need to use newer mpasm.exe

Yes

> 2. do we still need to edit the usb files and include file to use this chip

Yes. See

http://www.sfcompiler.co.uk/forum/viewtopic.php?t=1246

be80be
Registered User
Registered User
Posts: 90
Joined: Mon Feb 23, 2009 2:15 am
Location: tn

Post by be80be » Mon Jan 10, 2011 7:09 pm

Thanks

Post Reply