Traumflug

Results 424 comments of Traumflug

> Am I wrong in assuming that the serial.c routines just write out over the USB port? These routines write to a buffer and this buffer is forwarded byte by...

Nevertheless, you're a genius. It likely had me taken weeks to find this. You're on a RAMPS, aren't you? Can't you just measure this pin? All signal pins are forwarded...

That's true. A lock flag for each of them cleared after reading a \n and raised after anything else might help.

How about ``` C uint8_t lock_serial = 0, lock_sd = 0; for (;;) { if (queue_full() == 0) { unit8_t c; if ( ! lock_serial && serial_rxchars() != 0) {...

BTW., yet another pitfall is, handling a command from SD card shouldn't send an "ok" back over the serial line. I didn't look up how other firmwares handle this. Just...

@triffid > What happens if we read a G91 from the SD card then a G1 from serial? Could have unexpected effects ;) Indeed. But you have to allow /some/...

Thanks, @phord, excellent demonstration. Link: https://github.com/Traumflug/Teacup_Firmware/commit/b31110d88cba3b7e4e7531fbfde0445845f5ecbb

Just rebased branches _sdcard2_ and _issue-104_ to experimental, so both come with Configtool now.

Uhm, anybody having fun in placing a selector for SD_CARD_SELECT_PIN in Configtool? Perhaps also a choice to select wether read-only or read-write.

As I'm apparently the only specimen of mankind capable to implement SD Card support into Teacup I took this to my chest again, while also soldering kind of a steampunk...