Comments (20)
Don't worry guys I am still on it, unfortunately life has gotten in the way a bit but I have more free time to look at it this week and will be doing so.
from chameleonmini-rebooted.
Hey guys, I've made some progress on this one, I've just got a few annoying bugs to iron out with it and then I'll do some cleanup and make a pull request. I've basically integrated a lot of my code that was optimised in AVR Asm into it and changed the core codebase to better work with this. This means that the Crypto1Byte and Crypto1Nibble calls have been updated to call an asm function called Crypto1Bit which does the filter and PRNG succession functionality that's usually performed by Crypto1FilterOutput and Crypto1LFSR. I've only changed things in Crypto1.c so far and created a new file for the asm functions called Crypto1_asm.S. I've not run any speed checks yet as I need to iron out the bugs but after I have I will work a bit more on any other optimisations. I'm also planning on hardcoding the PRNG'ed nonces in the parts where the nonce is already hardcoded as this will save a hell of a lot of time as well.
from chameleonmini-rebooted.
there one big problem, the crypto1 patch is too big for the 32kb we can play with. The compiled firmware image doesn't fit and renders your device totally useless..
from chameleonmini-rebooted.
Can you put it as a branch anyway? I would prefer to remove lots of other features as I only need classic 4k.
from chameleonmini-rebooted.
Is it possible to replace the ATxmega32A4U with a ATxmega128A4U and stay compatible with the original firmware (and this one as well)?
The only differences are the program memory, eeprom size and ram kbytes.
from chameleonmini-rebooted.
good question. Don't know if the GPIO pins are the same... regrettfully I don't know what difference has been done to the pin mappings.
from chameleonmini-rebooted.
It looks like all xmega A4U microcontrollers have the same pinout. ( http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8387-8-and16-bit-AVR-Microcontroller-XMEGA-A4U_Datasheet.pdf )
I'm going to give ATxmega128A4U a try when my lab401 order arrives and see how that works out.
from chameleonmini-rebooted.
A missunderstanding, the question is which GPIO pins has been connected on the PCB with the MCU. Not if the GPIO pins are the same on the two MCU.
from chameleonmini-rebooted.
from chameleonmini-rebooted.
from chameleonmini-rebooted.
Got hold of @Iskuri He has optimized a crypto1 implementation before, so lets keep our fingers crossed!
from chameleonmini-rebooted.
Is there any progress on that? Should we try to add the existing (big) patch in the next release?
from chameleonmini-rebooted.
nay, the big patch takes all memory available...
you can always make a patched firmware version with it, but I still have faith in @Iskuri
from chameleonmini-rebooted.
hehe I put my faith in @Iskuri as well.
I should just be patient then for the new release! :P
from chameleonmini-rebooted.
not the least worried, I am just more eager to see it :)
from chameleonmini-rebooted.
Sounds promising @Iskuri
from chameleonmini-rebooted.
I merged @Iskuri 's PR. It compiles and runs.
@jackkleeman you can test to see if your issues is solved with it?
from chameleonmini-rebooted.
Sure although my big problem is the broken code for the mifare classic 4k.
from chameleonmini-rebooted.
@jackkleeman one step at the time. First test this one.
from chameleonmini-rebooted.
This solved my speed of crypto problem
from chameleonmini-rebooted.
Related Issues (20)
- Reader attack mifare ultralight C HOT 5
- [FORUM] Chameleon freezing with solid light HOT 5
- [REQ] Mifare DESFire emulation support? HOT 8
- Unable to set ATQA value HOT 1
- Switch button freezes Chameleon HOT 19
- Incorrect list of supported cards HOT 1
- [FORUM] Uploading a dump on Linux using command line HOT 2
- Ultralight missing from latest releases HOT 1
- Communication between Chameleon and for example Arduino?! HOT 1
- The bootloader HOT 3
- put the bootloader on the chip HOT 1
- Chinese Chameleon Mini does not show up[BUG] HOT 2
- Sniffing All Data HOT 1
- [BUG] All Btn Long Function changed In All Slots When I Change Anyone HOT 3
- [REQ] Enter a brief description of requested enhancement/feature
- [FORUM] Please update the discord link HOT 1
- [FORUM] dfu-programmer 0.7.2 fails on linux HOT 5
- [REQ] Is it possible to implement the ability to define Chameleon Mini as a "standard" SmartCard Reader in Windows
- [BUG] Latest firmware not working on a chinese device HOT 2
- [BUG] MF_CLASSIC_DETECTION (mfkey32) keys wrong HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chameleonmini-rebooted.