This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
epa_basis_reader [2010/12/08 18:53] steve_m add comparison table for other readers |
epa_basis_reader [2011/01/26 01:21] steve_m [The PSoC microcontroller (Cypress CY7C64316)] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ReinerSCT RFID basis reader ====== | + | ====== Taking apart the ReinerSCT nPA RFID Basisreader ====== |
The ReinerSCT basis reader is a pretty basic reader for mifare cards and the new german ident-card (ePA or nPA). | The ReinerSCT basis reader is a pretty basic reader for mifare cards and the new german ident-card (ePA or nPA). | ||
Line 23: | Line 23: | ||
===== The chips ===== | ===== The chips ===== | ||
- | ^NXP PN512 (RFID transceiver, [[http://www.nxp.com/documents/data_sheet/111334.pdf|datasheet]])^Cypress [[http://www.cypress.com/?mpn=CY7C64316-16LKXC|CY7C64316]] ([[http://www.cypress.com/?docID=24330|datasheet]]), implements the USB CCID -> PN512 SPI interface^ | + | ^NXP PN512 (RFID transceiver, [[http://www.nxp.com/documents/data_sheet/111334.pdf|datasheet]])^ |
- | |package: HVQFN32 (SOT617-1)|package: HVQFN16 (SOT758-1)| | + | |package: HVQFN32 (SOT617-1)| |
- | |{{:rfid_pn512.jpg|NXP PN512}} | {{:rfid_4316.jpg|4316}}| | + | |{{:rfid_pn512.jpg|NXP PN512}}| |
+ | |||
+ | ^Cypress [[http://www.cypress.com/?mpn=CY7C64316-16LKXC|CY7C64316]] ([[http://www.cypress.com/?docID=24330|datasheet]]), implements the USB CCID -> PN512 SPI interface^ | ||
+ | |package: HVQFN16 (SOT758-1)| | ||
+ | |{{:rfid_4316.jpg|4316}}| | ||
^NSC [[http://www.national.com/mpf/LP/LP3982.html#Overview|LP3982 (LP3982IMM-ADJ)]] ([[http://www.national.com/ds/LP/LP3982.pdf|datasheet]]) (5V -> 3.3V voltage regulator)^^ | ^NSC [[http://www.national.com/mpf/LP/LP3982.html#Overview|LP3982 (LP3982IMM-ADJ)]] ([[http://www.national.com/ds/LP/LP3982.pdf|datasheet]]) (5V -> 3.3V voltage regulator)^^ | ||
Line 52: | Line 56: | ||
* 2KB RAM | * 2KB RAM | ||
* M8C architecture | * M8C architecture | ||
- | * There is an open-source assembler for this architecture called [[http://m8cutils.sourceforge.net/index.html|m8cutils]] | + | * There is an open-source assembler for this architecture called m8cas, which is part of [[http://m8cutils.sourceforge.net/index.html|m8cutils]] |
+ | * contains a disassembler as well, m8cdas | ||
+ | * There's another disassembler called m8cdis: [[http://www.cypress.com/?app=forum&id=1573&rID=43998|forum post]], [[https://code.google.com/p/m8cdis/|code]] | ||
+ | * [[http://www.das-labor.org/wiki/GRAS/en|GRAS]], the Generic Assembler, supports the m8c as well | ||
+ | * Yet another assembler, GPLv2 bootloader, USB code [[http://iguanaworks.net/projects/IguanaIR/browser/trunk|here]] | ||
* internal oscillator with up to 24MHz | * internal oscillator with up to 24MHz | ||
* supports ISSP (in-system serial programming) | * supports ISSP (in-system serial programming) | ||
- | * <del>it doesn't seem that there are any open-source programmers like for the AVR out there</del> | + | |
- | * [[http://m8cutils.sourceforge.net/index.html#progssrc|m8cprogs]], as part of m8cutils, contains schematics for various programmers, but it is unclear yet if it works with the enCoRe V series of PSoCs (to which the CY7C64316 belongs to) | + | **Notes:** |
- | * the Cypress [[http://www.cypress.com/?rID=3412|CY3210 MiniProg1]] seems to support the CY7C64316 | + | * [[http://m8cutils.sourceforge.net/index.html#progssrc|m8cprogs]], as part of m8cutils, contains schematics for various programmers, <del>but it is unclear yet if it works with the enCoRe V series of PSoCs (to which the CY7C64316 belongs to)</del> |
+ | * the Cypress [[http://www.cypress.com/?rID=3412|CY3210 MiniProg1]] supports the CY7C64316 | ||
+ | * I hacked m8cprog to support the chip, by sniffing what the MiniProg1 does, so it is now possible to flash custom code via ISSP without the need for a quite expensive MiniProg1 | ||
+ | * Get the code [[https://github.com/steve-m/m8cutils/tree/cy7_prog|here]] | ||
+ | * With a few tricks I was able to [[http://www.youtube.com/watch?v=R6NdeUanK7s|dump]] the firmware | ||
^the chip^package pinout^pin^port^I/O^signal^ | ^the chip^package pinout^pin^port^I/O^signal^ | ||
Line 81: | Line 93: | ||
/* NXP PN512 initialization | /* NXP PN512 initialization | ||
* this was obtained by sniffing the communication between the PN512 and the | * this was obtained by sniffing the communication between the PN512 and the | ||
- | * USB-chip in the ReinerSCT Basisreader, and decoding it with the datasheet. | + | * CY7C64316 in the ReinerSCT Basisreader, and decoding it with the datasheet. |
* | * | ||
* (C) 2010 by Steve Markgraf <steve@steve-m.de> | * (C) 2010 by Steve Markgraf <steve@steve-m.de> | ||
Line 380: | Line 392: | ||
There are other devices (Basislesegeräte) which have been [[http://www.ccepa.de/basiskartenleser|certified by the BSI]]: | There are other devices (Basislesegeräte) which have been [[http://www.ccepa.de/basiskartenleser|certified by the BSI]]: | ||
- | ^device^SCM SCL011^SCM SDI011^ | + | ^device^SCM SCL011^SCM SDI011 (not yet certified)^SCM SDI010^ |
- | |type|RFID|RFID/SC| | + | |link|[[http://www.scmmicro.com/de/products-services/chipkartenleser-terminals/kontaktlos-dual-interface/scl011.html|SCL011]]|[[http://www.scmmicro.com/products-services/smart-card-readers-terminals/contactless-dual-interface-readers/sdi010.html|SDI011]]| | |
- | |link|[[http://www.scmmicro.com/de/products-services/chipkartenleser-terminals/kontaktlos-dual-interface/scl011.html|SCL011]]|[[http://www.scmmicro.com/products-services/smart-card-readers-terminals/contactless-dual-interface-readers/sdi010.html|SDI011]]| | + | |type|RFID|RFID/SC dual|RFID/SC dual| |
- | |used microcontroller| | + | |used microcontroller|SCM STC3|SCM STC II-B|SCM STC II-B| |
- | |used RFID transceiver| | + | |used RFID transceiver|NXP PM512HN|?|?| |
- | |FCC-ID|[[https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=913923&fcc_id=%27MBPSCL011-4400%27|MBPSCL011-4400]]|[[https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=662322&fcc_id=%27MBPSDI010MOD02%27|MBPSDI010MOD02]]| | + | |firmware update available|[[http://support.scmmicro.com/dfu_fw.php?lang=0&readerno=85|yes]]|no|[[http://support.scmmicro.com/dfu_fw.php?lang=0&readerno=83|yes]]| |
- | |pcb pictures|[[https://fjallfoss.fcc.gov/eas/GetApplicationAttachment.html?id=1216552|here]]|[[https://fjallfoss.fcc.gov/eas/GetApplicationAttachment.html?id=1083604|here]]| | + | |FCC-ID|[[https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=913923&fcc_id=%27MBPSCL011-4400%27|MBPSCL011-4400]]|[[https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=731440&fcc_id=%27MBPSDI011-1000%27|MBPSDI011-1000]]|[[https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=662322&fcc_id=%27MBPSDI010MOD02%27|MBPSDI010MOD02]]| |
- | |firmware update available|yes|yes| | + | |pcb pictures| yes, see link above ('Internal photos') ||| |
~~DISCUSSION~~ | ~~DISCUSSION~~ |