Please login or register.

Login with username, password and session length
 

News:

Latest updates at DangerousPrototypes.com.


Author Topic: RFID support  (Read 724 times)

rhyvu

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
RFID support
« on: February 01, 2010, 05:42:42 AM »
Maybe I thought of this a bit late since most of the design is finalized, but I thought I should mention it anyway. My idea came after I read about the combination of a DSO wing and the SUMP PUMP because I never thought of the possibility to extend the SUMP PUMP before then.

In the RFID development world there are open source reader and emulator designs such as:
OpenPCD openpcd.org
OpenPICC openpcd.org/openpicc.0.html
Proxmark3 proxmark.org

Especially the Proxmark3 is an interesting design because is one device that works as both a reader and an emulator unlike the OpenPCD which is a reader and OpenPICC which is an emulator. Also the Proxmark3 uses a FPGA and no modulation chip from a commercial company which makes it much more versatile, but probably the most important feature the Proxmark3 has and also the reason that made me think about it in relation to the DSO wing on the SUMP PUMP is that it can record, display and replay the RFID waveform. Therefore I would really like to see some sort of RFID support on the SUMP PUMP, if not for the current version, then maybe for version 2 with SRAM support.

jack.gassett

  • Moderator
  • Full Member
  • *****
  • Posts: 182
  • Karma: +11/-0
    • View Profile
    • Gadget Factory
Re: RFID support
« Reply #1 on: February 01, 2010, 11:25:30 AM »
An RFID Wing has been on my To Do list for a while now. I've had a gadget in mind that would use a, to be developed, RFID Wing and the Infrared Wing . The gadget would allow parents to give their children RFID "coins" for doing chores that would buy them time watching television. Without the coins being read the IR Wing would send out all TV power off IR codes like the tv-b-gone does.

So at some point in the future there should be an RFID Wing. Or anyone that wants to design one now is more than welcome to.
Jack Gassett
Gadget Factory
Home of the Papilio Platform

jack.gassett

  • Moderator
  • Full Member
  • *****
  • Posts: 182
  • Karma: +11/-0
    • View Profile
    • Gadget Factory
Re: RFID support
« Reply #2 on: February 01, 2010, 11:40:46 AM »
I just glanced over the Proxmark site and it looks like they are doing a lot of the RFID functions inside the FPGA. When I did some initial research I was just planning on using an RFID IC.

Unfortunately, I think this is more than I can take on in the immediate future. I have too much on my plate right now. :)
Jack Gassett
Gadget Factory
Home of the Papilio Platform

rhyvu

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: RFID support
« Reply #3 on: February 04, 2010, 06:43:34 AM »
Thanks for feedback and yes the Proxmark does really do a lot of the RFID functions inside the FPGA which is also its strength. The OpenPCD is using an RFID IC which makes it less complex and probably more of what you had in mind regarding an RFID wing, so for your project I would recommend looking at the OpenPCD. Still as mentioned the FPGA is the thing that makes the Proxmark as versatile as it is and for use with a logic analyzer to analyze RFID the Proxmark is the better option. To clarify a bit more I will quote a post from the What is the difference between the proxmark and the OpenPCD/OpenPICC thread at the Proxmark forum:

Quote
- One of the main differences is that the proxmark is a (OpenPCD and OpenPICC) in one! It can play as reader, but also as tag.
- A second difference is, it does not use any modulation chip from a commercial company. The OpenPCD uses this to modulate its messages. While this is convenient to do, it also limits you to sending malicious messages (incorrect modulation/frames/parity bits)
- It can sniff/eavesdrop/snoop the communication of the reader and the tag at the same time.
- The modulation can be done for 125khz and 13.56Mhz, because of the FPGA, in theory every modulation can be used. It only needs the right software implementation. A proof is Gerhards implementation of the ISO14443-A protocol
- It is more expensive than the OpenPCD/OpenPICC. Together they cost around 200$. The Proxmark costs around 400-500$.
- Both are released under an open source license (GNU/GPL) and work on Windows and LINUX
- The current hardware design of the Proxmark is tested by many people (including myself). While the OpenPCD is working very good, the OpenPICC is still in (hardware) development stage, this may take some time before it is ready for "real" use.

Besides this all, I own a OpenPCD and OpenPICC myself and find them very nice. They have a very big community already and lot's of development is done in this field. If you want to do some simple tests, one of these devices will be good for you. If you want to do MORE and DEEPER investigation of protocols/modulation/security and unknown ciphers, the Proxmark is what you are looking for.


Also I really like your idea of an RFID wing and Infrared wing to be used with coins for doing chores and buying TV watching time, but it really depends on the kids. Some kids are pretty smart and kan outsmart systems ;)
Lastly the Infrared wing was a really good idea and seeing as how there already is an IR toy in pre-production it shouldn't be to difficult to make a wing for analyzing IR codes.

d18c7db

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: RFID support
« Reply #4 on: March 01, 2010, 03:34:56 PM »
Hi, I'm fairly well involved in the Proxmark community and have looked into the Proxmark design in depth. I am currently in the process of redesigning it with slightly more updated hardware, the latest working prototype uses the same FPGA as your LA, an XC3S250E 100VQFP, and ADC08060 A/D amongst other changes.

The FPGA currently coded in verilog does the basic 14443 a and b RFID demodulation, however the rest of the protocol is handled in software on the ARM microcontroller (AT91SAM7 based). The good news is that the existing verilog code is trivial to port from the original proxmark Spartan2 FPGA to the new Spartan3 and I have in fact tested that it works in practice. The not so good news is that you need to either implement the further higher level protocol handling in the FPGA or add an external microcontroller (or maybe look at an FPGA soft core micro).

Since that video above was shot, the board was redesigned several times and the latest one should sport a touch pannel 320x240 LCD which remains to be tested, as it is attached to the FPGA pins and I have yet to write the verilog code to drive it.

rhyvu

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: RFID support
« Reply #5 on: March 01, 2010, 09:35:16 PM »
Hi, I'm fairly well involved in the Proxmark community and have looked into the Proxmark design in depth. I am currently in the process of redesigning it with slightly more updated hardware, the latest working prototype uses the same FPGA as your LA, an XC3S250E 100VQFP, and ADC08060 A/D amongst other changes.

The FPGA currently coded in verilog does the basic 14443 a and b RFID demodulation, however the rest of the protocol is handled in software on the ARM microcontroller (AT91SAM7 based). The good news is that the existing verilog code is trivial to port from the original proxmark Spartan2 FPGA to the new Spartan3 and I have in fact tested that it works in practice. The not so good news is that you need to either implement the further higher level protocol handling in the FPGA or add an external microcontroller (or maybe look at an FPGA soft core micro).

Since that video above was shot, the board was redesigned several times and the latest one should sport a touch pannel 320x240 LCD which remains to be tested, as it is attached to the FPGA pins and I have yet to write the verilog code to drive it.
Very impressive, hopefully this could be a base from which an adaption for the the OSL could be made out of.
Though until that time, the Proxmark you are working on, will it be available for purchase once ready because as mentioned I am very interested.