forked from scott-42/cc-tool
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hi, I am adding functions to be able to send other debug commands with cc_tool. I am trying to figure out what is the first byte of the data sent to the debugger.
For example, in cc_unit_driver.cpp, write_sfr() uint8_t header[] = { 0x40, 0x55, 0x00, }; the 0x55 0x00 are for DEBUG_INSTR NOP, but what is 0x40?
Similarly, in read_debug_config, uint8_t command[] = { 0x1F, DEBUG_COMMAND_RD_CONFIG };, what is 0x1F?
These bytes are not a part of debug protocol and I could not find anything special about the first byte in any of the libusb examples.
Thank you
Metadata
Metadata
Assignees
Labels
No labels