• Tue 2017.08.01

    @Gordon, there doesn't appear to be any errors, just no output other than 'Connected >' in left pane:

    From a fresh instance Native IDE

    We have chrome.serial - not using 'serialport' module
    'noble' module couldn't be loaded, no node.js Bluetooth Low Energy  Error: LIBUSB_ERROR_NOT_SUPPORTED
    Disable Web Bluetooth as we have Winnus instead
    serial_audio: Audio Sample rate : 48000
    serial_audio: Audio Serial Baud 9600 Bit time 5
    Web Bluetooth available, but Windows Web Bluetooth is broken in <=56 - not using it
    GET chrome.storage.sync = {"AUTO_SAVE_CODE":true,"BAUD_RATE":"9600","BLOCKLY_EXTENSIONS":"|bluetooth|robot|","BLOCKLY_LANGUAGE":"en","BLOCKLY_TO_JS":false,"BOARD_JSON_URL":"http://www.espruino.com/json","CODE":"var  on = false;\n\n//if(false){\nsetInterval(function() {\n  on = !on;\n//  LED1.write(on);\n//  LED1.write(false);\n  LED2.write(on);\n  LED3.write(!on);\n}, 1500);\n//}\nvar c = function(){ clearInterval(); };\n\nvar f = function(){ LED1.write(0); LED2.write(0); LED3.write(0); };\n","COMPILATION":true,"COMPILATION_URL":"http://www.espruino.com:32766","ENABLE_Testing":false,"ENV_ON_CONNECT":true,"FONT_SIZE":12,"MINIFICATION_DeadCode":true,"MINIFICATION_LEVEL":"","MINIFICATION_Literal":true,"MINIFICATION_Mangle":true,"MINIFICATION_Unreachable":true,"MINIFICATION_Unused":true,"MODULE_AS_FUNCTION":false,"MODULE_EXTENSIONS":".min.js|.js","MODULE_MINIFICATION_LEVEL":"ESPRIMA","MODULE_URL":"http://www.espruino.com/modules","NPM_MODULES":false,"RESET_BEFORE_SEND":true,"SAVE_ON_SEND":0,"SERIAL_AUDIO":"0","SERIAL_TCPIP":"","SERIAL_THROTTLE_SEND":false,"SET_TIME_ON_WRITE":false,"SHOW_CODE_LINK_ICON":false,"SHOW_WEBCAM_ICON":0,"STORE_LINE_NUMBERS":true,"Sound_Error":"","Sound_Info":"","Sound_Success":"","Sound_Warning":"","Speak_Error":false,"Speak_Info":false,"Speak_Success":false,"Speak_Warning":false,"UI_MODE":"Normal"}
    Initialising SettingsConsole
    Initialising Utils
    Initialising Config
    Initialising Notifications
    Initialising Status
    Initialising App
    Initialising File
    Initialising Code
    Initialising Serial
      - Initialising Serial Chrome Serial
      - Initialising Serial Chrome Socket
      - Initialising Serial Windows NUS BLE
      - Initialising Serial Audio
    Initialising Terminal
    Initialising CodeWriter
    Initialising Modules
    Initialising Env
    Initialising Flasher
    Initialising EditorBlockly
    Initialising EditorJavaScript
    Initialising Send
    Initialising MenuPortSelector
    Initialising MenuSettings
    Initialising MenuFlasher
    Initialising SettingsAbout
    Initialising SettingsFlasher
    Initialising BoardJSON
    Initialising VersionChecker
    Initialising Compiler
    Initialising Assembler
    Initialising GetGitHub
    Initialising NPMModules
    Initialising ExamplePlugin
    Initialising Unicode
    Initialising SaveOnSend
    Initialising Minify
    Initialising Tutorial
    Initialising Webcam
    Initialising FontSize
    Initialising UiMode
    Initialising URLHandler
    Initialising CodeLink
    Initialising Project
    Initialising Testing
    Initialising Notification_Sound
    Initialising Tern
    Initialising Debugger
    Initialising Tour
    Initialising SettingsProfile
    Initialising HelpLinks
    Loaded code from storage.
    >>> Connecting...
    Set Slow Write = true
    Connected [object Object]
    Found a prompt... great!
    >>> Sending...
    ---> "\u0010console.log(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\")\n"
    BT> Sending "\u0010console.log(\"<"
    BT> Sending "\",\"<<\",JSON.str"
    BT> Sending "ingify(process."
    BT> Sending "env),\">>\",\">\")\n"
    >>> Sent
    Got "< << {\"VERSION\":\"1v88\",\"BUILD_DATE\":\"Nov 10 2016\",\"BUILD_TIME\":\"11:53:15\",\"GIT_COMMIT\":\"b041fd452cfe48f488fcab77c602eb95a1cba528\",\"BOARD\":\"PUCKJS\",\"CHIP\":\"NRF52832\",\"CHIP_FAMILY\":\"NRF52\",\"FLASH\":524288,\"RAM\":65536,\"SERIAL\":\"3e9fc4de-e573d199\",\"CONSOLE\":\"Bluetooth\"} >> >\r\n>"
    Loading http://www.espruino.com/json/PUCKJS.json
    Device found (connectionId=undefined)
    [success] Connected to port ca:97:fc:73:b1:32
    >>> Connected to port ca:97:fc:73:b1:32
    Board JSON loaded
    Set Slow Write = true
    FIRMWARE: Current 1v88, Available 1v93
    BT> Sending "3"
    BT> Sending "+"
    BT> Sending "4"
    BT> Sending "\r"
    BT> Sending "a"
    BT> Sending "s"
    BT> Sending "d"
    BT> Sending "f"
    BT> Sending "g"
    BT> Sending "\r"
    
    


    Could port speed be an issue? I've tried 9600 default and boosted up to 115200 with no luck.

    EDIT: Don't think so as it appears I am able to send code from right-hand pane. Keyboard presses don't seem to go to left-pane even after clicking in LH pane.

    Will try again when I have a new Puck and the ability to flash via a smart phone.

About

Avatar for Robin @Robin started