Dangerous Prototypes

Other projects => Past projects => Web platform => Topic started by: hae on June 29, 2012, 09:28:09 pm

Title: Bootloader info with web platform v1.1
Post by: hae on June 29, 2012, 09:28:09 pm
Hello,

I received my board. Now I am trying to load a sample application.
I started dsloader30GUI.exe selected the baudrate 19200 and pressed the button "check for bl". The answer I get is:

Quote
Searching for bl . response timed out
Found PIC24FJ128DA110
Firmware version timed out

This can't be true. So I checked with several other baudrates  With 115200 I have different answer:

Quote
Searching for bl . response timed out
Found unknown device id(193/0xC1), fw version timed out

This is really puzzling. I'd expected the tool to work out of the box.
The d30loader has version 1.5.1 (engine 2.2.2)

Can anyone shed some light into this mess?
By the way I am using it on Linux - in case it matters.

Thanks RĂ¼diger
Title: Re: Bootloader info with web platform v1.1
Post by: dpropicweb on June 30, 2012, 01:33:41 am
The correct baud rate is 115200. Not sure where you got 19200 from?

Are you using the DS30 from: http://code.google.com/p/dangerous-prot ... 253Dclosed (http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/trunk/Web_Platform/#Web_Platform%2Ffirmware%2Fbootloader-mackey%2Fbin%253Fstate%253Dclosed) ?

Did you set the family and device options in DS30?
Title: Re: Bootloader info with web platform v1.1
Post by: hae on June 30, 2012, 06:57:25 am
Seems I downloaded the wrong files.
With the files you pointed at (ds30 loader 1.35, engine 1.34) it finds the bootloader but does not detect the device.

[attachment=0]
Title: Re: Bootloader info with web platform v1.1
Post by: dpropicweb on June 30, 2012, 10:31:27 am
What happens if you press the web platform tactile switch?  Does LED1 light and stay lit for about 3.5 seconds?

If LED1 does not light and stay on for at least 3 seconds, then I would have to conclude that there is no bootloader or it's been corrupted.
Title: Re: Bootloader info with web platform v1.1
Post by: hae on June 30, 2012, 09:05:17 pm
Reaction when I press the tactile switch (S1)
1. LD1 goes on for about 3 seconds
2. After about 3 seconds LD1 goes into blinking mode and LD2 goes on and stays on.
Title: Re: Bootloader info with web platform v1.1
Post by: dpropicweb on July 01, 2012, 12:29:00 am
Well the good news is that it looks like the bootloader is operational.

Does the original firmware that the web platform came with work?
Title: Re: Bootloader info with web platform v1.1
Post by: hae on July 01, 2012, 07:58:51 am
I haven't found what the original software is supposed to to.
http://http://dangerousprototypes.com/docs/Web_platform_firmware talks about different examples but does not say this is the firmware it is delivered with. Maybe I have overlooked it.
Title: Re: Bootloader info with web platform v1.1
Post by: dpropicweb on July 01, 2012, 11:06:39 am
The web platform should obtain a DHCP IP address and should ping. Additonally, if you http to it, you should get:

Code: [Select]
404: File not found
Use MPFS Upload to program web pages

The default firmware is the EEPROM web server.
Title: Re: Bootloader info with web platform v1.1
Post by: hae on July 01, 2012, 02:56:37 pm
Thanks will test it and report back.
Title: Re: Bootloader info with web platform v1.1
Post by: hae on July 04, 2012, 08:36:51 pm
Hi. It works I can ping to the board.
When I access it with the browser I can try an mpfs upload. What is this for? For uploading a firmware or an html file?

RĂ¼diger
Title: Re: Bootloader info with web platform v1.1
Post by: dpropicweb on July 04, 2012, 11:07:01 pm
Great news - there doesn't seem to be anything wrong with your web platform hardware.

As for the mpfs upload, see: http://dangerousprototypes.com/docs/Web ... uick_start (http://dangerousprototypes.com/docs/Web_platform_quick_start)

Did you manage to get ds30 working?

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