Page 6 of 23

Re: Drivers for ESP modules

Posted: 01 Apr 2020 18:07
by terriblefire
I verified that it works fine with the Roadshow demo too.

Re: Drivers for ESP modules

Posted: 01 Apr 2020 18:11
by theq
I think I’ve killed my ESP-01S’. Can’t get the first part of the firmware to stick (fault on verify).
Ordered new ones. Hope I get them by this weekend.

My ESP32 is working great, though.

Re: Drivers for ESP modules

Posted: 01 Apr 2020 19:47
by terriblefire
theq wrote: 01 Apr 2020 18:11 I think I’ve killed my ESP-01S’. Can’t get the first part of the firmware to stick (fault on verify).
Ordered new ones. Hope I get them by this weekend.
Well the whole idea with these things was they were cheaper than a beer. Thats why i picked them

Re: Drivers for ESP modules

Posted: 01 Apr 2020 20:35
by theq
terriblefire wrote: 01 Apr 2020 19:47 Well the whole idea with these things was they were cheaper than a beer. Thats why i picked them
Yeah, they are dirt cheap. :)

Think I’ve killed them. «Might« have connected them to 5V... Able to communicate with them, so will see when I get some replacements.

Re: Drivers for ESP modules

Posted: 01 Apr 2020 20:51
by terriblefire
Sounds more like a gubbed programmer.

Re: Drivers for ESP modules

Posted: 02 Apr 2020 04:47
by matt020
Does the ESP8266 have to be reprogrammed to run at 38400? Can it run at 115000 in the TF330?

Edit: Im reading and re-reading this thread, and Im just seeking clarity as to weather an ESP8266 has to be updated/upgraded/modified with any firmware of config in order to work with the TF330. Does https://github.com/martin-ger/esp_slip_router need to be applied?

Or will an ESP8266 just work out of the box in the TF330 and a TCP/IP stack installed... ?

Re: Drivers for ESP modules

Posted: 02 Apr 2020 08:24
by theq
matt020 wrote: 02 Apr 2020 04:47 Does the ESP8266 have to be reprogrammed to run at 38400? Can it run at 115000 in the TF330?
Yes, they need to be programmed and they can run at 115200 in the TF330.
matt020 wrote: 02 Apr 2020 04:47 Or will an ESP8266 just work out of the box in the TF330 ... <snipp>... ?
No, they won't.

You can program these with, and not limited to, i.e. a Raspberry Pi or a USBtoSerial-dongle thingy.
The software for these can be found online for free.

Re: Drivers for ESP modules

Posted: 02 Apr 2020 17:58
by theq
Got my ESP-01S' working.
Was picky on the programming method with esptool.py.
Had to use "--flash_mode dout" to get it to flash properly.

Next thing is to solder it to the ESP-header on my TF330 board ;)

Re: Drivers for ESP modules

Posted: 02 Apr 2020 18:43
by theq
terriblefire wrote: 01 Apr 2020 12:06 Simple AmigaDOS script to set everything up for you. You need to have installed roadshow (maybe also with roadshow demo?) and downloaded http://aminet.net/package/comm/net/cslip-sana2.lha into the same folder as the script... see the zip attached.

Caveat is that it wipes your current settings clean and uses 8.8.8.8 for DNS resolution. You can update that if needed.

Code: Select all

; (C) 2020 Stephen J. Leary  
;
echo "Removing old slip.device"
IF EXISTS DEVS:Networks/slip.device
	delete DEVS:Networks/slip.device
EndIf

echo "Installing slip.device"
lha -q x cslip-sana2.lha ram:
copy QUIET ram:slip/slip.device DEVS:Networks/

IF NOT EXISTS ENVARC:Sana2
	echo "Creating SANA2 Config folder"
	MAKEDIR ENVARC:Sana2
ENDIF 

echo "Creating slip0.config" 
echo >envarc:Sana2/slip0.config "# Auto generated file" 
echo >>envarc:Sana2/slip0.config "serial.device 0 38400 192.168.240.2"

echo "Create network interface"
echo >devs:NetInterfaces/Slip "# $VER: SLIP 1.1 (1.4.2020)"
echo >>Devs:NetInterfaces/Slip "interface=Slip"
echo >>devs:NetInterfaces/Slip "device=slip.device"
echo >>devs:NetInterfaces/Slip "unit=0"
echo >>devs:NetInterfaces/Slip "address=192.168.240.2"
echo >>devs:NetInterfaces/Slip "netmask=255.255.255.0"
echo >>devs:NetInterfaces/Slip "requiresinitdelay=no"

echo "Create routes file"
echo >Devs:Internet/Routes default 192.168.240.1


echo "Create name_resolution file"
echo >Devs:Internet/name_resolution nameserver 8.8.8.8

literally unzip the zip file and type "Execute install_script" at a cli.
Your install_script worked perfectly.
Only thing I had to change was:

From:

Code: Select all

echo >>envarc:Sana2/slip0.config "serial.device 0 38400 192.168.240.2"
To:

Code: Select all

echo >>envarc:Sana2/slip0.config "serial.device 0 115200 192.168.240.2"
Thanks! :D

Re: Drivers for ESP modules

Posted: 02 Apr 2020 18:44
by terriblefire
:fire: :fire: :fire: :cheer: