Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 17:36 19 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : ESP8266 as a VT100 terminal

     Page 2 of 2    
Author Message
bigfix
Senior Member

Joined: 20/02/2014
Location: Austria
Posts: 124
Posted: 10:08am 27 May 2017
Copy link to clipboard 
Print this post

This looks VERY useful


Have a look at more details on the authors Blog
ondrovo.com
There are two PDF Docs with more details

But how this is programmed into the ESP ?
I could not find any image to flash - need to build the image first ??
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2294
Posted: 11:06am 27 May 2017
Copy link to clipboard 
Print this post

it would be great if one of the ESP8266 experts out there could build a binary image, the MightyPork and ondrovo links do look like exactly what i originally had in mind


cheers,
rob :-)

 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 529
Posted: 06:30pm 06 Jun 2017
Copy link to clipboard 
Print this post

When this gets going maybe add XMODEM file operations.
Edited by Quazee137 2017-06-08
 
bigfix
Senior Member

Joined: 20/02/2014
Location: Austria
Posts: 124
Posted: 08:58pm 06 Jun 2017
Copy link to clipboard 
Print this post

I am in contact with Ondrej from Prague, who wrote this SW
Very friendly & responsive guy !
I donated some beer money to him to honor his efforts
(still miss the donate button from Geoff ..)

I could not test it yet, as my ESP01s are hiding somewhere
Hopefully I get some end of the week

I asked Ondrej to add the following nonvolatile setups:

- DHCP/Static, set IP / mask
- changeable baudrate
- default screensize
- configurable password for config

I think it is best having a "pure" dumb VT100 screen,
with all the security done in the MMite

But the setup of the ESP needs to be somewhat protected against casual users

Most likely we can get a separate setup page, not linked from the VT100 Page
(You need to manually enter the URL for safety reasons)
The password maybe initially static, only used to save changes

I also asked him to find a way (via Setup page) to switch off the VT100 engine and redirect the MMite serial port to a TCP socket
This should allow all normal host based development tools to be used
(TeraTerm, MMedit etc.) without physically changing things

If you want to play with the current version:
VT100 ESP Image


Instructions from Ondrej:
Basically, there are two options
- the flasher from Espressif, and esptool.py (requires Python to be installed)


(A) Espressif download tool


The EXE should be available here, but I have not tried the current version. The older one was ugly and not at all intuitive, but did the trick.
https://espressif.com/en/support/download/other-tools





(B) esptool



It's best to do this on Linux or Mac.
I have not tried using Python on Windows, but it is possible.



With esptool.py (https://github.com/espressif/esptool), the command is:


esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash 0x00000 0x00000.bin 0x40000 0x40000.bin



/dev/ttyUSB0 - change to your USB-serial device
(on Windows, that is COM1 or something)

460800 (baud rate) works fine for me, but with some bad USB-serial adapters,
you need to lower the speed. Try perhaps 115200.



This is what the console output should look like for ESP-01:


$ esptool --port /dev/ttyUSB0 --baud 460800 write_flash 0x00000 0x00000.bin 0x40000 0x40000.binÂ
esptool.py v1.3
Connecting....
Auto-detected Flash size: 8m
Running Cesanta flasher stub...
Flash params set to 0x0020
Wrote 40960 bytes at 0x0 in 0.9 seconds (355.4 kbit/s)...
Wrote 233472 bytes at 0x40000 in 5.6 seconds (334.3 kbit/s)...
Leaving...







 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3027
Posted: 03:32am 07 Jun 2017
Copy link to clipboard 
Print this post

This looks very useful, especially with access to a helpful developer.

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 12:13am 08 Jun 2017
Copy link to clipboard 
Print this post

The Bypic guys have THIS.
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024