All communication is in 64 byte packets. The first packet contains parameters for the USB loader routine. It must be 64 bytes, but all that matters is the first four 32-bit words:
- Must be 0xF0000000. If it does not match, the loader will try to use the next packet as the parameter packet, and so on, repeating.
- The number of data packets, or in other words, total data size divided by 64. The loader will receive this number of 64 byte data packets after the parameter packet, and store them sequentially in memory.
- The destination address. The loader will store the first data packet starting at this address and store other data packets after it. The loader has no capability for performing the special actions needed to write to flash, so this must be RAM.
- The start address. Once the loader has received the specified number of data packets, it will jump to this address.
{"rc3000a", "RCA RC3000A", 0xb001, 0x00001000, 0x00001000 },
No comments:
Post a Comment