Coder's cable: Difference between revisions

From dreamcast.wiki
Jump to navigation Jump to search
mNo edit summary
m (disclaimer added for high speeds)
Line 3: Line 3:
- Using the Dreamcast's clock:
- Using the Dreamcast's clock:
* These baud rates should work with most systems/cables: 38400, 57600, 115200, 230400. (eg: lik-sang cable)
* These baud rates should work with most systems/cables: 38400, 57600, 115200, 230400. (eg: lik-sang cable)
* These baud rates need a good cable: 500000, 781250, 1500000. (eg: [https://www.retroonyx.com/product-page/dreamcast-usb-coders-cable retroonyx cable])
** Note that 230400 does not work yet with the current dc-load-serial (1.0.6), but a fix is incoming
* These baud rates need a good cable: 500000, 781250, 1500000. (eg: [https://www.retroonyx.com/product-page/dreamcast-usb-coders-cable retroonyx cable], but even  with those it's probably not a 100% guarantee)
* Specifying non-standard baud rates like 781250 might be tricky/impossible for most programs. Picocom for example accepts that value:
* Specifying non-standard baud rates like 781250 might be tricky/impossible for most programs. Picocom for example accepts that value:
** picocom -b 781250 -d 8 -y n -p 1 /dev/ttyUSB0   
** picocom -b 781250 -d 8 -y n -p 1 /dev/ttyUSB0   

Revision as of 20:17, 30 June 2023

The coder's cable is the name given to the serial-based cable some developers use to test and debug code during development. Originally, cables were connected to host devices via serial, but modern cable designs incorporate a USB controller instead. Coder's cables can also be used for other purpose's besides development, such as transferring VMU data back to a PC or dumping GD-ROMs (although quite slowly).

- Using the Dreamcast's clock:

  • These baud rates should work with most systems/cables: 38400, 57600, 115200, 230400. (eg: lik-sang cable)
    • Note that 230400 does not work yet with the current dc-load-serial (1.0.6), but a fix is incoming
  • These baud rates need a good cable: 500000, 781250, 1500000. (eg: retroonyx cable, but even with those it's probably not a 100% guarantee)
  • Specifying non-standard baud rates like 781250 might be tricky/impossible for most programs. Picocom for example accepts that value:
    • picocom -b 781250 -d 8 -y n -p 1 /dev/ttyUSB0

- Using an external clock (SCK pin): (TODO)

This page is a stub page. It needs to be expanded with more detail. If you know more information about this topic, please sign up and contribute to dreamcast.wiki!