Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Development => Topic started by: ian on January 24, 2010, 03:23:21 pm

Title: Bootloader v4.3 development
Post by: ian on January 24, 2010, 03:23:21 pm
Thought I'd start a new thread for v4.3 bootloader progress.

Things changed so far:
*Universal installer for v2/v4 (still have config words issue)
*Timeout with reset
*Reset tests for jumper before jumping to user app
*Correct placement for v2 upgrades

Things on the wish list:
*Print 'BOOTLOADER' if bad hello (helps user know they are talking to the bootloader in a terminal)
Title: Re: Bootloader v4.3 development
Post by: Sjaak on January 24, 2010, 08:42:11 pm
replaces lines 550-553

Code: [Select]
       btsc WFWJUMP, #0  ; skip next if not jump from firmware
       bra  blmsg
       btss PORTB, RB1    ; skip next if jumper is not place
       bra setup

blmsg: SendL #0x42 ; B
       SendL #0x4F ;o
       SendL #0x4F ;o
       SendL #0x54 ;t
       SendL #0x4c ;l
       SendL #0x4F ;o
       SendL #0x41 ;a
       SendL #0x44 ;d
       SendL #0x45 ;e
       SendL #0x52 ;r
       bra setup

Edit: doesn't this upset the loader? It doesn't use any of the 'reserved' responses though..

( ! ) 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.00902052648session_write_close ( )...(null):0
20.00942184240ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00942185016Database_MySQL->query( ).../DatabaseHandler.php:119
40.05432323744Database_MySQL->error( ).../Db-mysql.class.php:273