GithubHelp home page GithubHelp logo

Comments (20)

Iskuri avatar Iskuri commented on May 14, 2024 2

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.

Iskuri avatar Iskuri commented on May 14, 2024 2

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.

iceman1001 avatar iceman1001 commented on May 14, 2024

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.

jackkleeman avatar jackkleeman commented on May 14, 2024

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.

andrei-cb avatar andrei-cb commented on May 14, 2024

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.

iceman1001 avatar iceman1001 commented on May 14, 2024

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.

andrei-cb avatar andrei-cb commented on May 14, 2024

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.

iceman1001 avatar iceman1001 commented on May 14, 2024

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.

WolfgangMau avatar WolfgangMau commented on May 14, 2024

from chameleonmini-rebooted.

icsom avatar icsom commented on May 14, 2024

from chameleonmini-rebooted.

iceman1001 avatar iceman1001 commented on May 14, 2024

Got hold of @Iskuri He has optimized a crypto1 implementation before, so lets keep our fingers crossed!

from chameleonmini-rebooted.

bogiton avatar bogiton commented on May 14, 2024

Is there any progress on that? Should we try to add the existing (big) patch in the next release?

from chameleonmini-rebooted.

iceman1001 avatar iceman1001 commented on May 14, 2024

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.

bogiton avatar bogiton commented on May 14, 2024

hehe I put my faith in @Iskuri as well.
I should just be patient then for the new release! :P

from chameleonmini-rebooted.

iceman1001 avatar iceman1001 commented on May 14, 2024

not the least worried, I am just more eager to see it :)

from chameleonmini-rebooted.

iceman1001 avatar iceman1001 commented on May 14, 2024

Sounds promising @Iskuri

from chameleonmini-rebooted.

iceman1001 avatar iceman1001 commented on May 14, 2024

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.

jackkleeman avatar jackkleeman commented on May 14, 2024

Sure although my big problem is the broken code for the mifare classic 4k.

from chameleonmini-rebooted.

iceman1001 avatar iceman1001 commented on May 14, 2024

@jackkleeman one step at the time. First test this one.

from chameleonmini-rebooted.

jackkleeman avatar jackkleeman commented on May 14, 2024

This solved my speed of crypto problem

from chameleonmini-rebooted.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.