Closed jhoogeboom closed 7 years ago
Thank you, I have a version with selectable baud rate. I need to ensure that's the default given by the installer.
On Tue, 17 Jan 2017, 16:56 jhoogeboom, notifications@github.com wrote:
The most recent builds of NodeMCU have a baudrate of 115200 by default, I think it still only scans at 9600 currently, probably why it isn't finding my mcu.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa3n7KYzKHLVCj1GSomAZj00Y0TO9ks5rTPKqgaJpZM4Ll5ou .
I've now used the folder as App in developer mode so I can set the baudrate, seems to find the mcu, but there are errors in the connection.
Output:
Console initialised.
Starting scan at 115200...
Found serial port /dev/tty.Bluetooth-Incoming-Port. Testing...
Attempting connection
Connecting to device on /dev/tty.Bluetooth-Incoming-Port
Found serial port /dev/cu.Bluetooth-Incoming-Port. Testing...
Attempting connection
Connecting to device on /dev/cu.Bluetooth-Incoming-Port
Found serial port /dev/tty.SLAB_USBtoUART. Testing...
Attempting connection
Connecting to device on /dev/tty.SLAB_USBtoUART
Found serial port /dev/cu.SLAB_USBtoUART. Testing...
Attempting connection
Connecting to device on /dev/cu.SLAB_USBtoUART
Connected
Sending confirmation test
Connected
Sending confirmation test
Connected
Sending confirmation test
Connected
Sending confirmation test
print('node mcu confirmed')
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Timed out - not running NodeMCU
Disconnecting
Timed out - not running NodeMCU
Disconnecting
Starting scan at 115200...
Found serial port /dev/tty.Bluetooth-Incoming-Port. Testing...
Attempting connection
Connecting to device on /dev/tty.Bluetooth-Incoming-Port
Found serial port /dev/cu.Bluetooth-Incoming-Port. Testing...
Attempting connection
Connecting to device on /dev/cu.Bluetooth-Incoming-Port
Found serial port /dev/tty.SLAB_USBtoUART. Testing...
Attempting connection
Connecting to device on /dev/tty.SLAB_USBtoUART
Found serial port /dev/cu.SLAB_USBtoUART. Testing...
Attempting connection
Connecting to device on /dev/cu.SLAB_USBtoUART
Connected
Sending confirmation test
Connected
Sending confirmation test
Connected
Sending confirmation test
Connected
Sending confirmation test
print('node mcu confirmed')
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Confirmed - NodeMCU found
Disconnecting
Timed out - not running NodeMCU
Disconnecting
Timed out - not running NodeMCU
Disconnecting
Console:
bounce_window.html:1 Error in response to serial.connect: TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.send_data (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:98:44)
at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:204:24
at Object.connected_inner [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:74:13)
at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27)
at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10)
at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17)
bounce_window.html:1 Unchecked runtime.lastError while running serial.connect: Failed to connect to the port.
at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27)
at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10)
at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17)
bounce_window.html:1 Error in response to serial.connect: TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.send_data (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:98:44)
at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:204:24
at Object.connected_inner [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:74:13)
at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27)
at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10)
at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17)
bounce_window.html:1 Unchecked runtime.lastError while running serial.connect: Failed to connect to the port.
at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27)
at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10)
at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17)
bounce_window.html:1 Error in event handler for serial.onReceive: TypeError: Cannot read property 'connectionId' of undefined
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:51:49)
nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
at EventImpl.dispatchToListener (extensions::event_bindings:388:22)
at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26)
at EventImpl.dispatch_ (extensions::event_bindings:372:35)
at dispatchArgs (extensions::event_bindings:244:26)
at dispatchEvent (extensions::event_bindings:253:7)
disconnect @ nodemcu.js:87
(anonymous) @ nodemcu.js:199
_fire_line_received_event @ nodemcu.js:42
_data_received @ nodemcu.js:59
EventImpl.dispatchToListener @ extensions::event_bindings:388
publicClassPrototype.(anonymous function) @ extensions::utils:149
EventImpl.dispatch_ @ extensions::event_bindings:372
dispatchArgs @ extensions::event_bindings:244
dispatchEvent @ extensions::event_bindings:253
nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
at EventImpl.dispatchToListener (extensions::event_bindings:388:22)
at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26)
at EventImpl.dispatch_ (extensions::event_bindings:372:35)
at dispatchArgs (extensions::event_bindings:244:26)
at dispatchEvent (extensions::event_bindings:253:7)
disconnect @ nodemcu.js:87
(anonymous) @ nodemcu.js:199
_fire_line_received_event @ nodemcu.js:42
_data_received @ nodemcu.js:59
EventImpl.dispatchToListener @ extensions::event_bindings:388
publicClassPrototype.(anonymous function) @ extensions::utils:149
EventImpl.dispatch_ @ extensions::event_bindings:372
dispatchArgs @ extensions::event_bindings:244
dispatchEvent @ extensions::event_bindings:253
nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
at EventImpl.dispatchToListener (extensions::event_bindings:388:22)
at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26)
at EventImpl.dispatch_ (extensions::event_bindings:372:35)
at dispatchArgs (extensions::event_bindings:244:26)
at dispatchEvent (extensions::event_bindings:253:7)
disconnect @ nodemcu.js:87
(anonymous) @ nodemcu.js:199
_fire_line_received_event @ nodemcu.js:42
_data_received @ nodemcu.js:59
EventImpl.dispatchToListener @ extensions::event_bindings:388
publicClassPrototype.(anonymous function) @ extensions::utils:149
EventImpl.dispatch_ @ extensions::event_bindings:372
dispatchArgs @ extensions::event_bindings:244
dispatchEvent @ extensions::event_bindings:253
nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
at EventImpl.dispatchToListener (extensions::event_bindings:388:22)
at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26)
at EventImpl.dispatch_ (extensions::event_bindings:372:35)
at dispatchArgs (extensions::event_bindings:244:26)
at dispatchEvent (extensions::event_bindings:253:7)
disconnect @ nodemcu.js:87
(anonymous) @ nodemcu.js:199
_fire_line_received_event @ nodemcu.js:42
_data_received @ nodemcu.js:59
EventImpl.dispatchToListener @ extensions::event_bindings:388
publicClassPrototype.(anonymous function) @ extensions::utils:149
EventImpl.dispatch_ @ extensions::event_bindings:372
dispatchArgs @ extensions::event_bindings:244
dispatchEvent @ extensions::event_bindings:253
bounce_window.html:1 Error in event handler for serial.onReceive: TypeError: Cannot read property 'connectionId' of undefined
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:51:49)
bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.Bluetooth-Incoming-Port
at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8)
at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11)
at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20)
at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9)
at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11)
at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38)
at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10)
at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12
at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9)
at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102)
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
bounce_window.html:1 Unchecked runtime.lastError while running serial.disconnect: Serial connection not found.
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.SLAB_USBtoUART
at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8)
at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11)
at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20)
at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9)
at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11)
at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38)
at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10)
at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12
at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9)
at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102)
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
bounce_window.html:1 Unchecked runtime.lastError while running serial.disconnect: Serial connection not found.
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.Bluetooth-Incoming-Port
at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8)
at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11)
at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20)
at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9)
at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11)
at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38)
at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10)
at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12
at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9)
at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102)
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.SLAB_USBtoUART
at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8)
at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11)
at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20)
at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9)
at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11)
at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38)
at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10)
at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12
at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9)
at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102)
at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23)
at HTMLDocument.<anonymous> (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32)
at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18)
at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36)
nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.disconnect (nodemcu.js:87)
at _timed_out (nodemcu.js:183)
at goog.async.Delay.doAction_ (bounce_base_compressed.js:1594)
disconnect @ nodemcu.js:87
_timed_out @ nodemcu.js:183
goog.async.Delay.doAction_ @ bounce_base_compressed.js:1594
nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined
at bounce.Nodemcu.disconnect (nodemcu.js:87)
at _timed_out (nodemcu.js:183)
at goog.async.Delay.doAction_ (bounce_base_compressed.js:1594)
disconnect @ nodemcu.js:87
_timed_out @ nodemcu.js:183
goog.async.Delay.doAction_ @ bounce_base_compressed.js:1594
Thank you - I am wandering if the output has changed enough that the serial triggers no longer make sense. What would help is if you could post a serial capture of your board starting up and going to the prompt. However - this:
Sending confirmation test print('node mcu confirmed') Confirmed - NodeMCU found
It shows that the device was found, but that Bounce may have cached the same device mutliple times (through multiple attempts) and not dealt with it properly. I get the feeling I need to rethink the serial port setup somewhat.
On Wed, 18 Jan 2017 at 11:19 jhoogeboom notifications@github.com wrote:
I've now used the folder as App in developer mode so I set the baudrate, seems to find the mcu, but there are errors in the connection.
Output:
Console initialised. Starting scan at 115200... Found serial port /dev/tty.Bluetooth-Incoming-Port. Testing... Attempting connection Connecting to device on /dev/tty.Bluetooth-Incoming-Port Found serial port /dev/cu.Bluetooth-Incoming-Port. Testing... Attempting connection Connecting to device on /dev/cu.Bluetooth-Incoming-Port Found serial port /dev/tty.SLAB_USBtoUART. Testing... Attempting connection Connecting to device on /dev/tty.SLAB_USBtoUART Found serial port /dev/cu.SLAB_USBtoUART. Testing... Attempting connection Connecting to device on /dev/cu.SLAB_USBtoUART Connected Sending confirmation test Connected Sending confirmation test Connected Sending confirmation test Connected Sending confirmation test print('node mcu confirmed') Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Timed out - not running NodeMCU Disconnecting Timed out - not running NodeMCU Disconnecting Starting scan at 115200... Found serial port /dev/tty.Bluetooth-Incoming-Port. Testing... Attempting connection Connecting to device on /dev/tty.Bluetooth-Incoming-Port Found serial port /dev/cu.Bluetooth-Incoming-Port. Testing... Attempting connection Connecting to device on /dev/cu.Bluetooth-Incoming-Port Found serial port /dev/tty.SLAB_USBtoUART. Testing... Attempting connection Connecting to device on /dev/tty.SLAB_USBtoUART Found serial port /dev/cu.SLAB_USBtoUART. Testing... Attempting connection Connecting to device on /dev/cu.SLAB_USBtoUART Connected Sending confirmation test Connected Sending confirmation test Connected Sending confirmation test Connected Sending confirmation test print('node mcu confirmed') Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Confirmed - NodeMCU found Disconnecting Timed out - not running NodeMCU Disconnecting Timed out - not running NodeMCU Disconnecting
Console:
bounce_window.html:1 Error in response to serial.connect: TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.send_data (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:98:44) at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:204:24 at Object.connected_inner [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:74:13) at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27) at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10) at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17) bounce_window.html:1 Unchecked runtime.lastError while running serial.connect: Failed to connect to the port. at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27) at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10) at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17) bounce_window.html:1 Error in response to serial.connect: TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.send_data (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:98:44) at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:204:24 at Object.connected_inner [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:74:13) at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27) at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10) at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17) bounce_window.html:1 Unchecked runtime.lastError while running serial.connect: Failed to connect to the port. at bounce.Nodemcu.connect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:78:27) at bounce.Nodemcu.validate (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:188:10) at Object.onGetDevices [as callback] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:248:17) bounce_window.html:1 Error in event handler for serial.onReceive: TypeError: Cannot read property 'connectionId' of undefined at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:51:49) nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50) at HTMLDocument.
(chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) at EventImpl.dispatchToListener (extensions::eventbindings:388:22) at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26) at EventImpl.dispatch (extensions::event_bindings:372:35) at dispatchArgs (extensions::event_bindings:244:26) at dispatchEvent (extensions::event_bindings:253:7) disconnect @ nodemcu.js:87 (anonymous) @ nodemcu.js:199 _fire_line_received_event @ nodemcu.js:42 _data_received @ nodemcu.js:59 EventImpl.dispatchToListener @ extensions::eventbindings:388 publicClassPrototype.(anonymous function) @ extensions::utils:149 EventImpl.dispatch @ extensions::event_bindings:372 dispatchArgs @ extensions::event_bindings:244 dispatchEvent @ extensions::event_bindings:253 nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) at EventImpl.dispatchToListener (extensions::eventbindings:388:22) at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26) at EventImpl.dispatch (extensions::event_bindings:372:35) at dispatchArgs (extensions::event_bindings:244:26) at dispatchEvent (extensions::event_bindings:253:7) disconnect @ nodemcu.js:87 (anonymous) @ nodemcu.js:199 _fire_line_received_event @ nodemcu.js:42 _data_received @ nodemcu.js:59 EventImpl.dispatchToListener @ extensions::eventbindings:388 publicClassPrototype.(anonymous function) @ extensions::utils:149 EventImpl.dispatch @ extensions::event_bindings:372 dispatchArgs @ extensions::event_bindings:244 dispatchEvent @ extensions::event_bindings:253 nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) at EventImpl.dispatchToListener (extensions::eventbindings:388:22) at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26) at EventImpl.dispatch (extensions::event_bindings:372:35) at dispatchArgs (extensions::event_bindings:244:26) at dispatchEvent (extensions::event_bindings:253:7) disconnect @ nodemcu.js:87 (anonymous) @ nodemcu.js:199 _fire_line_received_event @ nodemcu.js:42 _data_received @ nodemcu.js:59 EventImpl.dispatchToListener @ extensions::eventbindings:388 publicClassPrototype.(anonymous function) @ extensions::utils:149 EventImpl.dispatch @ extensions::event_bindings:372 dispatchArgs @ extensions::event_bindings:244 dispatchEvent @ extensions::event_bindings:253 nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:50) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) at EventImpl.dispatchToListener (extensions::eventbindings:388:22) at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:149:26) at EventImpl.dispatch (extensions::event_bindings:372:35) at dispatchArgs (extensions::event_bindings:244:26) at dispatchEvent (extensions::event_bindings:253:7) disconnect @ nodemcu.js:87 (anonymous) @ nodemcu.js:199 _fire_line_received_event @ nodemcu.js:42 _data_received @ nodemcu.js:59 EventImpl.dispatchToListener @ extensions::eventbindings:388 publicClassPrototype.(anonymous function) @ extensions::utils:149 EventImpl.dispatch @ extensions::event_bindings:372 dispatchArgs @ extensions::event_bindings:244 dispatchEvent @ extensions::event_bindings:253 bounce_window.html:1 Error in event handler for serial.onReceive: TypeError: Cannot read property 'connectionId' of undefined at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:51:49) bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.Bluetooth-Incoming-Port at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8) at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11) at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20) at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9) at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11) at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38) at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10) at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12 at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9) at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102) at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) bounce_window.html:1 Unchecked runtime.lastError while running serial.disconnect: Serial connection not found. at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.SLAB_USBtoUART at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8) at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11) at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20) at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9) at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11) at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38) at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10) at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12 at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9) at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102) at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) bounce_window.html:1 Unchecked runtime.lastError while running serial.disconnect: Serial connection not found. at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.Bluetooth-Incoming-Port at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8) at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11) at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20) at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9) at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11) at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38) at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10) at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12 at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9) at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102) at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) bounce_window.html:1 Error in response to serial.disconnect: Error: Syntax error, unrecognized expression: #/dev/tty.SLAB_USBtoUART at Function.Sizzle.error (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:1496:8) at Sizzle.tokenize (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2113:11) at Sizzle.select (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2517:20) at Function.Sizzle [as find] (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:893:9) at jQuery.fn.init.find (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2733:11) at jQuery.fn.init (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:2850:38) at jQuery (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/jquery-1.11.3.js:73:10) at chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/start.js:317:12 at _found_wrapper (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:178:9) at Object.callback (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:102) at bounce.Nodemcu.disconnect (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:87:23) at HTMLDocument. (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:199:32) at bounce.Nodemcu._fire_line_received_event (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:42:18) at _data_received (chrome-extension://aiecccepohimcolmfdhoonopofdhcolg/app/nodemcu.js:59:36) nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.disconnect (nodemcu.js:87) at _timedout (nodemcu.js:183) at goog.async.Delay.doAction (bounce_base_compressed.js:1594) disconnect @ nodemcu.js:87 _timedout @ nodemcu.js:183 goog.async.Delay.doAction @ bounce_base_compressed.js:1594 nodemcu.js:87 Uncaught TypeError: Cannot read property 'connectionId' of undefined at bounce.Nodemcu.disconnect (nodemcu.js:87) at _timedout (nodemcu.js:183) at goog.async.Delay.doAction (bounce_base_compressed.js:1594) disconnect @ nodemcu.js:87 _timedout @ nodemcu.js:183 goog.async.Delay.doAction @ bounce_base_compressed.js:1594 — You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-273450264, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa_aP5UxquqZDJh4nKAYrTkdPjtUGks5rTfVSgaJpZM4Ll5ou .
-- <img src=' http://www.justgiving.com/App_Themes/JustGiving/images/badges/badge9.gif' width='120' height='90' alt='JustGiving - Sponsor me now!' />
This is what I get when opening a port and resetting the device:
rll��|�l�|�l�b|����r�b�b��nn�lnn���bp��lrlrlp�n��lbn�|�l�|��b��nn�l��l�nnl
nr���nr��p�n�r�����bn�|���b��nn�l
�nnl�lnr���nbl``�n��b�nl���nn��lp�n�r�����l�bn�|b��nn�l�l
�nnlnr���n��lr��n��l����n�r��n|�llll
��r�l�l��
NodeMCU 1.5.4.1 build unspecified powered by Lua 5.1.4 on SDK 1.5.4.1(39cb9a32) lua: cannot open init.lua
the garbled mess is the boot log in a different baud rate: https://github.com/espressif/esptool/wiki/ESP8266-Boot-ROM-Log
I'll presume the preamble is the main bootloader at a different baud rate. Do you then get the ">" prompt where you can type lua commands too? IE print "hello world!"
On Wed, 18 Jan 2017 at 14:15 jhoogeboom notifications@github.com wrote:
This is what I get when opening a port and resetting the device:
rll��|�l�|�l�b|����r�b�b��nn�lnn���bp��lrlrlp�n��lbn�|�l�|��b��nn�l��l�nnl nr���nr��p�n�r�����bn�|���b��nn�l�nnl�l nr���nbl``�n��b�nl���nn��lp�n�r�����l�bn�|b��nn�l�l�nnl nr���n��lr��n��l����n�r��n|�llll��r�l�l��
NodeMCU 1.5.4.1 build unspecified powered by Lua 5.1.4 on SDK 1.5.4.1(39cb9a32) lua: cannot open init.lua
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-273485637, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa3BP97MKlwcEI78Evt6Po68hKGFaks5rTh6UgaJpZM4Ll5ou .
-- <img src=' http://www.justgiving.com/App_Themes/JustGiving/images/badges/badge9.gif' width='120' height='90' alt='JustGiving - Sponsor me now!' />
I'll presume the preamble is the main bootloader at a different baud rate. Do you then get the ">" prompt where you can type lua commands too? IE print "hello world!"
That's exactly right.
Is it possible to try my latest release now? I think this has been fixed. Thanks
Ah yes I've been trying, it seems to be an electron app now vs chrome app. Your latest darwin release does not load on my machine. I've downloaded the source and running with npm does work, but when I hit find chip, it does not scan:
Uncaught Error: Module version mismatch. Expected 50, got 57.
Uncaught TypeError: Cannot read property 'scan' of undefined
Workspace changed
GeneratedCodeelement: jQuery.fn.init[1]workspace: Blockly.WorkspaceSvg__proto__: Object
Uncaught TypeError: Cannot read property 'scan' of undefined
Uncaught TypeError: Cannot read property 'scan' of undefined
'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5316065118650368 for more details.
I am trying to fix this currently. Darwin issues are that it needs to be rebuilt for serial port lib, and I'm replacing the menu since osx does not allow me to mutate that menu after it's been sent. If you want to see my latest work there, its on the 2017-09-14-pretty-menu branch.
On Fri, 15 Sep 2017, 14:10 jhoogeboom notifications@github.com wrote:
Ah yes I've been trying, it seems to be an electron app now vs chrome app. Your latest darwin release does not load on my machine. I've downloaded the source and running with npm does work, but when I hit find chip, it does not scan:
Uncaught Error: Module version mismatch. Expected 50, got 57. Uncaught TypeError: Cannot read property 'scan' of undefined Workspace changed GeneratedCodeelement: jQuery.fn.init[1]workspace: Blockly.WorkspaceSvgproto: Object Uncaught TypeError: Cannot read property 'scan' of undefined Uncaught TypeError: Cannot read property 'scan' of undefined 'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5316065118650368 for more details.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-329777852, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa7rh0QpVWo95Q2h6uuLwXHX6-Cbwks5sinbTgaJpZM4Ll5ou .
Thanks will check it out. The app works fine if I run it from source with npm, it's just that the scan is not working because the whole object bounce.Nodemcu is undefined. I don't see where it's loaded, probably some configuration going wrong.
oh running npm run package
produces a build that works on my machine and that is able to scan, so I guess electron does some of the loading that is not happening when just running npm run start
this is both on the master and your pretty-menu branch. The run button doesn't do anything yet and I guess what you are saying, there is no upload button on the master.
Grab the most recent master, I just merged the osx scan fixes. I also need to add docs on usb serial drivers for mac. I needed chg340 drivers to make it work.
On Fri, 15 Sep 2017, 16:23 jhoogeboom notifications@github.com wrote:
oh running npm run package produces a build that works on my machine and that is able to scan, so I guess electron does some of the loading that is not happening when just running npm run start this is both on the master and your pretty-menu branch. The run button doesn't do anything yet and I guess what you are saying, there is no upload button yet on the master.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-329814638, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDawDp1m1rKOi-BLaGs6cHanFWxWsMks5sipaDgaJpZM4Ll5ou .
Thanks, I have those already installed, otherwise you cannot even see the serial. I can't copy paste from the field, but here's what's happening.
The list stays empty though and I can't upload anything.
Looks like one of them got a sensible response - so the connect button (the little usb logo) should now have a drop down with the port which responded with a confirmation. The first scan looks like it found something else though.
Selecting the port in the dropdown should connect it so you can send code.
On Fri, 15 Sep 2017 at 19:43 jhoogeboom notifications@github.com wrote:
Thanks, I have those already installed, otherwise you cannot even see the serial. I can't copy paste form the field, but here's what's happening.
[image: screen shot 2017-09-15 at 20 41 49] https://user-images.githubusercontent.com/1828504/30498321-80e68d04-9a56-11e7-9b9e-c54843c4698e.png
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-329867540, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa6iWcZhi4P7T1nT1YyS1c3mMzeb6ks5sisVLgaJpZM4Ll5ou .
It seems like an empty list though.
Ah. That's not good. Can you try cmd+shift+i, there's a debug screen, the console may show an error.
On Fri, 15 Sep 2017, 22:06 jhoogeboom notifications@github.com wrote:
It seems like an empty list though.
[image: screen shot 2017-09-15 at 23 06 28] https://user-images.githubusercontent.com/1828504/30503447-84de7304-9a6a-11e7-8eb8-307127316795.png
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-329902316, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa02XHpCjoq3s1ApYAfimfttQtXYuks5siubrgaJpZM4Ll5ou .
sure!
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
p
rint('node mcu confirme
d')
Uncaught (in promise) Error: Syntax error, unrecognized expression: #/dev/tty.SLAB_USBtoUART
at Function.Sizzle.error (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:1496:8)
at Sizzle.tokenize (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:2113:11)
at Function.Sizzle [as find] (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:859:14)
at jQuery.find (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:2733:11)
at file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/app/start.js:341:29
at _node_instance.disconnect (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/app/nodemcu.js:183:47)
at SerialPort._port.close (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/app/nodemcu.js:85:58)
at binding.close.then (/Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/node_modules/serialport/lib/serialport.js:420:30)
Thanks, that's exactly what I needed. Arg. I know what I've done. I've been using the port name as an id for an li. I need to make a slug for the id and an xdata attribute with the actual address. I'll make that change today.
On Fri, 15 Sep 2017, 23:07 jhoogeboom notifications@github.com wrote:
sure!
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). p rint('node mcu confirme d')
Uncaught (in promise) Error: Syntax error, unrecognized expression: #/dev/tty.SLAB_USBtoUART at Function.Sizzle.error (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:1496:8) at Sizzle.tokenize (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:2113:11) at Function.Sizzle [as find] (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:859:14) at jQuery.find (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/jquery-1.11.3.js:2733:11) at file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/app/start.js:341:29 at _node_instance.disconnect (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/app/nodemcu.js:183:47) at SerialPort._port.close (file:///Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/app/nodemcu.js:85:58) at binding.close.then (/Users/jorishoogeboom/Downloads/Bounce-master/Bounce/output/Bounce-darwin-x64/Bounce.app/Contents/Resources/app/node_modules/serialport/lib/serialport.js:420:30)
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-329915481, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa-JgEkyYhfR0bd_TyR6zNA-1OXrYks5sivUWgaJpZM4Ll5ou .
Okay - change is pushed to master. I'm still yet to fix the proper mac package, but doing a git pull in master should get you this fix.
Great! somethings probably not wired up correctly, because the buttons don't do anything anymore.
Uncaught Error: Module version mismatch. Expected 50, got 48.
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Uncaught TypeError: Cannot read property 'scan' of undefined
Uncaught TypeError: Cannot read property 'send_multiline_data' of undefined
Uncaught TypeError: Cannot read property 'stop' of undefined
Uncaught TypeError: Cannot read property 'scan' of undefined
Uncaught TypeError: Cannot read property 'stop' of undefined
Uncaught TypeError: Cannot read property 'send_multiline_data' of undefined
Uncaught TypeError: Cannot read property 'scan' of undefined
Uncaught TypeError: Cannot read property 'stop' of undefined
Uncaught TypeError: Cannot read property 'send_multiline_data' of undefined
Uncaught TypeError: Cannot read property 'scan' of undefined
Ok - going to try digging deeper on the mac. I know that this means the thing needs an electron rebuild - the releases should be automatically doing that before packaging though. Was that from the release or from the git code? If it is the latter - an npm rebuild should do it.
On Sun, 17 Sep 2017 at 13:19 jhoogeboom notifications@github.com wrote:
Great! somethings probably not wired up correctly, because the buttons don't do anything anymore.
Uncaught Error: Module version mismatch. Expected 50, got 48. Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). Uncaught TypeError: Cannot read property 'scan' of undefined Uncaught TypeError: Cannot read property 'send_multiline_data' of undefined Uncaught TypeError: Cannot read property 'stop' of undefined Uncaught TypeError: Cannot read property 'scan' of undefined Uncaught TypeError: Cannot read property 'stop' of undefined Uncaught TypeError: Cannot read property 'send_multiline_data' of undefined Uncaught TypeError: Cannot read property 'scan' of undefined Uncaught TypeError: Cannot read property 'stop' of undefined Uncaught TypeError: Cannot read property 'send_multiline_data' of undefined Uncaught TypeError: Cannot read property 'scan' of undefined
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/orionrobots/Bounce/issues/35#issuecomment-330039932, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaDa9al0AnC83CBOgVhMEjGz3ZHB34aks5sjQ5ngaJpZM4Ll5ou .
This was from the gitcode on master branch, i did:
cd Bounce
npm install
npm run package
And your suggestion npm rebuild
before package fixed it, awesome. It's actually working now, loaded up your blink example and it's doing well.
Sweet. I'm running a repackage for OSX with the npm rebuild ran for it now. If you can test that - we can close this.
great, yeah the packaged app seems to work fine now!
The most recent builds of NodeMCU have a baudrate of 115200 by default, I think it still only scans at 9600 currently, probably why it isn't finding my mcu.