]> git.zerfleddert.de Git - proxmark3-svn/blob - doc/CHANGES.TXT
b209cc03ed5a11f30412c0c94ef05bb97875ead7
[proxmark3-svn] / doc / CHANGES.TXT
1 ################
2 ## 2009/03/28 ##
3 ################
4 winsrc/command.cpp
5 Added two new LF commands for tag exploration :
6
7 - askdemod: takes 2 arguments, one is the clock rate, one is the modulation
8 convention (high mod is 1 or high mod is zero)
9
10 This command demodulates the stream into a binary stream into
11 the trace buffer (0's and 1's)
12
13 - mandemod: manchester decoding of a bitstream: takes a binary stream from
14 the trace buffer (see askdemod) and attempts to do manchester decoding
15 to it. One argument: clock rate. Outputs the bitstream to the scrollback buffer.
16
17 Those two helped me to validate that the unknown tag I had was indeed an EM4100 type of tag
18
19
20 ################
21 ## 2008/12/11 ##
22 ################
23 bootrom/bootrom.c
24 Significant changes to bootloader. Use of Chip ID register to detect if running on a SAM7S512 then configure FLASH
25 waitstates as per SummoningDark's suggestion for a SAM7S512 or SAM7S256.
26 Deleted idle loops waiting blindly for clocks to settle and now using status registers to detect when clocks are stable.
27
28 *************************
29 * IMPORTANT INFORMATION *
30 **************************************************************************************************************************
31 * With this boot code, the device can now only be flashed if button is held down after power on or a software reset.
32 * The flash procedure is this:
33 * Hold down button. Either plug in USB or software reset it. _While_holding_down_button_ (red and yellow LEDs are lit) you can
34 * issue one or more of the "prox bootrom <file>" "prox fpga <file>" "prox load <file>", be sure to hold button down for the
35 * entire duration of the flash process. Only release the button when flashing is complete and you want to let the board boot.
36 * This process may be less convenient but it's safer and avoids "unintentional" flashing of the board.
37 **************************************************************************************************************************
38 LED boot sequence now changed, C (red) lights up when boot code jumps from flash to RAM boot code, A (yellow) lights up after
39 clocks have been initialized, B (green) lights up when jumping from boot code to main code, then D (red led away from the others)
40 lights up while code is being downloaded to FPGA, then all leds turn off and board is ready for action.
41
42 With these changes the board now boots and is ready to use in about 3 seconds. Also since the USB bus is not initialized
43 twice (once during boot, then again when the main code runs) unless the button is held down at boot, this seems to avoid
44 the double USB connect and "USB device not recognized" when device is connected to the USB bus or software reset.
45
46 ################
47 ## 2008/12/06 ##
48 ################
49 armsrc/fpga.c
50 Implemented function SetupSpi() to initialize the Serial Peripheral Interface (SPI) in preparation to adding an LCD to the board.
51 Changed FpgaWriteConfWord() to use the SPI communication now instead of bit banging the serial data to the FPGA.
52
53 fpga/fpga.v
54 The FPGA config word serializer required non standard SPI communication (ie for shifting in a 8 bit word, it required a 9th clock
55 cycle with NCS high to load the word from the shift register to the conf register). This was OK for manually bitbanging it but not
56 suitable for using SPI comms. The serializer was fixed to load the conf word from the shift register on a NCS lo-hi transition and
57 not require additional clocking.
58
59 armsrc/fpgaimg.c
60 Recompiled FPGA code after changes above.
61
62 armsrc/LCD.c
63 LCD driver for PCF8833 based LCDs like those found on Nokia models 2600,2650,3100,3120,5140,6030,6100,6610,7210,7250 maybe
64 others. These color LCDs have a resolution of 132x132 and a serial interface. They are very cheap like even down to $2/pc
65 This LCD driver is a straight rip of that found at http://www.sparkfun.com/datasheets/LCD/Jimbo-Nokia-SAM7-Example.zip with
66 very small changes, mainly to integrate it and make it compile with our codebase. Also comented out the circle subroutines
67 to keep the code to integer math only.
68
69 armsrc/fonts.c
70 Font definition for LCD driver
71
72 armsrc/appmain.c
73 Fixed a small bug in CmdHIDdemodFSK (added case 4) which prevented reading some tags. When a logic 0 is immediately followed
74 by the start of the next transmisson (special pattern) a pattern of 4 bit duration lengths is created.
75
76 ################
77 ## 2008/11/27 ##
78 ################
79 armsrc/appmain.c
80 Implemented an HID tag FSK demodulator (CmdHIDdemodFSK) to obtain the tag ID code from the raw sampled waveform.
81 Implemented CmdHIDsimTAG which takes a 44bit HID tag ID as a hex number then creates the waveform and simulates the tag
82
83 winsrc/command.cpp
84 Added command "hidfskdemod" that calls CmdHIDdemodFSK, the ARM FSK demodulator for HID tags.
85
86 include/usb-cmd.h
87 New defines CMD_HID_DEMOD_FSK and CMD_HID_SIM_TAG
88
89 2008/11/25
90 common/iso14443_crc.c
91 Moved CRC calculation code into this file as it's common to both ARM and Windows side. This file is now included as needed.
92
93 ################
94 ## 2008/11/21 ##
95 ################
96 armsrc/Makefile
97 Changes to split up the compilation of the ARM and produce separate S files for the FPGA code and the ARM code.
98
99 armsrc/appmain.c
100 Replaced some of the hex value params in FpgaWriteConfWord with more explanatory defines.
101 Changes to the Tune command as it assumes wrong HF capacitor value (130pF) and produces wrong voltage readings.
102 Combined some of the integer arithmetic statements to improve accuracy slightly, since the voltage divider ratio is not an integer.
103 Voltage divider resistor network is 10M/240k = ratio of 41.6666
104
105 Originally the calculation was rounding the ratio down to 41
106 3300 (mV) * 41 * sample_value / 1024
107 New calculation without rounding error is
108 3300 (mV) * 41.66666 * sample_value / 1024 => 137500 * sample_value / 1024
109
110 New define BUTTON_PRESS() returns status of button
111
112 armsrc/fpga.c
113 The current board can only take a X2S30 as there is no larger FPGA in PQFP100 package and
114 the smaller X2S15 FPGA can't fit the current code. The X2S30 FPGA config is fixed at 336,768 bits
115 The FPGA code base address and length is hard coded to occupy FLASH region 0x2000 - 0xC470.
116
117 armsrc/ldscript-fpga
118 New file to place the FPGA code at FLASH address 0x2000
119
120 bootrom/Makefile
121 Slight changes, commented out the generation of byteswapped S file, the other S files are generated in the same section of the makefile now.
122
123 bootrom/bootrom.c
124 Changed some thumb code with a one line ARM code which is clearer and more explicit. Processor runs in ARM mode at reset anyway.
125 Changed jump to RAM address, used to jump to 0x2000 (now FPGA area), now jumps to 0x10000.
126
127 bootrom/flash-reset.s
128 Changed name of CMain to CopyBootToRAM. Streamlined reset code, fixed up stack pointer initialization.
129
130 bootrom/fromflash.c
131 Removed the whole section of initializing clocks, this is redundant as it's being done once we jump to boot code in RAM
132 All fromflash.c does now is copy the boot code to ram and jumps to it.
133
134 bootrom/ram-reset.s
135 Fixed up stack pointer initialization that caused crash when using "loread"
136
137 include/at91sam7s128.h
138 New defines for debug register, lets you identify what processor flavour the code runs on, RAM and FLASH sizes, etc.
139
140 include/proxmark3.h
141 New useful defines for relay and button
142
143 winsrc/Makefile
144 Added new define /D_CRT_SECURE_NO_WARNINGS to elliminate a _whole bunch_ of bogus compilation warnings
145
146 winsrc/command.cpp
147 Changed CmdLosamples to take a numeric argument (number of samples x4 to retrieve from buffer)
148 New command Quit to exit the program from the GUI command prompt.
149
150 winsrc/gui.cpp
151 Fixup compilation warnings.
152
153 winsrc/prox.cpp
154 Tidy up printing to stdout, flashing progress now updates on the same line instead of scrolling up.
155 New command line parameter to load FPGA image to FLASH.
Impressum, Datenschutz