gillham / logic_analyzer

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

question , is it possible to run it on arduino nano( 328) or arduino uno ? #40

Closed gnkarn closed 6 years ago

gnkarn commented 6 years ago

it compiles ok, but it seams its not doing anything , i get no single output on the serial port. tis

dhiltonp commented 6 years ago

Try reducing the capture size at logic_analyzer.ino:164 (https://github.com/gillham/logic_analyzer/blob/master/logic_analyzer.ino#L164)

dhiltonp commented 6 years ago

If that doesn't help, maybe your triggers aren't set up correctly?

gnkarn commented 6 years ago

Thanks for your answer , in my case as it is a nano , those defines are skipped then size should already be. 532 as per the “else”. Am I right ¿

gnkarn commented 6 years ago

Triggers do you mean on the client application ¿ I have not selected any trigger , just left that option unchecked.

dhiltonp commented 6 years ago

Without a trigger, you will see no data.

logic_analyzer doesn't transfer data continuously. You set a trigger, when the trigger is tripped and gathered, data is transferred to your client.

David

On Fri, Jan 26, 2018 at 11:06 AM, gus notifications@github.com wrote:

Triggers do you mean on the client application ¿ I have not selected any trigger , just left that option unchecked.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gillham/logic_analyzer/issues/40#issuecomment-360859623, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGyxAU6Jm5zxfejc0YYrsg7GbdYiE_1ks5tOhQggaJpZM4RueiP .

gnkarn commented 6 years ago

enabled the simple trigger , tested with different channels , but it seams it is not working on arduino nano 328.

gnkarn commented 6 years ago

it works with arduino uno , but i couldn make it decode or detect a given bit sequence , i think that if you have a standard protocol that is on the sniffer client list , then it will be a great tool, but if you are trying to detect a non standard pattern ( in my case a given 16 bits word , where each bit is encoded with mark space ) , i will see if can found other more flexible sniffer .