Dangerous Prototypes

Other projects => Past projects => Web platform => Topic started by: stevjj on March 04, 2010, 10:53:12 am

Title: ds30 Loader Found unknown device
Post by: stevjj on March 04, 2010, 10:53:12 am
Hey i'm having trouble getting my web platform to work.
Under the settings dsPIC33FJ, 128GP204, 115200 I am continually getting the error: Found unknown device id(193) fw ver. 9.9.9. This occurs when running the 'check for bl' command and 'download' command, so i can't modify anything on the board.
I've tried different device ids, bauds and programmers all to the same effect.

Anyone got ideas?
Title: Re: ds30 Loader Found unknown device
Post by: Markus Gritsch on March 04, 2010, 09:17:03 pm
The bootloader on the Web Platform must be running when trying to upload.  To achive this, you have to press the reset switch S1 on the Web Platform, and then, within 2.5 seconds, perform the upload using the ds30 Loader application.
Title: Re: ds30 Loader Found unknown device
Post by: ian on March 05, 2010, 09:02:09 am
Hey stevjj, sorry you're having a problem uploading new firmware.

Those settings look correct. Is it set to the correct serial port? What operating system are you using?

Are you trying to connect while the LD LED is on, immediately after pressing the reset button?

It's possible the bootloader is damaged. I probably have someone nearby who could flash it for you.
Title: Re: ds30 Loader Found unknown device
Post by: stevjj on March 05, 2010, 11:27:15 am
Hey Ian,
 Yeah its the correct serial port. The bootloader is reacting to the reset and trying to detect it, I suspected the bootloader is broken too. Furthermore there are no LEDs visible with the usb plugged in.
Work has a bunch of PIC programmers, so i'll just borrow one of them.
Title: Re: ds30 Loader Found unknown device
Post by: chiaznal on March 05, 2010, 11:52:26 pm
The preferred way is this:
1. press download
2. reset board

Only press check for bootloader if your intention is to only check if a bootloader is present.
Title: Re: ds30 Loader Found unknown device
Post by: wallabybob on March 07, 2010, 11:35:39 pm
[quote author="stevjj"]
Furthermore there are no LEDs visible with the usb plugged in.
[/quote]
Are you expecting power for the board from the USB port? It needs a separate power supply. When my board is plugged into the USB port alone, none of the LEDs come on. When I plug in a 4xAA battery pack the PWR LED comes on as do the SD, LD1 and LD2 LEDs.

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