Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - usa303

3
Project logs / Re: "Diolan Plus" bootloader.
Trying to port this bootloader to pic18f45k50 that uses internal high-precision self tuning oscillator.

I changed fuse settings as below:
Code: [Select]
CONFIG  PLLSEL = PLL3X	    ; 3X PLL multiplier selected
CONFIG  CFGPLLEN = OFF      ; PLL turned on during execution
CONFIG  CPUDIV = NOCLKDIV    ; 1:1 mode (for 48MHz CPU)
CONFIG  LS48MHZ  = SYS48X8  ; Clock div / 8 in Low Speed USB mode
CONFIG  FOSC = INTOSCIO      ; HFINTOSC selected at powerup, no clock out
and added standard clock initialization procedure before bootloader starts (OSCTUNE, OSCCON, OSCCON2).

Bootloader starts, but PC writes that "USB device is not recognized".
Any idea what should be changed additionally to get it running?

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01152288704session_write_close ( )...(null):0
20.01182420304ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01182421080Database_MySQL->query( ).../DatabaseHandler.php:119
40.05702559824Database_MySQL->error( ).../Db-mysql.class.php:273