Giter VIP home page Giter VIP logo

Comments (6)

lyusupov avatar lyusupov commented on July 17, 2024

On rc1 the WebUI is available on 192.168.1.1

from softrf.

MaUwJo avatar MaUwJo commented on July 17, 2024

The Wifi vanishes each time I get this:
Fatal exception:4 flag:3 (SOFT_WDT) epc1:0x400005cb epc2:0x00000000 epc3:0x00000000 excvaddr:0x00000028 depc:0x00000000
on the serial line.
IP-Address ist 192.168.4.2 with a gateway of 192.168.4.1

Thanks for the support.

from softrf.

lyusupov avatar lyusupov commented on July 17, 2024

try out with GNSS module been detached.

Use "code" Markdown tag to bracket log's data. It is unreadable otherwise.

from softrf.

MaUwJo avatar MaUwJo commented on July 17, 2024

Maybe my problem is that I don't have the GNSS module attached. :-)
Is there an other firmware for the "SoftRF Prime Edition" with no GNSS attached?

Thanks

from softrf.

lyusupov avatar lyusupov commented on July 17, 2024

Reproduction of the report on Prime with "LoRa" :

pi@raspberrypi:/run/tmp $ wget https://github.com/lyusupov/SoftRF/raw/master/software/firmware/binaries/SoftRF-firmware-v1.0-rc1.bin
--2018-02-20 09:52:12--  https://github.com/lyusupov/SoftRF/raw/master/software/firmware/binaries/SoftRF-firmware-v1.0-rc1.bin
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/lyusupov/SoftRF/master/software/firmware/binaries/SoftRF-firmware-v1.0-rc1.bin [following]
--2018-02-20 09:52:13--  https://raw.githubusercontent.com/lyusupov/SoftRF/master/software/firmware/binaries/SoftRF-firmware-v1.0-rc1.bin
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.12.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.12.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 405840 (396K) [application/octet-stream]
Saving to: ‘SoftRF-firmware-v1.0-rc1.bin’

SoftRF-firmware-v1.0-rc1.bin      100%[===========================================================>] 396.33K   932KB/s    in 0.4s

2018-02-20 09:52:13 (932 KB/s) - ‘SoftRF-firmware-v1.0-rc1.bin’ saved [405840/405840]

pi@raspberrypi:/run/tmp $ ls -l SoftRF-firmware-v1.0-rc1.bin
-rw-r--r-- 1 pi pi 405840 Feb 20 09:52 SoftRF-firmware-v1.0-rc1.bin

pi@raspberrypi:/run/tmp $ ./esptool-2.2.1/esptool.py --port /dev/ttyUSB0 erase_flash
esptool.py v2.2.1
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 14.5s
Hard resetting...

pi@raspberrypi:/run/tmp $ ./esptool-2.2.1/esptool.py --port /dev/ttyUSB0 write_flash 0x00000 SoftRF-firmware-v1.0-rc1.bin
esptool.py v2.2.1
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 405840 bytes to 285743...
Wrote 405840 bytes (285743 compressed) at 0x00000000 in 26.5 seconds (effective 122.6 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting...

Boot log of the Prime in a separate minicom's window:

Reset reason: 6
External System
Free heap size: 32104
Fatal exception:0 flag:6 (EXT_SYS_RST) epc1:0x00000000 epc2:0x00000000 epc3:0x00

Warning! EEPROM magic mismatch! Loading defaults...
EEPROM version: 90
SX1276 RFIC is detected.

Failed to open cl_conf.txt.
No WiFi connection information available.
Wait for WiFi connection.
....................
Can not connect to WiFi station. Go into AP mode.
Setting soft-AP configuration ... Ready
Setting soft-AP ... Ready
IP address: 192.168.1.1
UDP server has started at port: 12389
HTTP server has started at port: 80

Ok. Everything is just fine!

Back to original report:

Hi,
I have installed it to my board with the command:
esptool.py --port /dev/ttyUSB2 write_flash 0x00000 SoftRF-firmware-v1.0-rc1.bin
Connecting...
Erasing flash...
Wrote 406528 bytes at 0x00000000 in 39.3 seconds (82.8 kbit/s)...

The firmware's file size here is 406528.
And it has to be (see my log above): 405840

So, go download the firmware file correct way and then repeat the flashing procedure.

Resolution: Invalid

from softrf.

MaUwJo avatar MaUwJo commented on July 17, 2024

Thank you very much. I used an old version of esptool.py
markus@matrix:~$ cat /home/markus/hack/nodemcu/esptool/esptool.py| grep Cop

Copyright (C) 2014 Fredrik Ahlberg

markus@matrix:~$ cat /usr/local/bin/esptool.py | grep Cop

Copyright (C) 2014-2016 Fredrik Ahlberg, Angus Gratton, Espressif Systems (Shanghai) PTE LTD, other contributors as noted.

I installed the new one with

pip2.7 install esptool

You wrote:
At first I've made a quick port of the FANET onto NodeMCU (ESP8266) and Semtech SX1276 radio
... can you upload it?

Thank you very much.

from softrf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.