Rank: Member
Groups: BetaUser, Registered Joined: 4/4/2015(UTC) Posts: 25
Thanks: 3 times Was thanked: 1 time(s) in 1 post(s)
|
I tried it with the ESP8266 (from https://github.com/rogerclarkmel...p8266/archive/master.zip), Arduino 1.6.3 and instructions from this thread: http://www.esp8266.com/viewtopic.php?f=26&t=2164. I adjusted the pininfo.txt file with Quote: <Info> <BoardName>ESP8266</BoardName> <Tag></Tag> <DigitalPinCount>16</DigitalPinCount> <AnalogPinCount>1</AnalogPinCount> <PwmPins></PwmPins> </Info>
It compiles and uploads, although Embrio complains about "Upload timed out". The actual flashing occurs shortly after the message appears, and completes successfully. With a simple timer and blink-LED, I tested it up to 32 refresh rate. The timing program compilation reports "Compilation error", yet completes, uploads, and executes, albeit in a non-correct way. (I made a 2 sec timer, and the LED misses random certain 2 seconds)
|
 1 user thanked IngmarGuillaume for this useful post.
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 109 time(s) in 104 post(s)
|
Interesting, thanks for sharing your experiences.
For the time out issue, try changing the default 20 seconds to something higher in the View -> Options form if you haven't already.
Did you get a bigger message when Embrio thinks the connection program didn't work? I'll think about adding a more descriptive page about the connection program process to help brave folks like you debug their problems when trying something new like this.
|
|
|
|
Rank: Member
Groups: BetaUser, Registered Joined: 4/4/2015(UTC) Posts: 25
Thanks: 3 times Was thanked: 1 time(s) in 1 post(s)
|
Changing the default 20 to 60 made no difference. In the 20 sec case, the upload starts a few seconds after the error message and completes; in the 60 sec case, the upload starts and completes within the 60 seconds, and the program starts to run, and after 60 sec, the error appears as below (same as 20 sec). But as said, the upload already finished successfully in that minute.
00:14:49 Arduino upload timed out. 00:14:49 Arduino upload process finished. 00:14:49 Arduino upload timed out. 00:13:48 /C ""c:\Program Files (x86)\Arduino\arduino" --upload --verbose --port COM5 "C:\Users\Ingmar\AppData\Roaming\Embrio\ArduinoCompile\ArduinoCompile.ino\" > output.txt 2>&1\" 00:13:48 Compiling connection program...
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 109 time(s) in 104 post(s)
|
I was just looking at this thread again. What piece of hardware are you using here, can you post a link?
I just noticed that in the log you posted the upload command doesn't specify a board, this means the last board used in the Arduino IDE is used. If you can upload to this board via Arduino, you should be able to with Embrio as long as it's the last selected board in the IDE. If you put on verbose options maybe you can find the tag value and add it to the pininfo.txt
|
|
|
|
Rank: Member
Groups: BetaUser, Registered Joined: 4/4/2015(UTC) Posts: 25
Thanks: 3 times Was thanked: 1 time(s) in 1 post(s)
|
I'm using the ESP-12 on this board: http://tronixlabs.com/wireless/...2-full-evaluation-board/. As I said, it uploads correctly, but apparently there's no feedback into Embrio. Although in Arduino, the esptool.exe (the flash tool), completes correctly. The flashing needs a manual intervention (holding GPIO0 low while powering it up). The procedure should be the same for all ESP-xx boards, the only difference being the number of I/O ports (e.g. ESP01 only has 2). I thought I used verbose: c:\Program Files (x86)\Arduino\arduino" --upload --verbose?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.