PIC-MAXI-WEB: How to reset corrupt web flash

Started by toozie21, March 10, 2015, 01:05:00 AM

Previous topic - Next topic

toozie21

So today I attempted to change the value of the mac and the hostname of my device, made the change and then restarted the unit.  Now it is reporting an IP address of 255.255.0.192.  Those first two octects aren't even valid, so I have no way to go into the device to make changes now.

So two questions
1 - How can I re-update the flash webserver when it is corrupted like this?

anda
2 - Why did this happen?  All I did was chance the last character of the default MAC to be a 1, and add a 1 to the end of the default hostname.

toozie21

OK, I see how to reset to the default networking configuration by holding BUT1 down, pressing the reset button, and continuing to hold BUT1 down until LD0 LD1 and LD2 blink (4 seconds).  That works great and saves my bacon.

It doesn't explain though why when I make any changes (or no changes even, just clicking save on the old data that is there), it is causing the IP address to be reported as 255.255.0.192.  It seems sort of telling that the last octet is what is supposed to be the first value of the IP, so it is almost like they are grabbing bytes from the wrong places.

If someone could help point me in the right direction for fixing this, that would be great!