Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Slip Router starts then seems to reboot #6

Open
lorneb opened this issue Aug 3, 2018 · 2 comments
Open

Slip Router starts then seems to reboot #6

lorneb opened this issue Aug 3, 2018 · 2 comments

Comments

@lorneb
Copy link

lorneb commented Aug 3, 2018

Hi I'm using the latest bin files from the firmware folder dated 16 days ago (as of today)
on a esp8266 12F module, that has been running other firmware compiled from Arduino"for ages without issue. I have also tried loading the esp_init_data_default_v08_vdd33.bin @ 0x3FC000 but made no difference. I'm using a raspberry pi2 with raspbian and configured it with the ones from your instructions relating to AP mode.

I get this on debug out put
SLIP Interface V1.0 starting

Config found and loaded

<>

if I watch the serial output @74880 I get then, over and over (delay of a few seconds between)
"@ªrjrA(¡‹SËu‹P�v›X¥(ý«Pyjuh)…"8át‡íÍNÈ~�PÊTš��1Æ¡e\º�ËY@íYM/=ání*E"HèIîA,R%¡ù¨E,R·1�)ÔvAm1Æ¡{~A,=áníU"HhInA,tZ
år‡,R·1�)ÄvAí1Æ¡ûþA.=áníe¢ÈèInA,ò%áÝîA,ò%árf cal sector: 1019
freq trace enable 0
rf[112] : 00
rf[113] : 00
rf[114] : 01

SDK ver: 2.2.0-dev(9422289) compiled @ Nov 3 2017 19:40:08
phy ver: 1136_0, pp ver: 10.2

SOFTUART initialize gpio
SOFTUART bit_time is 52
SOFTUART TX INIT DONE
SOFTUART RX INIT DONE
SOFTUART INIT DONE

<>

Just after a few pointers to try thanks in advance

@martin-ger
Copy link
Owner

Please do one HW (or power cycle) reset after flashing.

@lorneb
Copy link
Author

lorneb commented Aug 3, 2018

Thanks @martin-ger
I gave that a try, still the same though, seems to restart every 5 seconds.

this is the output from my Rpi.
root@raspberrypi:/var/log# slattach -d -v -L -p slip -s 115200 /dev/ttyUSB0
slattach: tty_open: looking for lock
slattach: tty_open: trying to open /dev/ttyUSB0
slattach: tty_open: /dev/ttyUSB0 (fd=3) slattach: tty_set_speed: 115200
slattach: tty_set_databits: 8
slattach: tty_set_stopbits: 1
slattach: tty_set_parity: N
slip started on /dev/ttyUSB0 interface sl0

I then did in a separate window:
ifconfig sl0 192.168.240.2 pointopoint 192.168.240.1 up mtu 1500
route add -net 192.168.4.0/24 gw 192.168.240.1

but cannot ping 192.168.240.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants