digshadow has quit [Ping timeout: 260 seconds]
digshadow has joined ##openfpga
wpwrak has joined ##openfpga
azonenberg_work has quit [Ping timeout: 240 seconds]
promach has joined ##openfpga
<cyrozap> nats`: In my experience, I've had some trouble flashing ESP8266 dev boards with onboard CH340, but no trouble flashing the ones with SiLabs CP2012. So it's probably mostly fine, but unless you're building 1000's of units, I'd think the small per-unit savings isn't worth the trouble of using a possibly-somewhat-buggy part.
<rqou> right, this reminds me that "program a cortex-m0 to pretend to be an ft232" is still on my todo list
digshadow has quit [Quit: Leaving.]
amclain has quit [Quit: Leaving]
<pie_> so i finally cleared my smaller desk, not that either of them are particularly big, and got out my electronics stuff
<pie_> woo i made a led+switch lmao
<pie_> forgot to order switches from aliexpress though so i cannibalized a keyboard switch from a sample kit
digshadow has joined ##openfpga
<cyrozap> rqou: While that's an interesting project (and one I've thought of taking on myself), what would be the point? I haven't seen an M0 micro with USB and a UART that was cost-competetive with any dedicated USB-serial ICs.
<rqou> er, iirc i had looked for one that was competitive with the ftdi asic
<rqou> but yeah, it's not quite competitive with the other clones if you just need usb-serial
<rqou> i was also going to cram it other functionality like usb-spi and "random bootstrapping stuff"
<cyrozap> Ah, I see
<cyrozap> Have you seen the Cypress USB-Serial bridge ICs?
<rqou> no?
<cyrozap> The high-end one has two serial ports that can be configured for SPI and I2C, and one of the ports also supports ~400 kHz JTAG. Cost for that chip is $2.50.
<cyrozap> For the plain USB-serial mode, it uses CDC-ACM so it can be used out-of-the-box on OS X and Linux. For everything else, there's a really awful library that I made slightly less awful (and also got it to compile on Windows): https://github.com/cyrozap/libcyusbserial
<pie_> why is jtag so slow btw?
<cyrozap> pie_: Because the chip is just an 8-bit microcontroller (with Cypress firmware) bit-banging JTAG.
<pie_> i meanin general
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined ##openfpga
DocScrutinizer05 has quit [Remote host closed the connection]
DocScrutinizer05 has joined ##openfpga
Hootch has joined ##openfpga
<cyrozap> pie_: Normal signal integrity reasons. Many chips only support JTAG clocks up to a few tens of megahertz, meaning the theoretical max transfer speed is going to be only a few megabytes per second (ignoring protocol overhead and state machine transitions). Most reasonably-priced adapters can't even go that fast, so you're limited to one megabyte/s or less. Finally, even when both the chip and the
<cyrozap> adapter support high speeds, you need to make sure the cable your using is as short as you can tolerate, otherwise you'll start having signal integrity problems.
<rqou> alternatively you can be like Intel and tunnel JTAG over a USB SS PHY
scrts has quit [Ping timeout: 268 seconds]
scrts has joined ##openfpga
massi has joined ##openfpga
<rah> I'm selling a GTA04 phone bundle in case anyone is interested: http://settrans.net/~rah/gta04-sale/gta04-bundle-for-sale.txt
<rqou> wow unfortunately for me that's a lot of money and i have enough random crap already
* rqou reminds myself to sell some of my junk
<rah> rqou: so make me an offer? :-)
<rah> rqou: how about we exchange junk? :-)
<rqou> i need to inventory my junk first :P
<rqou> also, i'm in the US so i don't know how well shipping works
<rqou> don't want to accidentally create a byuu here
Bike has quit [Quit: sleep late]
<nats`> cyrozap there will be 2 or 3 unit maximum
<nats`> it's more a question of driver and those crap
<rqou> i heard that on windows the cdc acm driver sucks
<rqou> and on osx afaik all usb-serial drivers suck
<rqou> (on linux IME all usb-serial drivers kernel-side just work)
<nats`> the CDC driver doesn't suck in itself
<rqou> (modemmanager sucks though)
<nats`> it's more they implement it strictly and lot of CDC device doesn't answer corectly to the feature request
<nats`> so they don't answer with 0000 but with something like 0001
<nats`> need to find back the example we had at work
<rqou> there was something about how win10 fixed something in the cdc acm driver for arduino?
qu1j0t3 has quit [Ping timeout: 240 seconds]
<nats`> if you don't respect exactly those code it'll never show up the COM serial port
<rqou> there was something about the cdc acm driver somehow getting stuckk
<rqou> idk
<rqou> in general drivers just suck all around
<rqou> "Also usbser.sys has been completely re-written in WDF, improving its overall reliability as well incorporating new features for power management"
<nats`> and it asks for a specific class
<nats`> otherwise it'll wait for a manufacturer driver
<rqou> but they did also bugfix the cdc driver
<rqou> in general the linux one has been much more tolerant of breaking the rules
<rqou> meanwhile on the other extreme macos _insists_ cdc devices are modems
<pie_> cyrozap, thanks
<nats`> you have the same with ubuntu
<nats`> soft guyz here spend 2 days on one product
<rqou> but you can at least uninstall modemmanager
<nats`> they though their embedded usb stack was bloated
<nats`> but nop it was ubuntu sending crap automagically to CDC device
<rqou> honestly at this point i don't understand why modemmanager even speaks to normal serial ports
<rqou> i would be ok with one that only spoke qmi
pie_ has quit [Ping timeout: 240 seconds]
qu1j0t3 has joined ##openfpga
scrts has quit [Ping timeout: 240 seconds]
zino_ has quit [Remote host closed the connection]
zino_ has joined ##openfpga
scrts has joined ##openfpga
bibor has quit [Quit: WeeChat 1.0.1]
bibor has joined ##openfpga
kuldeep has joined ##openfpga
kuldeep has quit [Read error: Connection reset by peer]
kuldeep has joined ##openfpga
scrts has quit [Ping timeout: 260 seconds]
scrts has joined ##openfpga
scrts has quit [Ping timeout: 260 seconds]
scrts has joined ##openfpga
talsit has left ##openfpga [##openfpga]
pie_ has joined ##openfpga
kuldeep has quit [Read error: Connection reset by peer]
pie_ has quit [Client Quit]
pie_ has joined ##openfpga
pie_ has quit [Changing host]
pie_ has joined ##openfpga
kuldeep has joined ##openfpga
pie_ has quit [Ping timeout: 240 seconds]
scrts has quit [Ping timeout: 240 seconds]
scrts has joined ##openfpga
<whitequark> holy shit?
<whitequark> sha1 was broken in 2005
<rqou> but this is a true collision
<rqou> not a freestart collision or a research paper
<rqou> as in, two different pdf files with the same hash
<rqou> afaik tghe 2005 paper is just an algorithm for producing such a collision and not a collision itself?
<whitequark> it's not really a "holy shit" moment if it was predicted over a decade ago
<rqou> alright, fine :P
<rqou> also a freestart collision was announced a number of months back
scrts has quit [Ping timeout: 260 seconds]
<lain> hm
<lain> typo in google blog
<lain> "Today, 10 years after of SHA-1 was first introduced"
<lain> two typos ("after of"?) and 10 years
<lain> it's uhhh been around a lot longer than a decade
<qu1j0t3> they were excited.
<lain> hehe
scrts has joined ##openfpga
<lain> hm
<lain> interesting though, that they were able to do 2^63 hashes for that
<lain> that is a crapton of hashes
<rqou> wait
<lain> and slightly fewer than the 2005 break would suggest were required, but that could easily just be luck
<rqou> this means that 64-bit encryption keys are breakable
<rqou> at least by google
<rqou> i guess that's not too surprising though
<rqou> hmm, des is 56-bit keys
<lain> it will be interesting to see what it takes to accelerate memory-hard problems
<rqou> 2^63 is only 128x as hard
<rqou> and deep crack did 2^56 over a decade ago
<rqou> huh, debian sid's qemu-user-static no longer needs hax to make dhclient work
kuldeep has quit [Read error: Connection reset by peer]
kuldeep has joined ##openfpga
scrts has quit [Ping timeout: 240 seconds]
kuldeep has quit [Ping timeout: 240 seconds]
kuldeep has joined ##openfpga
scrts has joined ##openfpga
pie_ has joined ##openfpga
scrts has quit [Ping timeout: 240 seconds]
pie_ has quit [Changing host]
pie_ has joined ##openfpga
m_t has joined ##openfpga
pie__ has joined ##openfpga
pie_ has quit [Ping timeout: 240 seconds]
scrts has joined ##openfpga
scrts has quit [Ping timeout: 240 seconds]
pie__ has joined ##openfpga
pie__ has quit [Changing host]
promach has quit [Quit: Leaving]
m_w has joined ##openfpga
m_w has quit [Quit: leaving]
kuldeep has quit [Ping timeout: 255 seconds]
amclain has joined ##openfpga
Bike has joined ##openfpga
scrts has joined ##openfpga
azonenberg_work has joined ##openfpga
massi has quit [Quit: Leaving]
digshadow has quit [Ping timeout: 260 seconds]
digshadow has joined ##openfpga
_whitelogger_ has joined ##openfpga
Hootch has quit [Ping timeout: 255 seconds]
_whitelogger has quit [Remote host closed the connection]
m_w has joined ##openfpga
m_t has quit [Quit: Leaving]
digshadow has quit [Ping timeout: 260 seconds]
digshadow has joined ##openfpga
m_w has quit [Quit: leaving]
kuldeep has joined ##openfpga