This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MRD2EVM cannot write TMS37157 pages

Other Parts Discussed in Thread: TMS37157, MRD2EVM

Hi,

I am using an MRD2EVM with a custom TMS37157 board. 

Using the MICROREADER GUI2 software, I can sucessfully read all pages from the TMS37157, no issue at all. I'm also able to read battery level (showing full).

However, when I try to write to any page of the TMS37167, I get reply packet 010209000B and PaLFI not found error. Probing on the board, I have also discovered that there is no signal transmission when I send the write command, yellow LED on the MRD2EVM doesn't blink, no signal on the reader coil and nothing picked up on my board. If I am understanding properly that reply packet comes from MRD2 to PC communication (not from the TMS37157 - which makes sense as no signal is transmitted) and indicates a protocol error. 

Am I doing something wrong?

Thanks,

George

  • Hey George,

    I tried to locate a MRD2 EVM to check this with, but no lucky today. I should be able to used one on Monday.

    In the mean time, could you add a screen shot of what you're seeing on the GUI?

    Thanks,
    JD
  • Hi John,

    Thanks for the reply, here are some screenshots.

    First a successful read:

    Followed by a failed write to the same page:

    The packet sent out by the Gui software seems to be correct. I even tried to send the same packet to the MRD2 using realtem but (not surprisingly) got the same reply.

    Thanks,

    George

  • Actually, I am not sure if the transmitted packet is correct, shouldn't it include the 5 data bytes?
    In any case even trying different packets in realterm I cannot seem to get any activity on the MRD2 during a write command.
  • Update: 

    Following the ECM packet format in the MRD2 Guide I am able to write to the TMS37157 pages (sending packet to MRD2 via realterm).  Trying to do the same thing using the microreader demo software it doesn't work and the packet sent to the MRD2 is wrong.

    For example the correct packet to write page 10 is: 0x01 0x09 0x80 0x07 0x11 0x0A 0x01 0x02 0x03 0x04 0x05 0x94 (works fine via realterm)

    Trying to write page 10 from the microreader demo software, the packet sent to the MRD2 is 0x01 0x09 0x80 0x07 0x11 0x0A 0x95 (see screenshot below). it is missing the data bytes. 

    So this appears to be just a bug in the microreader PC software.

  • Hey George,

    Sorry for the delay. I have the setup at my desk now, and it appears you are correct.

    I've sent a note to the GUI developer, and hopefully this bug is something we can fix for the next update.

    Have you gotten it working for now with a terminal program/script?

    Thanks,
    JD
  • Hi John,

    Thanks for looking into this, yes I am using the reader fine by sending custom command packets serially and will develop my own software so I'm not in a hurry for the fix. I just got confused initially as I had assumed the GUI was sending correct packets.

    Thanks,

    George
  • Great!

    For future readers, Attached is an updated GUI that supports writing of PaLFI tags.  It's v2.2.  I'll have this updated on the product page as well, to avoid this issue again.  

    Microreader2.zip

    Thanks,

    JD