sing emulator memory for sim and restore
This commit is contained in:
@@ -1123,13 +1123,23 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CMD_LF_EM4X50_SIM: {
|
case CMD_LF_EM4X50_SIM: {
|
||||||
em4x50_sim((em4x50_data_t *)packet->data.asBytes);
|
em4x50_sim();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CMD_LF_EM4X50_STD_READ: {
|
case CMD_LF_EM4X50_STD_READ: {
|
||||||
em4x50_std_read();
|
em4x50_std_read();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case CMD_LF_EM4X50_ESET: {
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
// Note: we call FpgaDownloadAndGo(FPGA_BITSTREAM_LF) 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_LF);
|
||||||
|
emlSet(packet->data.asBytes, packet->oldarg[0], packet->oldarg[1]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_ISO15693
|
#ifdef WITH_ISO15693
|
||||||
|
|||||||
Reference in New Issue
Block a user