nailbuster / esp8266FTPServer

Simple FTP Server for using esp8266/esp32 SPIFFs
GNU Lesser General Public License v2.1
208 stars 126 forks source link

esp8622 crash.. #24

Open wchpikus opened 5 years ago

wchpikus commented 5 years ago

esp with working wifi, www server, spiffs, socket, oled via spi. added ftp, and when transfering file esp crash. using filezilla, disconnect client when choiced transfer file (i have to connect again, wait for connection).

wchpikus commented 5 years ago

ok, and toolchain for esp? can i install from zip file or?

Monarch73 commented 5 years ago

in the workload menu of the setup, just select
image

wchpikus commented 5 years ago

https://www.visualmicro.com/page/esp8266.aspx ok tnx, and this for esp

wchpikus commented 5 years ago

Could i import project from arduino to visual? Offcource ino to c rename..

Monarch73 commented 5 years ago

to install the arduino sdk for ESP later via git:

Monarch73 commented 5 years ago

unfortunatly, there is no easy way to import arduino stuido project into visual studio....you will have to create a new visual-micro project in Visual studio and copy and paste the files manually

wchpikus commented 5 years ago

Sure, it is no problem to copy;) I sow that is possibility to debug code,is it true? Could we talk to priv, my @ wchpikus@gmail.com. Big tnx man for help, is it hard to find someone who can and like to help with esp;)

Monarch73 commented 5 years ago

I just sent you a mail...

wchpikus commented 5 years ago

to gmail? try to wchpikus@wp.pl also

wchpikus commented 5 years ago

i tried on ccp do this: U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI *u8g2;

void init_screen(){ u8g2 = new U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R0, / cs=/ 15, / dc=/ 2, / reset=/ 5); u8g2->begin(); // use -> instead of . to access methods now } and the h file:

extern U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI *u8g2; void init_screen();

and: init_screen(); in main file.. and first function u8g2.setContrast(backligth); compile error..

request for member 'setContrast' in 'u8g2', which is of pointer type 'U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI*' (maybe you meant to use '->' ?)

Could you tell me hot to declare this ssd on other files in project?

Monarch73 commented 5 years ago

u8g2 = new U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=/ 15, / dc=/ 2, / reset=*/ 5); I assume you meant:

u8g2 = new U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI(U8G2_R0, /* cs=/ 15, / dc=/ 2, / reset=*/ 5);

wchpikus commented 5 years ago

U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R0, / cs=/ 15, / dc=/ 2, / reset=/ 5); => ok

U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI(U8G2_R0, / cs=/ 15, / dc=/ 2, / reset=/ 5); =>'u8g2' was not declared in this scope after compilation for first function (u8g2.setDisplayRotation(U8G2_R2);)