Search found 30 matches

by rosenrot
Sun May 21, 2017 7:24 am
Forum: ESP8266 boards
Topic: Shift register (74HC595) controlling via SPI
Replies: 6
Views: 10392

Re: Shift register (74HC595) controlling via SPI

I checked the example from 2015.

The shiftregister class is just forwarding your byte while toggling some required pins.

Calling

Code: Select all

sr.shift(0b01010101)
does not work for you?
by rosenrot
Sat May 20, 2017 6:25 am
Forum: ESP8266 boards
Topic: ESP8266 Building and flashing OTA firmware
Replies: 12
Views: 15045

Re: ESP8266 Building and flashing OTA firmware

On pfalcon github repo it is said "Each datagram is signed with RSA private key. Only someone with a valid private key may produce valid datagrams, information from which ota-server will flash as a user application. ( The public key is configured when building ota-server .)". Look at the comments i...
by rosenrot
Thu May 18, 2017 6:53 am
Forum: ESP8266 boards
Topic: ESP8266 Building and flashing OTA firmware
Replies: 12
Views: 15045

Re: Building and flashing OTA firmware

Up to now, I have not used it but on the download page it is stated: "The first time you use this build you need to flash one of the "initial image" images using esptool.py as described above. After that, you can update the firmware over the air using the "OTA update" file in conjunction with the o...
by rosenrot
Thu May 18, 2017 6:42 am
Forum: ESP8266 boards
Topic: ESP8266 Building and flashing OTA firmware
Replies: 12
Views: 15045

Re: Building and flashing OTA firmware

I tried to

Code: Select all

make deploy
the custom build firmware-ota.bin without a preceding flash_erase. The esp8266 was stuck in a bootloop. I guess I have to erase first?

Why there is no answer yet about how to deploy custom ota firmware? Is it because it is not yet implemented?
by rosenrot
Wed May 17, 2017 8:54 am
Forum: ESP8266 boards
Topic: ESP8266 Building and flashing OTA firmware
Replies: 12
Views: 15045

ESP8266 Building and flashing OTA firmware

How do I use the yaota8266 script to flash my own ota firmwares?

I can create the firmware via

Code: Select all

make ota
Do I have to flash the initial ota image provided http://micropython.org/download#esp8266 first?
Or just flashing my image via

Code: Select all

make deploy
and afterwards I can use the yaota8266?

Thanks
by rosenrot
Sun May 14, 2017 6:54 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 9067

Re: Building Micropython for ESP8266

Actually it was a esp-14 but I did not see trouble in the beginning (I wrote it 1000 times). Maybe it was even a loose pin because now gpio0 broke away, that is the end for this module.
by rosenrot
Sun May 14, 2017 1:48 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 9067

Re: Building Micropython for ESP8266

It is solved. I used another vm with esptools v1.2 which was actually giving me an verification error after writing.

Tried another esp8266 and everything worked.

Thanks a lot!!!
by rosenrot
Sat May 13, 2017 10:14 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 9067

Re: Building Micropython for ESP8266

So the size fits.

Another possiblity would be a faulty flash chip. Could I exclude this by using the --verify parameter on esptool?

I will try another esp8266 tomorrow.
by rosenrot
Sat May 13, 2017 7:39 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 9067

Re: Building Micropython for ESP8266

I use esptools v2.0-beta3 and it does not allow me to set those parameters. When I erase the chip it tells me that it is 1M, so it should be fine. ESP2866Flasher lets me set 1M but same result. So my problem still exists. Could you tell me what the size of your firmware-combined.bin is? Mine is 560k...
by rosenrot
Sat May 13, 2017 2:15 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 9067

Re: Building Micropython for ESP8266

I'm building it within a hyperv machine on windows so I do not have access to the serial port. Unfortunately. I will change this I'm using a esp-14 which I think is only 1M. How do I adjust to 1M? One more question, how do I add a main.py file to my build? I want it to be in the root directory of my...