Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts 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.01232288112session_write_close ( )...(null):0
20.01272419688ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01272420464Database_MySQL->query( ).../DatabaseHandler.php:119
40.05772559184Database_MySQL->error( ).../Db-mysql.class.php:273