How to develop using VisualStudio plugin

Mark81
Posts: 4
Joined: Tue Mar 28, 2017 2:56 pm

How to develop using VisualStudio plugin

Postby Mark81 » Fri Apr 07, 2017 2:28 am

Hello!
I did the following steps:

  • downloaded the plugin for VisualStudio 2017 (ESP8266Wizard 1.0)
  • created a new ESP8266Firmware project with this options: Non-OS SDK, ver 2.0.0, from example IoT_Demo
  • in the property window of the project I set the COM Port to the actual port name of my TTL-USB dongle
  • hooked up my WROOM-02 as described here: http://www.espressif.com/sites/default/ ... e_en_0.pdf
  • tied IO0 to GND
  • compiled in Release mode

Here the output:

1>------ Inizio compilazione: Progetto: ESP8266Firmware1, Configurazione: Release ARM ------
1>Compiling driver\i2c_master.c with static dependency...
1>Compiling driver\key.c with static dependency...
1>Compiling user\user_devicefind.c with static dependency...
1>Compiling user\user_esp_platform.c with static dependency...
1>Compiling user\user_esp_platform_timer.c with static dependency...
1>Compiling user\user_json.c with static dependency...
1>Compiling user\user_light.c with static dependency...
1>Compiling user\user_light_adj.c with static dependency...
1>Compiling user\user_main.c with static dependency...
1>Compiling user\user_plug.c with static dependency...
1>Compiling user\user_sensor.c with static dependency...
1>Compiling user\user_webserver.c with static dependency...
1>Archive [driver.a] Static Library...
1>Archive [user.a] Static Library...
1>Linking...
1>Object Copy -> export .text section...
1>Object Copy -> export .data section...
1>Object Copy -> export .rodata section...
1>Object Copy -> export .irom0.text section...
1>Generate : C:\Users\Mark\ESP8266Firmware1\ESP8266Firmware1\Generated Files\Release\ESP8266Firmware1.eagle.flash(0x00000).bin...
1>Generate : C:\Users\Mark\ESP8266Firmware1\ESP8266Firmware1\Generated Files\Release\ESP8266Firmware1.eagle.irom0text.bin(0x40000).bin...
1>*** Flash Table **************************************
1>ESP Init Data adresss : 0xFC000
1>Blank Data adresss : 0xFE000
1>eagle.flash adresss : 0x00000
1>eagle.irom0text adresss : 0x40000
1>*** Flash Info **************************************
1>Connecting ................ connection attempt failed
1>Flash Stop... : warning : Flash tool seem to not respond, verify cable and power supply.
1>Compilazione progetto "ESP8266Firmware1.vcxproj" completata.
========== Compilazione: 1 completate, 0 non riuscite, 0 aggiornate, 0 ignorate ==========


I put the oscilloscope probe on the TX line of the serial dongle and there was no activity at all.
I'm sure it works because sending chars from a terminal to the same COM port leads to see the sent bytes.

Hence, two questions:

  1. I need to configure something other in order to let VisualStudio try to download the firmware?
  2. in which document I find the settings for the WROOM-02 module? I'm talking about: SPI and flash parameters

Who is online

Users browsing this forum: Bing [Bot] and 8 guests