Weird baud rate problem
Posted: Wed Oct 19, 2016 3:05 am
Hi!
I'm trying to reflash a commercial wifi socket with my own firmware.
When trying to flash using the espriff tool it fails with invalid header. Using any flashing util works but the code doesn't run. I've since tried flashing some of the small arduino examples and while they flash and run there are 2 problems:
1) the wifi doesn't appear to work - nothing found.
And the strange one - setting the baud to say 9600 in code (Serial.begin(9600);) results in the com port only being readable at 14400!!
And using Serial.begin(74880) the port is only readable at 115200?!
Anyone got any idea?
Using reliable psu, soldered connections etc and the plug worked ok with its own firmware..
The flash chip marking are:
Winbond 25Q????NIG / 1516
I'm trying to reflash a commercial wifi socket with my own firmware.
When trying to flash using the espriff tool it fails with invalid header. Using any flashing util works but the code doesn't run. I've since tried flashing some of the small arduino examples and while they flash and run there are 2 problems:
1) the wifi doesn't appear to work - nothing found.
And the strange one - setting the baud to say 9600 in code (Serial.begin(9600);) results in the com port only being readable at 14400!!
And using Serial.begin(74880) the port is only readable at 115200?!
Anyone got any idea?
Using reliable psu, soldered connections etc and the plug worked ok with its own firmware..
The flash chip marking are:
Winbond 25Q????NIG / 1516