fix iclass simulation

This commit is contained in:
iceman1001 2022-05-10 07:34:17 +02:00
commit 7573205a93

View file

@ -1712,8 +1712,12 @@ static void PacketReceived(PacketCommandNG *packet) {
break; break;
} }
case CMD_HF_ICLASS_EML_MEMSET: { case CMD_HF_ICLASS_EML_MEMSET: {
//iceman, should call FPGADOWNLOAD before, since it corrupts BigBuf //-----------------------------------------------------------------------------
FpgaDownloadAndGo(FPGA_BITSTREAM_HF); // Note: we call FpgaDownloadAndGo(FPGA_BITSTREAM_HF_15) here although FPGA is not
// involved in dealing with emulator memory. But if it is called later, it might
// destroy the Emulator Memory.
//-----------------------------------------------------------------------------
FpgaDownloadAndGo(FPGA_BITSTREAM_HF_15);
struct p { struct p {
uint16_t offset; uint16_t offset;
uint16_t len; uint16_t len;