I feel like a bit of a n00b for not being able to run the MCStackDemo firmware from my web platform board.
I've followed the steps contained in http://http://dangerousprototypes.com/docs/Web_platform_quick_start
The firmware loads successfully, but I never see the web platform request an address from my DHCP server, and no address is broadcast via SNMP.
I'm stumped on where to start diagnosing the problem. Any suggestions?
--Eric
Perhaps you could give us some more information...
* your computer operating system?
* how you have the web platform connected to the network?
* what are you using for your dhcp server?
* does the web platform heartbeat LED flash once a second after you load the firmware?
* did the original web server in the shipped firmware work before you changed it?
Sorry about that!
OS: Windows 7 Ultimate
The web platform is connected to the network via an Ethernet cable. The cable goes to a switch, which is in turn connected to my Linksys router running dd-wrt firmware. Many other devices on my network are able to obtain a lease from router dhcp server.
LD2 flashes once every ~3 seconds on powering up the board. Once dp-wp-stackdemo.v0b.hex has been downloaded to the board, LD2 continues to flash at the same interval. The bootloader must still be active and not starting the downloaded code since LD2 flashes at the same interval described above, and I can download a file to the board anytime, not within 3.5 seconds of powering on or pressing reset.
I didn't try the original web server before downloading. My bad.
--Eric
Hi Eric,
I'm sorry about the problem with the web platform.
Curious. When the bootloader is active, the LED should be solid on. The stack demo blinks the LED. You should not be able to upload a firmware while the LED is blinking.
If it is a very long blink (3.5s?) then maybe it is constantly cycling in and out of the bootloader. It's unfortunate we don't have a validation test. Maybe TREV has some suggestions, I'm sorry, I'm kind of stumped.
[quote author="ericgla"]
LD2 flashes once every ~3 seconds on powering up the board.
[/quote]
LD2, really? The heartbeat LED is LD1. I'll assume you meant LD1 unless you confirm otherwise.
That sounds to me like the PIC is resetting every ~3 seconds... perhaps a corrupted bootloader. Did you use the ds30 loader that came with the web platform software archive?
Once dp-wp-stackdemo.v0b.hex has been downloaded to the board, LD2 continues to flash at the same interval. The bootloader must still be active and not starting the downloaded code since LD2 flashes at the same interval described above, and I can download a file to the board anytime, not within 3.5 seconds of powering on or pressing reset.
I somehow doubt the firmware is being successfully downloaded :-( What does the message window show when you download the firmware to the board?
When you press the reset button, LD1 should instantly light and stay lit for approx 3.5 seconds. What happens on yours?
I didn't try the original web server before downloading. My bad.
Alas, it always pays to establish a known baseline before you start tinkering.
I'm happy to reflash it for you if needed.
LD2, really? The heartbeat LED is LD1. I'll assume you meant LD1 unless you confirm otherwise.
Correct, LD2 flashes once every ~3 seconds. I used the bootloader contained in the archive, and also tried the latest version (1.41) of the bootloader with the same results.
When you press the reset button, LD1 should instantly light and stay lit for approx 3.5 seconds. What happens on yours?
LD1 is always on.
With LD2 flashing at that interval and the bootloader always being active, I would agree that either the bootloader is corrupted. Ian, how do I get the board to you for reflashing?
--Eric