Cypress FX3 as a Possible Logic Analyzer

  Рет қаралды 19,141

CNLohr

CNLohr

Күн бұрын

Пікірлер: 106
@fuzzy1dk
@fuzzy1dk 6 жыл бұрын
so their answer to cheap chinese knock-offs using their software is to increase prices? that's going to work :)
@CNLohr
@CNLohr 6 жыл бұрын
yesssssss
@eekpie
@eekpie 6 жыл бұрын
Thought the first logic 8 was overpriced. Essentially a $10 cypress dev board. Then they updated the software and you needed to swap the eeprom to one with a certain range of ID's to make the newer software work. Eventually bought one on offer from guilt but this new pricing is making me question my choice
@radio655
@radio655 6 жыл бұрын
Seems like an act of desperation. To me, this looks like the beginning of the end of Saleae.
@fuzzy1dk
@fuzzy1dk 6 жыл бұрын
to be fair, dev boards can be sold at a loss their purpose is to make business not money. Saleae has to make money somehow, developing software isn't free
@Peter_S_
@Peter_S_ 6 жыл бұрын
Saleae has to make money somehow and that's by offering a great product at a decent price. I based a piece of production test equipment off one of their Logic16 units and while it was quite pricey for what it was, it worked and their software was the only thing that justified the price. When I went to update the tester they had discontinued the Logic 16 and replaced it with the more expensive Logic16 Pro which offered me new nothing I wanted and broke up the input ports which I didn't want. That made me craft a complete replacement written on the PRU of a Beaglebone. Bye Saleae!!! Now with this price gouge I'm very glad I ditched them. Saleae, you've completely alienated me.
@NRBW
@NRBW 6 жыл бұрын
LimeSDR uses the FX3 as the USB controller : github.com/myriadrf/LimeSDR-USB_FX3
@tenet-rotas
@tenet-rotas 6 жыл бұрын
yay the legend made a video again!
@OMNI_INFINITY
@OMNI_INFINITY 17 күн бұрын
*Built a relatively large all-urban-terrain robot with a make controller about 15 calendar years ago. Does that company still make MCU boards?*
@L1Q
@L1Q 6 жыл бұрын
Inspiring!
@DirkDulfer
@DirkDulfer 6 жыл бұрын
You are 100% right in those last 10 seconds of this video! Just try, always!
@OMNI_INFINITY
@OMNI_INFINITY 17 күн бұрын
*Haha. Other than C? No...aside from assembly, but that sadly isn't so portable. C is as close as it gets to that seemingly.*
@englishrupe01
@englishrupe01 4 жыл бұрын
Cool stuff, thanks! I now have two of these bought for $4 each off Ebay (EZ-USB FX2's i should say) and working fine! Thanks for the github!
@ranger81de
@ranger81de 6 жыл бұрын
I guess you are one of the smartest guys on this planet, your work is amazing!
@EE_GEEK_369
@EE_GEEK_369 2 жыл бұрын
I can't believe it, just like if you were talking about me. I was introduced to the FX3 a couple weeks ago. I had a contact with someone from Cypress/Infineon because I had several questions regarding the FX3 in a special project. Well, they didn't help much, and most of them seem unaware of the inner workings of the device. Most of the info they provided are available. But I remember, the first question I asked was whether the GPIF II designer works in the Linux SDK, and they said no, you will have to use Windows for this. Anyways, my problem is still unsolved. I loved GPIF and the way you can interface to other chips. I was wondering if I can ask you a few questions since I'm totally new to Cypress/Infineon ecosystem.
@CNLohr
@CNLohr Жыл бұрын
It is frustrating that I had to use Windows to use the designer, but all the other firmware works fine in Linux. I regret I can't answer many questions about this, but you could always try to ping my Discord server (link in my youtube page's about section)
@Remowylliams
@Remowylliams 6 жыл бұрын
Heard you mention TinyCC and clicked Subscribe. Nice to know someone else uses the amazing little compiler.
@cveliz_
@cveliz_ 6 жыл бұрын
Open TechLab's channel worked in the development of Sigrok if i'm not wrong.
@UpcycleElectronics
@UpcycleElectronics 6 жыл бұрын
IIRC he did the Sigrok GUI but said he passed the baton on the project. I love his videos too. I learned a ton about and built my first freeCAD project using his tutorial on that one 2 days ago. He has an awesome channel for people that want to explore any/everything (they can put up in smoke).
@NickNorton
@NickNorton 6 жыл бұрын
You, running Windows? W. T. F. I'd rather use an Amiga than go back to running Windows.
@kingoffishes
@kingoffishes 6 жыл бұрын
I hurt a little inside on the windows switch, but another good video nonetheless. I loved the positive message in the end. I understand the rage of the price increase, and there is a fine line of a company's ability to increase a price to sustain it's business and employees. I think what you pay for when you ultimately buy a prepackaged solution is the guarantee. (Most) companies will work for you to ensure their service is provided, so while a hacked together solution will work, it will be tough to be used in any production environment. Ultimately we are just paying for silicon, metal, plastic and some other assortments of materials and I think that the real value lies from the logic, assembly and time people put into the product, whether that's the design decisions or the functional pipeline. My 0.02.
@MadyWinter
@MadyWinter 6 жыл бұрын
Looks like sigrok already supports the fx2, is it much different to the fx3?
@brainndamage
@brainndamage 6 жыл бұрын
MadyWinter the fx2 is a 8051 core and the fx3 supposedly ARM9 so probably no
@alonetrio
@alonetrio 6 жыл бұрын
too bad you stopped your HTC vive stuff.... :/
@DerSolinski
@DerSolinski 6 жыл бұрын
He didn't he was just busy, I'm sure he will pick it up again. Besides the project is not dead, join the Discord Server :-)
@swilwerth
@swilwerth 3 жыл бұрын
This video aged well
@CNLohr
@CNLohr 3 жыл бұрын
In that no one ever took this and ran or that there's still no competition?
@anticom1337
@anticom1337 6 жыл бұрын
It would be awesome if this video started yet another community effort like your video about the vive did
@CNLohr
@CNLohr 6 жыл бұрын
Oh man that would be awesome. I had kinda thought about streaming this but I was stuck in Windows :-/
@arabiccola
@arabiccola 9 ай бұрын
It seems that 6 years later, the Sigrok people have not yet seen your video. Neither the FX2 nor the FX3 development boards are supported as logic analyser devices. What a shame.
@CNLohr
@CNLohr 6 ай бұрын
People have made PRs, but they had issues with the binary blob code for the part to initialize the GPIF engine. So who knows if they'll ever accept it.
@ChartreuseKitsune
@ChartreuseKitsune 6 жыл бұрын
Might also been nice as a logic analyzer for vintage computer repair where there's wide parallel buses that could use the full 32 bit width of the GPIF system. Guessing that application would need a buffer like dangerousprototypes.com/docs/Open_Bench_Logic_Sniffer has (for only 16/32 channels). Since it seems the FX3 has a max input voltage of Vcc+0.3, or ~3.6V.
@CNLohr
@CNLohr 6 жыл бұрын
You could probably tolerate a lower impedance on the inputs. My favorite kind of logic level shifter: The resistor divider.
@alpagutsencer
@alpagutsencer 6 жыл бұрын
i think Seleae uses Cypress too. I saw these GPIF stuff on eevblog before. Good work!
@CNLohr
@CNLohr 6 жыл бұрын
The ooold ones used a Cypress... But I don't know anything about the new ones.
@MakeKasprzak
@MakeKasprzak 6 жыл бұрын
Understandably at $700. Yikes.
@JockMurphy
@JockMurphy 6 жыл бұрын
I believe they are FPGA based
@Peter_S_
@Peter_S_ 6 жыл бұрын
The original Logic16 was a Spartan6 with a Cypress USB interface if I recall correctly.
@rpavlik1
@rpavlik1 6 жыл бұрын
CNLohr new ones use a Cypress plus an fpga with some ram. So it's not quite the same "gpif->USB" direct architecture anymore.
@skylinelapse
@skylinelapse 6 жыл бұрын
Where is the linux mint?
@CNLohr
@CNLohr 6 жыл бұрын
Support added last night.
@skylinelapse
@skylinelapse 6 жыл бұрын
CNLohr thanks willy wonka
@jellecoder6400
@jellecoder6400 5 жыл бұрын
Why mint? You need to run Kali or some other security os. Get VIM and just remember to install stuff in the terminal. Comes preloaded with amp the little things you need
@therealchayd
@therealchayd 6 жыл бұрын
That's crazy pricing; the original digital-only logic was much more reasonably priced. Most tinkerers don't need 8 analog channels (don't get me wrong, it would be *nice* to have that, but not a deal breaker)
@H32-u7d
@H32-u7d 6 жыл бұрын
You have no idea how much this helped thank you
@bennguyen1313
@bennguyen1313 4 жыл бұрын
I think the Saleae LP16 also uses the Cypress FX3.. but in addition has ADCs, an FPGA, bunch of analog circuitry... I assume all that is for fancy triggering? Not sure if they support Sigrok/fx3lafw, but I've seen some nice reviews of low-cost logic analyzers : Analog Discovery 2, IkaLogic SP209, and the LogicPort!
@jojodi
@jojodi 6 жыл бұрын
Great stuff. +1 To trying to get Sigrok support. Pretty interested to see what all can be built with that GPIF program. Could it not run via Wine? (I'm sure you tried)
@SpikeShroom
@SpikeShroom 5 жыл бұрын
Okay I would totally buy that thing, I just have one small problem: I have absolutely no clue what you're talking about. I don't think I understood a single word other than "Eclipse" lol. This is coming from a comp sci student. I'm really interested though - how the heck do you even start on learning...whatever this is?
@kartikeyajp8294
@kartikeyajp8294 3 жыл бұрын
Loved your take on FX3 board. Was thinking that is possible. But your end message made it even clearer that. WE HAVE TO GIVE IT TRY. inspirational 💯
@confusedwolf7157
@confusedwolf7157 6 жыл бұрын
Yay my christmas just came early this year. Spite programming needs a guru to write a standard. Seriously have a bunch of these horrors (boards). Igor! Start the generators!
@damny0utoobe
@damny0utoobe 5 жыл бұрын
Hey cnlohr, I read the whole discussion around licensing/blobs and why it can't be used with sigrok because they can't carry the binary because of proprietary sdk issues with cypress. Is there anyway around to making it work with sigrok using your own binary?
@lawrencemanning
@lawrencemanning 6 жыл бұрын
This is excellent. is the rest of the software functionality: triggers, protocol analysers, and storing it in a way that doesn't require loads of RAM, definitely just a trivial excersise?
@davidgronlund3463
@davidgronlund3463 6 жыл бұрын
Perseverance through spite. We won't give up just because we don't want to give entropy the satisfaction.
@slap_my_hand
@slap_my_hand 4 жыл бұрын
FTDI has the FT600 and FT601, which are way cheaper than the FX3. I think they can be configured to work as a logic analyzer, but they don't have the fancy state machine stuff.
@CNLohr
@CNLohr 4 жыл бұрын
It's ftdi. Never ftdi. They are seriously bad for the long term health of any product. Also their pipelines are really fixed and janky.
@davidcain3752
@davidcain3752 5 жыл бұрын
A goal of mine is to approach your level geez. I love the message at the end, very motivating!
@MakeKasprzak
@MakeKasprzak 6 жыл бұрын
Nice. I was able to get a slightly better shipping price to Canada with Mouser (free, by padding my order with a Lattice IceStick (FINALLY back in stock) and a couple cheap Cyprus CY8CKIT kits). If only Cyprus software was Linux friendly.
@MakeKasprzak
@MakeKasprzak 6 жыл бұрын
There. Got mine.
@jc_daddy
@jc_daddy 3 жыл бұрын
Thanks for posting your source code for this on Github. I was able to get it working with a little effort (try, try try!), and I need a working FX3 design for a side job, so this was very helpful!
@CNLohr
@CNLohr 3 жыл бұрын
Absolutely! It's all free to use without final attribution :) for everyone's use.
@RoyvanLierop
@RoyvanLierop 6 жыл бұрын
Have you tried the PSoC 5LP kit? its a $10 kit from Cypress. Might be interesting to make a Verilog episode.
@CNLohr
@CNLohr 6 жыл бұрын
I have this opinion about FPGAs and FPGA-like tools. I've seen engineers pour far too much time and effort into them. I really think 90% of the time when people try solving an issue with something with an FPGA/CPLD or hybrid proecessor, using a different processor altogether would be better.
@mrmega328
@mrmega328 6 жыл бұрын
Nice work. If you really wanted to get something up and running quickly with Sigrok, you could check out supported Sigrok analysers to see how they write their data and emulate that, but it's easier if Sigrok can support your device directly. There's also the Beaglebone Logic analyser, 100Msps, just a bit more expensive but your one would be way more compact. It might have taken weeks if you went the old fashion way, MCU (or CPLD) with SRAM with a USB interface (limited sample depth would be a pain).
@CNLohr
@CNLohr 6 жыл бұрын
Yeah... beaglebone never really interested me mostly because of the cost and how sophisticated the environment was. I'm also really sad when working inside other projects and I don't think I'm the best person to add support _to_ sigrok :-/
@uint16_t
@uint16_t 5 жыл бұрын
You're amazing, thanks!
@download333
@download333 6 жыл бұрын
I've just been using one of the $4 chinese versions. It don't think it supports analog signals, but it works great for digital protocol analysis
@Pownyan
@Pownyan 6 жыл бұрын
i have one of those to... might have been DOA, but it gives me completely random output.
@RuiRex
@RuiRex 3 жыл бұрын
Great work! Thanks!
@sburlappp
@sburlappp 6 жыл бұрын
A commenter on Hackaday pointed out that someone else is already working on something very similar, you should definitely get together: github.com/schnommus/libsigrok-cypress-fx3-test
@CNLohr
@CNLohr 6 жыл бұрын
I GOOGLED FOR THIS STUFF, YO. HOW DID I MISS THIS?
@CNLohr
@CNLohr 6 жыл бұрын
Ok, after further investigation, seems they went a different direction, i.e. bulk and some other stuff. Also, def more of a focus directly on sigrok get-it-to-work while I'm more interested in a general solution?
@cpuchip
@cpuchip 4 жыл бұрын
Analyzer2go has this board as a supported board, have you seen their stuff?
@cpuchip
@cpuchip 4 жыл бұрын
Also, awesome work on your project. I didnt realize that board was so cheap! I'm so buying one now.
@CNLohr
@CNLohr 3 жыл бұрын
I have not seen that.
@leonardocafferata6697
@leonardocafferata6697 6 жыл бұрын
Wow. I got that same board thinking about doing exactly that. Ill try to test your build asap. So it doesnt need eclipse anymore?
@CNLohr
@CNLohr 6 жыл бұрын
Well, it never _needed_ eclipse, but I was using that to build the firmware at the moment. I intend to use Make in Linux.
@leonardocafferata6697
@leonardocafferata6697 6 жыл бұрын
CNLohr sorry, that was what I meant. Maybe you got around making a makefile and building/testing it on linux.
@CNLohr
@CNLohr 6 жыл бұрын
Why would I want to get "around" that?
@leonardocafferata6697
@leonardocafferata6697 6 жыл бұрын
CNLohr haha. Yeah I just read what I wrote. I meant that maybe you already wrote the makefile and test it. Im a little distracted right now, sorry about the confusion. Ill download your repo and try testing it at home. Thanks for sharing your work. Are you gonna keep posting video updates of this, as with the previous projects?
@CNLohr
@CNLohr 6 жыл бұрын
No makefile yet, but soon.
@AndrewTubbiolo
@AndrewTubbiolo 6 жыл бұрын
D00d! I think I love this chip.
@leon11235
@leon11235 6 жыл бұрын
The chip looks very promising. How do you think, is it possible to make IDE device emulator with it?
@CNLohr
@CNLohr 6 жыл бұрын
I don't understand what you mean "IDE device emulator" are you referring to hard drives?
@leon11235
@leon11235 6 жыл бұрын
Yes, hard drive or CD-ROM. Basically it needs to be able to grab 16 bits of data and 4-5 more signals fast enough(I don't remember exactly how many), sending data from disk to controller shouldn't be a problem at all. UDMA/33 mode would be good enough for such device.
@Regular6782
@Regular6782 6 жыл бұрын
Fantastic work mate, as always!
@NicuIrimia
@NicuIrimia 6 жыл бұрын
put an ESP on it
@browaruspierogus2182
@browaruspierogus2182 6 жыл бұрын
What exactly is the advantage of this board? Maybe it is easier to buy cheap FPGA dev kit board like RPi0 or better Intel? (wonder if AMD will have)
@CNLohr
@CNLohr 6 жыл бұрын
It's because of the insane bandwidth you can get from it synchronously. You can also get the data into a computer effectively. Keep in mind it is transfering in these tests to buffers in my PC at almost 2gigabits/sec.
@browaruspierogus2182
@browaruspierogus2182 6 жыл бұрын
Yes but PC cant do it by itself? Some people use Microsoft Message Analyzer www.microsoft.com/en-gb/download/details.aspx?id=44226 Here some cheaper Chinese analyzer www.aliexpress.com/item/New-USB-Logic-SCM-24MHz-8-Channel-Logic-Analyzer-Debugger-for-ARM-FPGA-High-Quality/32802074523.html
@browaruspierogus2182
@browaruspierogus2182 6 жыл бұрын
I wonder if there is low price analyzer for usb 3.1 (10g/s). FX3 is 3.0.
@damny0utoobe
@damny0utoobe 5 жыл бұрын
@@browaruspierogus2182 one thing you don't understand is how to interface an FPGA to a PC. A common method is to use PCIE or if you want USB, you use something like cypress FX3 (thing in the video) or an FTDI
@GeorgeTsiros
@GeorgeTsiros 6 жыл бұрын
good work!!
@rmtdev
@rmtdev 6 жыл бұрын
Thanks man !
@fuzzy1dk
@fuzzy1dk 6 жыл бұрын
I see several projects with FX3 sdk for linux on github, they don't work?
@CNLohr
@CNLohr 6 жыл бұрын
They do! But you can't write new firmware for it, changing the GPIF behavior in Linux.
@CNLohr
@CNLohr 6 жыл бұрын
I.e. once the GPIF information is "compiled" it is portable and can be used anywhere.
@fuzzy1dk
@fuzzy1dk 6 жыл бұрын
like this? github.com/nickdademo/cypress-fx3-sdk-linux/tree/master/firmware/basic_examples/cyfxgpiftousb
@CNLohr
@CNLohr 6 жыл бұрын
Specifically cyfxgpif2config.h ... needed to be done with the GPIF designer. But wow, I wish I noticed that before I started down my path... Though I did spend most of my time rewriting the PC-side software.
Melt your circuit boards
11:58
mitxela
Рет қаралды 389 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 54 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,7 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 21 МЛН
[009] DSLogic Logic Analyzer Review and Teardown
46:09
OpenTechLab
Рет қаралды 91 М.
Trolling My Mom With an E-Paper Picture
11:05
CNLohr
Рет қаралды 752 М.
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 831 М.
Aggressively Low Power with the ESP8266
10:18
CNLohr
Рет қаралды 78 М.
What is CNOVR (Intro #1)
13:13
CNLohr
Рет қаралды 16 М.
"Reverse Engineering" the HTC Vive.
23:01
CNLohr
Рет қаралды 33 М.
E-paper hacking: fastest possible refresh rate
27:55
Applied Science
Рет қаралды 567 М.
My thoughts on framework after daily driving it for 2 years
16:34
Louis Rossmann
Рет қаралды 710 М.
Setting up a cheap Logic Analyser (CY7C68013A) in Windows
7:11
Marina McFab
Рет қаралды 18 М.
Jumperless
4:13
Architeuthis Flux
Рет қаралды 156 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 54 МЛН