Live data from Hacker News

PCB devboard the size of a USB-C plug

github.com

11–20 of 72 posts

Re: PCB devboard the size of a USB-C plug

#12
post #4

This looks awesome, I'd love to get one. Question, what's the advantage over something like the ESP32C3 and the like? Just even smaller?

If it helps, I've used earlier Atmel AVR chips, as well as the ESP32-S3. 8-bit AVR is an extremely clean, relatively simple instruction set that can be viably hand-coded. It's fairly straightforward to calculate the exact number of cycles your code will use, which is handy for applications requiring deterministic timing and for knowing worst-case execution time of interrupt handlers. If the C3 instruction set is anyt…

> If the C3 instruction set is anything like the S3, I'm willing to bet it's not as straightforward.

Its not, not really anyway. The Xtensa LX7 in the S3 is very weird, though also quite fun to play with. The C3 is RISC-V

Re: PCB devboard the size of a USB-C plug

#13
post #10

Very nice. I am wondering -- why have a devboard this small?

...trust me this is the best USB cord ever try it out for free, ill sell you some cheap if you get a couple friends to buy some. https://shop.hak5.org/products/omg-cable https://phreakboutique.com/blogs/tutorials/using-your-new-ev... thats how the grift starts...

That's it, I'm going back to parallel port cables for everything now.

Re: PCB devboard the size of a USB-C plug

#14
post #12
post #4

Earlier quoted context omitted.

If it helps, I've used earlier Atmel AVR chips, as well as the ESP32-S3. 8-bit AVR is an extremely clean, relatively simple instruction set that can be viably hand-coded. It's fairly straightforward to calculate the exact number of cycles your code will use, which is handy for applications requiring deterministic timing and for knowing worst-case execution time of interrupt handlers. If the C3 instruction set is anyt…

> If the C3 instruction set is anything like the S3, I'm willing to bet it's not as straightforward. Its not, not really anyway. The Xtensa LX7 in the S3 is very weird, though also quite fun to play with. The C3 is RISC-V

Thanks for correcting me. Are there any good, small "Hello World" examples of RISC-V programming with the C3 you can point me to? I'd love to get a sense of how it compares in practice.

Re: PCB devboard the size of a USB-C plug

#16
post #10

Earlier quoted context omitted.

...trust me this is the best USB cord ever try it out for free, ill sell you some cheap if you get a couple friends to buy some. https://shop.hak5.org/products/omg-cable https://phreakboutique.com/blogs/tutorials/using-your-new-ev... thats how the grift starts...

That's it, I'm going back to parallel port cables for everything now.

The parallel port (at least in it's later implementations) actually supports DMA - I'm sure that data exfiltration via the parallel port is hard, but probably not impossible...

Nothing is safe, unfortunately!

Re: PCB devboard the size of a USB-C plug

#18

Earlier quoted context omitted.

That's it, I'm going back to parallel port cables for everything now.

The parallel port (at least in it's later implementations) actually supports DMA - I'm sure that data exfiltration via the parallel port is hard, but probably not impossible... Nothing is safe, unfortunately!

The parallel port controller can DMA, that lets the driver tell the port hey, send this buffer out to the port and let me know or read this many bytes into this buffer and let me know. It's not peripheral controlled DMA like with firewire or PCI.

You can absolutely exfiltrate data via the parallel port... that's why you attach printers or zip disks... it's just that it needs host participation.

Post reply on HN