esp8266/Arduino

Arduino IDE Add-on : Serial Monitor for ESP8266

mytrain opened this issue · 30 comments

For the ones interested in I've recently developed an add-on for the ARDUINO IDE in order to be able to use the Serial Monitor with an ESP8266 generic module.

menu
The add-on is available in the menu under 'Tools> ESP8266 Modify Serial Monitor' and starts a modified version of the Serial Monitor with 3 extra widgets:

  • A 'clear' button to reset the content of the terminal
  • A 'reset' check-box to set the status of the RTS signal (RESET)
  • A 'programmation' check-box to set the status of the DTR signal

NOTE : Arduino Serial Monitor shall not be started otherwise modified one will not be available. Restart the IDE if you started the Arduino Serial Monitor before.

On start 'reset' is checked and 'programmation' is none that will reset the ESP8266 . Un-check 'reset' to get the board running.

modified serial monitor

If the community agrees and help me (I've never committed on GITHUB) I can publish the source code for the add-on.

Extract the following archive in the tools folder of your ARDUINO sketch folder.
http://mytrain.fr/cms//images/mytrain/private/ESP8266SM.zip

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Why would you want this?
I am just curious.

Because DTR and RTS signals are not correctly managed by original serial monitor that keeps the ESP8266 board in reset mode once open.

I love it - it's a great idea and I'd love to see it included in the main code base

ah yea nice!
I reset my modules by hand so I don't see a particular need for it for me, but I can see where other might find it useful!

EUA commented

Ooops!

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: processing/app/debug/TextAreaFIFO
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.getDeclaredMethod(Class.java:2128)
    at java.awt.Component.isCoalesceEventsOverriden(Component.java:6220)
    at java.awt.Component.access$500(Component.java:186)
    at java.awt.Component$3.run(Component.java:6174)
    at java.awt.Component$3.run(Component.java:6172)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Component.checkCoalescing(Component.java:6171)
    at java.awt.Component.<init>(Component.java:6140)
    at java.awt.Container.<init>(Container.java:283)
    at java.awt.Window.<init>(Window.java:535)
    at java.awt.Frame.<init>(Frame.java:420)
    at javax.swing.JFrame.<init>(JFrame.java:233)
    at processing.app.AbstractMonitor.<init>(AbstractMonitor.java:26)
    at processing.app.AbstractTextMonitor.<init>(AbstractTextMonitor.java:40)
    at processing.app.SerialMonitor.<init>(SerialMonitor.java:37)
    at org.d2002.esp8266.arduino.serialmonitor.ESP8266SerialMonitor.<init>(ESP8266SerialMonitor.java:39)
    at org.d2002.esp8266.arduino.serialmonitor.ESP8266SM.createMonitor(ESP8266SM.java:120)
    at org.d2002.esp8266.arduino.serialmonitor.ESP8266SM.run(ESP8266SM.java:108)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: processing.app.debug.TextAreaFIFO
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 34 more

@EUA What is your Arduino IDE version ?
Mine is 1.6.5.
Anyway I'll investigate it this week-end

EUA commented

@mytrain 1.6.7
But same on 1.6.6

@mytrain thank you so much. This is a good one.

@EUA
Are you using a window or a linux version.
If you are using a windows box please could you check if there is a pde.jar in your c:/program files/Arduino/lib folder.

Does anybody else got this issue ?

i`m using windows and arduino 1.6.7
c:\program files\Arduino\lib\pde.jar available 400kb
same problem

@tontito
Could you please send me a listing of the entries contained in your pde.jar.
(rename it into pde.zip then use a ZIP archiver to get the list of entries)

# C:\Arduino\lib\pde.jar
2015-12-17 16:23        Directory        Directory  META-INF
2015-12-17 16:23           103            90  META-INF\MANIFEST.MF
2015-12-17 16:23        Directory        Directory  cc
2015-12-17 16:23        Directory        Directory  cc\arduino
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\filters
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\libraries
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\libraries\filters
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\libraries\ui
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\packages
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\packages\filters
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\packages\ui
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\ui
2015-12-17 16:23        Directory        Directory  cc\arduino\contributions\ui\listeners
2015-12-17 16:23        Directory        Directory  cc\arduino\i18n
2015-12-17 16:23        Directory        Directory  cc\arduino\packages
2015-12-17 16:23        Directory        Directory  cc\arduino\packages\formatter
2015-12-17 16:23        Directory        Directory  cc\arduino\view
2015-12-17 16:23        Directory        Directory  cc\arduino\view\findreplace
2015-12-17 16:23        Directory        Directory  cc\arduino\view\preferences
2015-12-17 16:23        Directory        Directory  processing
2015-12-17 16:23        Directory        Directory  processing\app
2015-12-17 16:23        Directory        Directory  processing\app\forms
2015-12-17 16:23        Directory        Directory  processing\app\helpers
2015-12-17 16:23        Directory        Directory  processing\app\javax
2015-12-17 16:23        Directory        Directory  processing\app\javax\swing
2015-12-17 16:23        Directory        Directory  processing\app\javax\swing\filechooser
2015-12-17 16:23        Directory        Directory  processing\app\macosx
2015-12-17 16:23        Directory        Directory  processing\app\syntax
2015-12-17 16:23        Directory        Directory  processing\app\tools
2015-12-17 16:23          2952          1435  cc\arduino\ConsoleOutputStream.class
2015-12-17 16:23          1991          1033  cc\arduino\UpdatableBoardsLibsFakeURLsHandler.class
2015-12-17 16:23          5422          2440  cc\arduino\contributions\BuiltInCoreIsNewerCheck.class
2015-12-17 16:23          5310          2200  cc\arduino\contributions\ContributionsSelfCheck.class
2015-12-17 16:23           846           410  cc\arduino\contributions\filters\NoopPredicate.class
2015-12-17 16:23          1571           648  cc\arduino\contributions\libraries\LibraryByTypeComparator.class
2015-12-17 16:23          1342           604  cc\arduino\contributions\libraries\LibraryOfSameTypeComparator.class
2015-12-17 16:23          1466           740  cc\arduino\contributions\libraries\LibraryTypeComparator.class
2015-12-17 16:23          1257           582  cc\arduino\contributions\libraries\filters\CategoryPredicate.class
2015-12-17 16:23          1984           821  cc\arduino\contributions\libraries\filters\InstalledLibraryPredicate.class
2015-12-17 16:23          1105           511  cc\arduino\contributions\libraries\filters\OnlyUpstreamReleasePredicate.class
2015-12-17 16:23          3275          1261  cc\arduino\contributions\libraries\filters\UpdatableLibraryPredicate.class
2015-12-17 16:23          3294          1421  cc\arduino\contributions\libraries\ui\ContributedLibraryReleases.class
2015-12-17 16:23          2050           801  cc\arduino\contributions\libraries\ui\ContributedLibraryReleasesComparator.class
2015-12-17 16:23          1098           502  cc\arduino\contributions\libraries\ui\ContributedLibraryTableCell$1.class
2015-12-17 16:23         16219          7217  cc\arduino\contributions\libraries\ui\ContributedLibraryTableCell.class
2015-12-17 16:23          1195           524  cc\arduino\contributions\libraries\ui\DropdownInstalledLibraryItem.class
2015-12-17 16:23          1367           626  cc\arduino\contributions\libraries\ui\DropdownLibraryOfCategoryItem.class
2015-12-17 16:23          1347           623  cc\arduino\contributions\libraries\ui\DropdownLibraryOfTypeItem.class
2015-12-17 16:23          1201           527  cc\arduino\contributions\libraries\ui\DropdownUpdatableLibrariesItem.class
2015-12-17 16:23          7795          3178  cc\arduino\contributions\libraries\ui\LibrariesIndexTableModel.class
2015-12-17 16:23          1432           597  cc\arduino\contributions\libraries\ui\LibraryManagerUI$1.class
2015-12-17 16:23          2353           945  cc\arduino\contributions\libraries\ui\LibraryManagerUI$2.class
2015-12-17 16:23         12829          4745  cc\arduino\contributions\libraries\ui\LibraryManagerUI.class
2015-12-17 16:23          1255           585  cc\arduino\contributions\packages\filters\CategoryPredicate.class
2015-12-17 16:23          3396          1273  cc\arduino\contributions\packages\filters\UpdatablePlatformPredicate.class
2015-12-17 16:23          1099           504  cc\arduino\contributions\packages\ui\ContributedPlatformTableCell$1.class
2015-12-17 16:23         17363          7649  cc\arduino\contributions\packages\ui\ContributedPlatformTableCell.class
2015-12-17 16:23          3452          1502  cc\arduino\contributions\packages\ui\ContributionIndexTableModel$ContributedPlatformReleases.class
2015-12-17 16:23          7127          2833  cc\arduino\contributions\packages\ui\ContributionIndexTableModel.class
2015-12-17 16:23          1517           612  cc\arduino\contributions\packages\ui\ContributionManagerUI$1.class
2015-12-17 16:23          9711          3888  cc\arduino\contributions\packages\ui\ContributionManagerUI.class
2015-12-17 16:23          1141           526  cc\arduino\contributions\packages\ui\DropdownAllCoresItem.class
2015-12-17 16:23          1355           629  cc\arduino\contributions\packages\ui\DropdownCoreOfCategoryItem.class
2015-12-17 16:23          1187           532  cc\arduino\contributions\packages\ui\DropdownUpdatableCoresItem.class
2015-12-17 16:23          1100           513  cc\arduino\contributions\ui\DropdownAllItem.class
2015-12-17 16:23           308           206  cc\arduino\contributions\ui\DropdownItem.class
2015-12-17 16:23          1303           631  cc\arduino\contributions\ui\FilterJTextField$1.class
2015-12-17 16:23          1038           482  cc\arduino\contributions\ui\FilterJTextField$2.class
2015-12-17 16:23          2675          1247  cc\arduino\contributions\ui\FilterJTextField.class
2015-12-17 16:23          2740          1063  cc\arduino\contributions\ui\FilteredAbstractTableModel.class
2015-12-17 16:23          1573           728  cc\arduino\contributions\ui\InstallerJDialog$1.class
2015-12-17 16:23          1365           690  cc\arduino\contributions\ui\InstallerJDialog$2.class
2015-12-17 16:23          1854           887  cc\arduino\contributions\ui\InstallerJDialog$3.class
2015-12-17 16:23         12329          5320  cc\arduino\contributions\ui\InstallerJDialog.class
2015-12-17 16:23          2474          1106  cc\arduino\contributions\ui\InstallerJDialogUncaughtExceptionHandler.class
2015-12-17 16:23          1684           887  cc\arduino\contributions\ui\InstallerTableCell.class
2015-12-17 16:23           730           415  cc\arduino\contributions\ui\ProgressJProgressBar.class
2015-12-17 16:23           701           339  cc\arduino\contributions\ui\listeners\AbstractKeyListener.class
2015-12-17 16:23          1320           599  cc\arduino\contributions\ui\listeners\DelegatingKeyListener.class
2015-12-17 16:23           929           524  cc\arduino\i18n\Language.class
2015-12-17 16:23          4763          2948  cc\arduino\i18n\Languages.class
2015-12-17 16:23           839           462  cc\arduino\packages\MonitorFactory.class
2015-12-17 16:23          4005          2067  cc\arduino\packages\formatter\AStyle.class
2015-12-17 16:23          2001          1071  cc\arduino\packages\formatter\AStyleInterface.class
2015-12-17 16:23          1035           542  cc\arduino\view\Event.class
2015-12-17 16:23           176           139  cc\arduino\view\EventListener.class
2015-12-17 16:23           829           438  cc\arduino\view\GoToLineNumber$1.class
2015-12-17 16:23           829           439  cc\arduino\view\GoToLineNumber$2.class
2015-12-17 16:23           829           440  cc\arduino\view\GoToLineNumber$3.class
2015-12-17 16:23          5824          2455  cc\arduino\view\GoToLineNumber.class
2015-12-17 16:23           863           521  cc\arduino\view\JMenuUtils.class
2015-12-17 16:23           997           504  cc\arduino\view\NotificationPopup$1.class
2015-12-17 16:23          1057           531  cc\arduino\view\NotificationPopup$2.class
2015-12-17 16:23           802           443  cc\arduino\view\NotificationPopup$3.class
2015-12-17 16:23           850           449  cc\arduino\view\NotificationPopup$4.class
2015-12-17 16:23           778           433  cc\arduino\view\NotificationPopup$5$1.class
2015-12-17 16:23          1836           857  cc\arduino\view\NotificationPopup$5.class
2015-12-17 16:23          7039          3191  cc\arduino\view\NotificationPopup.class
2015-12-17 16:23          3003          1624  cc\arduino\view\SplashScreenHelper.class
2015-12-17 16:23           662           318  cc\arduino\view\StubMenuListener.class
2015-12-17 16:23           981           515  cc\arduino\view\findreplace\FindReplace$1.class
2015-12-17 16:23           880           451  cc\arduino\view\findreplace\FindReplace$2.class
2015-12-17 16:23           880           450  cc\arduino\view\findreplace\FindReplace$3.class
2015-12-17 16:23           880           448  cc\arduino\view\findreplace\FindReplace$4.class
2015-12-17 16:23           880           449  cc\arduino\view\findreplace\FindReplace$5.class
2015-12-17 16:23           880           450  cc\arduino\view\findreplace\FindReplace$6.class
2015-12-17 16:23         12468          5523  cc\arduino\view\findreplace\FindReplace.class
2015-12-17 16:23          1041           469  cc\arduino\view\preferences\AdditionalBoardsManagerURLTextArea$1.class
2015-12-17 16:23          1041           472  cc\arduino\view\preferences\AdditionalBoardsManagerURLTextArea$2.class
2015-12-17 16:23          1242           513  cc\arduino\view\preferences\AdditionalBoardsManagerURLTextArea$3.class
2015-12-17 16:23          9800          3999  cc\arduino\view\preferences\AdditionalBoardsManagerURLTextArea.class
2015-12-17 16:23           880           446  cc\arduino\view\preferences\Preferences$1.class
2015-12-17 16:23           880           445  cc\arduino\view\preferences\Preferences$2.class
2015-12-17 16:23          1081           492  cc\arduino\view\preferences\Preferences$3.class
2015-12-17 16:23           873           445  cc\arduino\view\preferences\Preferences$4.class
2015-12-17 16:23           873           446  cc\arduino\view\preferences\Preferences$5.class
2015-12-17 16:23           873           446  cc\arduino\view\preferences\Preferences$6.class
2015-12-17 16:23           880           450  cc\arduino\view\preferences\Preferences$7.class
2015-12-17 16:23           880           448  cc\arduino\view\preferences\Preferences$8.class
2015-12-17 16:23           758           405  cc\arduino\view\preferences\Preferences$WarningItem.class
2015-12-17 16:23         24809         11261  cc\arduino\view\preferences\Preferences.class
2015-12-17 16:23           905           507  processing\app\AbstractMonitor$1.class
2015-12-17 16:23           872           508  processing\app\AbstractMonitor$2.class
2015-12-17 16:23          5563          2798  processing\app\AbstractMonitor.class
2015-12-17 16:23          1314           703  processing\app\AbstractTextMonitor$1.class
2015-12-17 16:23          1189           655  processing\app\AbstractTextMonitor$2.class
2015-12-17 16:23          5888          3009  processing\app\AbstractTextMonitor.class
2015-12-17 16:23           872           520  processing\app\Base$1.class
2015-12-17 16:23          1540           814  processing\app\Base$10.class
2015-12-17 16:23          1338           773  processing\app\Base$11.class
2015-12-17 16:23          1614           805  processing\app\Base$12.class
2015-12-17 16:23          1566           799  processing\app\Base$13.class
2015-12-17 16:23          1159           607  processing\app\Base$14.class
2015-12-17 16:23          1039           562  processing\app\Base$15.class
2015-12-17 16:23          1606           905  processing\app\Base$16.class
2015-12-17 16:23          1760           899  processing\app\Base$17.class
2015-12-17 16:23          1582           875  processing\app\Base$18.class
2015-12-17 16:23           754           447  processing\app\Base$19.class
2015-12-17 16:23           758           453  processing\app\Base$2.class
2015-12-17 16:23           873           523  processing\app\Base$3.class
2015-12-17 16:23           992           587  processing\app\Base$4.class
2015-12-17 16:23           785           458  processing\app\Base$5.class
2015-12-17 16:23           882           539  processing\app\Base$6.class
2015-12-17 16:23           934           547  processing\app\Base$7.class
2015-12-17 16:23          1726           894  processing\app\Base$8.class
2015-12-17 16:23          1412           768  processing\app\Base$9.class
2015-12-17 16:23         62548         29757  processing\app\Base.class
2015-12-17 16:23          1980           765  processing\app\CaretAwareUndoableEdit.class
2015-12-17 16:23           837           457  processing\app\Editor$1.class
2015-12-17 16:23           741           446  processing\app\Editor$10.class
2015-12-17 16:23           741           451  processing\app\Editor$11.class
2015-12-17 16:23           732           445  processing\app\Editor$12.class
2015-12-17 16:23           732           444  processing\app\Editor$13.class
2015-12-17 16:23           802           469  processing\app\Editor$14.class
2015-12-17 16:23           808           476  processing\app\Editor$15.class
2015-12-17 16:23           869           501  processing\app\Editor$16.class
2015-12-17 16:23           745           457  processing\app\Editor$17.class
2015-12-17 16:23           745           456  processing\app\Editor$18.class
2015-12-17 16:23          1573           837  processing\app\Editor$19.class
2015-12-17 16:23          2410          1264  processing\app\Editor$2.class
2015-12-17 16:23           899           510  processing\app\Editor$20.class
2015-12-17 16:23           813           470  processing\app\Editor$21.class
2015-12-17 16:23           736           446  processing\app\Editor$22.class
2015-12-17 16:23          2230          1290  processing\app\Editor$23.class
2015-12-17 16:23           873           533  processing\app\Editor$24.class
2015-12-17 16:23           917           540  processing\app\Editor$25.class
2015-12-17 16:23           892           512  processing\app\Editor$26.class
2015-12-17 16:23          1467           763  processing\app\Editor$27.class
2015-12-17 16:23          1435           721  processing\app\Editor$28.class
2015-12-17 16:23           909           517  processing\app\Editor$29.class
2015-12-17 16:23          1377           764  processing\app\Editor$3.class
2015-12-17 16:23          1146           599  processing\app\Editor$30.class
2015-12-17 16:23           768           460  processing\app\Editor$31.class
2015-12-17 16:23           758           449  processing\app\Editor$32.class
2015-12-17 16:23           762           452  processing\app\Editor$33.class
2015-12-17 16:23           756           449  processing\app\Editor$34.class
2015-12-17 16:23           866           514  processing\app\Editor$35.class
2015-12-17 16:23           871           514  processing\app\Editor$36.class
2015-12-17 16:23           864           514  processing\app\Editor$37.class
2015-12-17 16:23           869           515  processing\app\Editor$38.class
2015-12-17 16:23           750           447  processing\app\Editor$39.class
2015-12-17 16:23           857           507  processing\app\Editor$4.class
2015-12-17 16:23           888           514  processing\app\Editor$40.class
2015-12-17 16:23           802           472  processing\app\Editor$41.class
2015-12-17 16:23           733           446  processing\app\Editor$42.class
2015-12-17 16:23           861           491  processing\app\Editor$43.class
2015-12-17 16:23           816           480  processing\app\Editor$44.class
2015-12-17 16:23           816           481  processing\app\Editor$45.class
2015-12-17 16:23           980           552  processing\app\Editor$46.class
2015-12-17 16:23           866           492  processing\app\Editor$47.class
2015-12-17 16:23           744           450  processing\app\Editor$48.class
2015-12-17 16:23           764           452  processing\app\Editor$49.class
2015-12-17 16:23          2712          1345  processing\app\Editor$5.class
2015-12-17 16:23           764           454  processing\app\Editor$50.class
2015-12-17 16:23          1478           791  processing\app\Editor$51.class
2015-12-17 16:23           910           528  processing\app\Editor$52.class
2015-12-17 16:23           914           528  processing\app\Editor$53.class
2015-12-17 16:23          1282           667  processing\app\Editor$54.class
2015-12-17 16:23          1245           661  processing\app\Editor$55.class
2015-12-17 16:23           641           392  processing\app\Editor$56.class
2015-12-17 16:23           769           465  processing\app\Editor$57.class
2015-12-17 16:23           789           469  processing\app\Editor$58.class
2015-12-17 16:23           789           470  processing\app\Editor$59.class
2015-12-17 16:23           950           565  processing\app\Editor$6.class
2015-12-17 16:23           758           461  processing\app\Editor$60.class
2015-12-17 16:23           758           461  processing\app\Editor$61.class
2015-12-17 16:23           887           511  processing\app\Editor$62.class
2015-12-17 16:23          2386          1121  processing\app\Editor$63.class
2015-12-17 16:23           957           568  processing\app\Editor$7.class
2015-12-17 16:23           643           397  processing\app\Editor$8.class
2015-12-17 16:23           834           479  processing\app\Editor$9.class
2015-12-17 16:23          2144          1107  processing\app\Editor$BuildHandler.class
2015-12-17 16:23          2919          1517  processing\app\Editor$DefaultExportAppHandler.class
2015-12-17 16:23          2957          1537  processing\app\Editor$DefaultExportHandler.class
2015-12-17 16:23           787           402  processing\app\Editor$DefaultStopHandler.class
2015-12-17 16:23          3553          1790  processing\app\Editor$FileDropHandler.class
2015-12-17 16:23          1854           982  processing\app\Editor$RedoAction.class
2015-12-17 16:23           922           510  processing\app\Editor$SerialMenuListener.class
2015-12-17 16:23          1554           764  processing\app\Editor$ShouldSaveIfModified.class
2015-12-17 16:23          1359           648  processing\app\Editor$ShouldSaveReadOnly.class
2015-12-17 16:23          1863           984  processing\app\Editor$UndoAction.class
2015-12-17 16:23         59224         27747  processing\app\Editor.class
2015-12-17 16:23          5357          2599  processing\app\EditorConsole.class
2015-12-17 16:23          1494           827  processing\app\EditorHeader$1.class
2015-12-17 16:23           898           486  processing\app\EditorHeader$2.class
2015-12-17 16:23           901           488  processing\app\EditorHeader$3.class
2015-12-17 16:23          1056           590  processing\app\EditorHeader$4.class
2015-12-17 16:23           894           482  processing\app\EditorHeader$5.class
2015-12-17 16:23           894           483  processing\app\EditorHeader$6.class
2015-12-17 16:23          1011           533  processing\app\EditorHeader$7.class
2015-12-17 16:23          8987          4568  processing\app\EditorHeader.class
2015-12-17 16:23          4008          2034  processing\app\EditorLineStatus.class
2015-12-17 16:23          1957          1051  processing\app\EditorListener.class
2015-12-17 16:23          2184          1183  processing\app\EditorStatus$1.class
2015-12-17 16:23         10697          5234  processing\app\EditorStatus.class
2015-12-17 16:23          9126          4538  processing\app\EditorToolbar.class
2015-12-17 16:23          1358           622  processing\app\LastUndoableEditAwareUndoManager.class
2015-12-17 16:23          1482           814  processing\app\NetworkMonitor$1.class
2015-12-17 16:23          1291           701  processing\app\NetworkMonitor$2.class
2015-12-17 16:23           940           552  processing\app\NetworkMonitor$3.class
2015-12-17 16:23          4786          2374  processing\app\NetworkMonitor.class
2015-12-17 16:23          2318           907  processing\app\Preferences.class
2015-12-17 16:23           837           509  processing\app\PresentMode$1.class
2015-12-17 16:23          2061          1069  processing\app\PresentMode.class
2015-12-17 16:23           419           265  processing\app\Resources.class
2015-12-17 16:23           228           171  processing\app\RunnerListener.class
2015-12-17 16:23          1838           996  processing\app\SerialMonitor$1.class
2015-12-17 16:23          1019           547  processing\app\SerialMonitor$2.class
2015-12-17 16:23           775           440  processing\app\SerialMonitor$3.class
2015-12-17 16:23          3501          1736  processing\app\SerialMonitor.class
2015-12-17 16:23           775           441  processing\app\SerialPlotter$1.class
2015-12-17 16:23          1549           918  processing\app\SerialPlotter$Graph.class
2015-12-17 16:23          5023          2656  processing\app\SerialPlotter$GraphPanel.class
2015-12-17 16:23          7026          3443  processing\app\SerialPlotter.class
2015-12-17 16:23         27997         13826  processing\app\Sketch.class
2015-12-17 16:23          2928          1072  processing\app\SketchCodeDocument.class
2015-12-17 16:23           680           407  processing\app\TextAreaFIFO$1.class
2015-12-17 16:23          2065          1083  processing\app\TextAreaFIFO.class
2015-12-17 16:23          6209          2800  processing\app\Theme.class
2015-12-17 16:23          3816          2159  processing\app\UpdateCheck.class
2015-12-17 16:23          5712          2484  processing\app\forms\PasswordAuthorizationDialog.class
2015-12-17 16:23          1643           914  processing\app\helpers\CircularBuffer.class
2015-12-17 16:23           857           474  processing\app\helpers\ConsoleLogger.class
2015-12-17 16:23          1632           788  processing\app\helpers\GUIUserNotifier.class
2015-12-17 16:23          1985          1083  processing\app\helpers\LogFormatter.class
2015-12-17 16:23          1424           935  processing\app\helpers\Ticks.class
2015-12-17 16:23          1571           899  processing\app\javax\swing\filechooser\FileNameExtensionFilter.class
2015-12-17 16:23          1510           739  processing\app\macosx\ThinkDifferent$1.class
2015-12-17 16:23          1572           747  processing\app\macosx\ThinkDifferent$2.class
2015-12-17 16:23          2724          1335  processing\app\macosx\ThinkDifferent$3.class
2015-12-17 16:23          1809           850  processing\app\macosx\ThinkDifferent$4.class
2015-12-17 16:23          1675           877  processing\app\macosx\ThinkDifferent.class
2015-12-17 16:23          1038           530  processing\app\syntax\ArduinoTokenMakerFactory.class
2015-12-17 16:23           794           467  processing\app\syntax\MyConfigurableCaret.class
2015-12-17 16:23          6194          3130  processing\app\syntax\PdeKeywords.class
2015-12-17 16:23          1603           771  processing\app\syntax\SketchTextArea$DocLinkGenerator$1.class
2015-12-17 16:23          1680           756  processing\app\syntax\SketchTextArea$DocLinkGenerator.class
2015-12-17 16:23          4621          2255  processing\app\syntax\SketchTextArea$SketchTextAreaMouseListener.class
2015-12-17 16:23          8934          4044  processing\app\syntax\SketchTextArea.class
2015-12-17 16:23          2210          1202  processing\app\syntax\SketchTextAreaDefaultInputMap.class
2015-12-17 16:23          2094          1063  processing\app\syntax\SketchTextAreaEditorKit$DeleteLineToCursorAction.class
2015-12-17 16:23          1881           955  processing\app\syntax\SketchTextAreaEditorKit$DeleteNextWordAction.class
2015-12-17 16:23          1599           785  processing\app\syntax\SketchTextAreaEditorKit$SelectWholeLineAction.class
2015-12-17 16:23          4564          2368  processing\app\syntax\SketchTextAreaEditorKit$ToggleCommentAction.class
2015-12-17 16:23          1447           637  processing\app\syntax\SketchTextAreaEditorKit.class
2015-12-17 16:23          1094           558  processing\app\syntax\SketchTextAreaUI.class
2015-12-17 16:23          1432           821  processing\app\syntax\SketchTokenMaker.class
2015-12-17 16:23          1241           682  processing\app\syntax\Token.class
2015-12-17 16:23          5455          2931  processing\app\tools\Archiver.class
2015-12-17 16:23          4910          2462  processing\app\tools\DiscourseFormat.class
2015-12-17 16:23          3235          1712  processing\app\tools\FixEncoding.class
2015-12-17 16:23           226           162  processing\app\tools\MenuScroller$1.class
2015-12-17 16:23          2387          1222  processing\app\tools\MenuScroller$MenuIcon.class
2015-12-17 16:23          1713           793  processing\app\tools\MenuScroller$MenuScrollItem.class
2015-12-17 16:23          2580          1068  processing\app\tools\MenuScroller$MenuScrollListener.class
2015-12-17 16:23          1144           532  processing\app\tools\MenuScroller$MenuScrollTimer$1.class
2015-12-17 16:23           751           390  processing\app\tools\MenuScroller$MenuScrollTimer.class
2015-12-17 16:23          1306           583  processing\app\tools\MenuScroller$MouseScrollListener.class
2015-12-17 16:23          9488          3636  processing\app\tools\MenuScroller.class
2015-12-17 16:23           246           186  processing\app\tools\Tool.class
2015-12-17 16:23          4138          2271  processing\app\tools\ZipDeflater.class
#
# Sum                    Size         Packet  Files
#                       745684        361064  302

@tontito
Sorry for the delay. I finally understood the issue.
Arduino code has been refactored somewhere between version 1.6.5 and 1.6.x.
I corrected my plugin hoping that it will work with both versions.
download url is remained unchanged
http://mytrain.fr/cms//images/mytrain/private/ESP8266SM.zip

Thanks for keeping me updated

EUA commented

I am using linux version.
Last version is working properly.
It's make my life easier.
Thank you very much.

Hey,

Very nice plugin. Could you please post source code for this plugin? Actually If it's easier for you could you just remove check-box from reset? I need it for my application. Thanks in advance.

putyn commented

@mytrain got this error in 1.6.8

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.I18n._(Ljava/lang/String;)Ljava/lang/String;
    at org.d2002.esp8266.arduino.serialmonitor.ESP8266SM.run(ESP8266SM.java:102)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

got it working on an older version of the IDE i think is 1.6.5 - i have checked and its 1.6.7

OS windows 7 - 64bit

I'll try it on 1.6.7.

The 22nd of January I posted an updated version on same link than first one. Could you confirm you downloaded yours after the 22nd (ESP8266SM.jar dated on 22nd of January with a size of 12 492 bytes).

I've got the same exception with Arduino 1.6.8.
Please upload the version 3 of the plugin
[http://mytrain.fr/cms//images/mytrain/private/ESP8266SM.v3.zip] that works now in 1.6.8

putyn commented

@mytrain i will give it a try when i get home and report back

EUA commented

Looks working also with 1.6.9
This issue could be closed.

Can someone explain me where to extract the zip file.
I am using windows 10 with arduino IDE 1.8.1 and I have tryed putting it in some folders but theres nothing showing under the Tools tab.
I am using board NodeMCU 1.0 (ESP-12E Module). When I click on Show sketch folder I get this path "C:\Users\icani\OneDrive\Document\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ArduinoOTA\examples\BasicOTA"

EDIT: I have solved the problem but now I have another one :-)
When I click on ESP8266 Modify serial monitor, I get error "Error opening serial port '192.168.1.9'. (Port not found)"

@mytrain could you please put it up in a github repo to have it under version control?

@mytrain did you ever put it on github?

SOrry, I completly forget to do it.
Now it's done !!
Enjoy 2018

The referenced upload seems to be this one.

Pending: add a link to that repo from the docs.

how do install on a mac?

I am Also looking for solutions for serial monitor not working when I boot it up in operate mode. Ie Chip Enable pulled high. It works when i get it to the program mode aka flash mode (GOIO0 grounded), then once the code upload is done and the chip go into operate mode by itself, the serial monitor will work and my message will be displayed. Will this modified serial monitor help if I only connect the RX and TX 3.3V and ground from ESP 8266 generic module to the serial interface if my PC ? I guess not as it try to control DTR which is not connected in my case.

how do install on a mac?

Ctrl-click on Arduino.app and click "Show Package Contents"
Then put the ESP8266SM folder into Contents⁩/Java⁩/tools
so the full path should be
Arduino.app/Contents/Java/tools/ESP8266SM/tool/ESP8266SM.jar