void setup() { // initialize digital pin 13 as an output. pinMode(13, OUTPUT); }
// the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(50); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(50); // wait for a second }
Now hookup OBLS channel 0 and GND and run it. Is this setup possible?
just got my OBLS today , and was very happy and eager to try it out. But just after initial adrenaline rush of hapiness reality struck and Logic Analyzer Client reported that it cannot show device metadata and there is no such port. I cannot open capture.
Runned run.bat as Administrator but still no go. Device is found and shown in Device Manager but no connection?
Any help, is my OPLS DOA or something?
EDIT:
Machine running is T420 Win7.
I've just saw that starting Capture emits error on the windows terminal
Quote
JGoodies Looks: I have successfully installed the 'Sky Bluer' theme. java.io.IOException: No such port! at nl.lxtreme.ols.io.serial.CommConnectionFactory.createConnection(Comm onnectionFactory.java:111) at nl.lxtreme.ols.io.ConnectorServiceImpl.open(ConnectorServiceImpl.jav :160) at org.sump.device.logicsniffer.LogicSnifferDevice.createStreamConnecti n(LogicSnifferDevice.java:159) at org.sump.device.logicsniffer.LogicSnifferDevice.getStreamConnection( ogicSnifferDevice.java:245) at org.sump.device.logicsniffer.LogicSnifferDevice.createAcquisitionTas (LogicSnifferDevice.java:87) at nl.lxtreme.ols.acquisition.BackgroundDataAcquisitionService.acquireD ta(BackgroundDataAcquisitionService.java:76) at nl.lxtreme.ols.client.ClientController.captureData(ClientController. ava:539) at nl.lxtreme.ols.client.action.CaptureAction.actionPerformed(CaptureAc ion.java:97) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sou ce) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sou ce) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sou ce) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
EDIT2:
Also tried running it on Linux Z61m Ubuntu 14.04. Attached as ttyACM0 , show device metadata doesn't work.
EDIT3:
Just found command to view status, and it shows up this:
Quote
C:UsersnikDesktopols-0308ols-0308OLS_Upgraderwinbin>ols-loader.exe -p:COM 31 -run -status Logic Sniffer ROM loader v0.3 (November 9, 2010) Opening serial port 'COM31' @ 921600 ... OK Error reading OLS id
EDIT4:
Ok pressed update and reset together and then runned same command, I got:
Quote
C:UsersnikDesktopols-0308ols-0308OLS_Upgraderwinbin>ols-loader.exe -p:COM 31 -run -status Logic Sniffer ROM loader v0.3 (November 9, 2010) Opening serial port 'COM31' @ 921600 ... OK Found OLS HW: 1, FW: 2.3, Boot: 2 Found flash: WINBOND W25X40 OLS status: 00 OLS switched to RUN mode
EDIT5:
Ok I've managed to load 3.07 Demon Core with 3.0 PIC and still nothing.
just got my china-arduino-nano v3 and have some trouble with SD card SPI. While working on my original Arduino Uno it all works fine and data goes to SD card but after switching to my small chinese variant all stops. I thought it would be good to connect logic sniffer to SPI on my Arduino Uno and get some data out of it, and then try it with nano to see what is the difference.
I've put SPI clock on 0.5 MHz because BP works on 1MHz so it should be fine.
after days of looking around for Bus Pirate v3.6 , finally it arrived and I was thrilled to get it. All went out of the window when I tried to use it with my DS18B20 (waterproof package) 1-wire famous device. In Arduino it works perfectly and there seems no way for me to make it run in Bus Pirate.
For sure it works because I am checking it every time in Arduino (just to be sure DS18B20 works).
I've tried several setup: 1) Arduino 1.1 With pull-up (red & black together, yellow SDA) -- WORKS -- 1.2 With no pull-up (internal pull-up / red & black together, yellow SDA) -- WORKS --
2) il-bus-pirate-cosa-e-come-funziona-esempio-di-comunicazione-con-bus-1-wire (italian guy from buspirate page, cannot post links) 2.1 With pull-up -- DOESN'T WORK -- 2.2 With internal pull-up -- DOESN'T WORK -- 2.3 With internal and external pull-up -- DOESN'T WORK -- 2.4 With internal and external pull-up ( VCC disconnected) -- DOESN'T WORK -- 2.5 With internal pull-up ( VCC disconnected) -- DOESN'T WORK -- 2.6 With external pull-up ( VCC disconnected) -- DOESN'T WORK --