gillham / logic_analyzer

Implementation of a SUMP compatible logic analyzer for the Arduino
Other
463 stars 99 forks source link

build error #43

Closed abdelrahma22 closed 5 years ago

abdelrahma22 commented 6 years ago

Arduino: 1.6.13 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Users\EssaM\AppData\Local\Temp\cclwLT9s.ltrans0.ltrans.o: In function `main':

cclwLT9s.ltrans0.o:(.text.startup+0x210): undefined reference to `captureInline4mhz()'

cclwLT9s.ltrans0.o:(.text.startup+0x21e): undefined reference to `captureInline2mhz()'

collect2.exe: error: ld returned 1 exit status

exit status 1 Error compiling for board Arduino/Genuino Uno.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

stickbreaker commented 6 years ago

@abdelrahma22 copy all of the sketches into one directory.

abdelrahma22 commented 6 years ago

i had but no good

abdelrahma22 commented 6 years ago

can you give me binary file for ardyuno uno

stickbreaker commented 6 years ago

Logic_Analyzer.ino.standard.zip

abdelrahma22 commented 6 years ago

it compiled successfully but i cant run the analyzer please help me

stickbreaker commented 6 years ago

upload the sketch to the UNO

What Serial port is the UNO on?

have you downloaded the OLS client?

Download ols client, extract the entire zip file

navigate to where you extracted the zip file

double click on run.bat

in OLS Capture>Device>OpenBench Logic Sniffer Capture>Begin Capture - Connection Connection Type > Serial Port Analyzer Port > UNO PORT from above PortSpeed> 115200 DeviceType> Arduino Generic LogicAnalyzer Show Device MetaData> LEDs should blink on Uno,
My info: DeviceType: AGLAv0 Firmware: 0.13 Protocol 2 Capture>Begin Capture - Triggers Uncheck trigger enabled: until you need them Capture>Begin Capture - Acquisition sampling Rate: select one Record size: what ever, with a uno 1k is max

Capture>Begin Capture click "Capture"

abdelrahma22 commented 6 years ago

i had 5 channel how i connect them in arduino to the project

stickbreaker commented 6 years ago

This SUMP protocol compatible logic analyzer for the Arduino board supports 5 channels consisting of digital pins 8-12, which are the first 5 bits (0-4) of PORTB. Arduino pin 13 / bit 5 is the Arduino LED, bits 6 & 7 are the crystal oscillator pins.

D8.. D13

abdelrahma22 commented 6 years ago

which the pin is analog input

stickbreaker commented 6 years ago

a logic analyzer is a digital representation of the signal either on or off, this system cannot display an analog signal.

abdelrahma22 commented 6 years ago

how can i use trigger to start capturing with start condition

Escalion commented 6 years ago

@abdelrahma22 - Read the README. You need to use a SUMP client and set the trigger there.

gillham commented 5 years ago

I'll add some verbiage to the README to make sure people are properly creating the 'logic_analyzer' directory in their sketchbook and putting the three files in there. Apparently not everyone knows how to use 'git clone' to get things off github, so I need to improve the docs. :)