emsec / ChameleonMini

The ChameleonMini is a versatile contactless smartcard emulator compliant to NFC. The ChameleonMini was developed by https://kasper-oswald.de. The device is available at https://shop.kasper.it. For further information see the Getting Started Page https://rawgit.com/emsec/ChameleonMini/master/Doc/Doxygen/html/_page__getting_started.html or the Wiki tab above.
Other
1.74k stars 392 forks source link

File .hex does not work #91

Closed EnriqueSch closed 7 years ago

EnriqueSch commented 7 years ago

Helo:

I download the last version of RevE for my Chameleon-mini, I tried to write the new firmware using the following sentence: avrdude -c avrispmkii -p x32a4u -P usb -e -U flash:w:Chameleon-Mini.hex It worked OK,:

avrdude: 24444 bytes of flash verified avrdude done. Thank you.

But now, the board remain with the green led off, and my reader (omnikey) are not able to detect the ChameleonMini., but the board is alive, if I ask it for version I got:

101:OK WITH TEXT Chameleon-Mini 150304 using LUFA 130901 compiled with AVR-GCC 4.8.1

Could you Pls. tell me what I`m doing wrong?

Benoit37000 commented 7 years ago

hello, i thinks you need to flash eeprom file the .eep file

geo-rg commented 7 years ago

Hi @EnriqueSch as already said, you need to flash the eep file, too. In your case you can do this with avrdude -c avrispmkii -p x32a4u -P usb -e -U flash:w:Chameleon-Mini.hex -U eeprom:w:Chameleon-Mini.eep.

Does this solve your problem?

EnriqueSch commented 7 years ago

Hello:

No, this procedure did not solve it, the reader still is not able to “see” the card, the only difference now is that the green led is on, before (when I download just the .hex file) the green led was off.

I have a second Chameleon-mini card untouched, is there any way to download the firmware of that card (to a file), in order to compare both firmwares?.

Regards

Enrique

De: Georg Land [mailto:notifications@github.com] Enviado el: miércoles, 18 de enero de 2017 4:20 Para: emsec/ChameleonMini CC: EnriqueSch; Mention Asunto: Re: [emsec/ChameleonMini] File .hex does not work (#91)

Hi @EnriqueSch https://github.com/EnriqueSch as already said, you need to flash the eep file, too. In your case you can do this with avrdude -c avrispmkii -p x32a4u -P usb -e -U flash:w:Chameleon-Mini.hex -U eeprom:w:Chameleon-Mini.eep.

Does this solve your problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/emsec/ChameleonMini/issues/91#issuecomment-273402019 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYAsVrPKbmYgGhl0TgJpHJ62qeHuDUPGks5rTb06gaJpZM4LluE0 . https://github.com/notifications/beacon/AYAsVqBeROOmP60oQdJX_XF-YVHDMpUYks5rTb06gaJpZM4LluE0.gif

geo-rg commented 7 years ago

Hi @EnriqueSch have you set the Chameleons configuration to e.g. Mifare Classic? This can be done by connecting the Chameleon to your PC via USB. Then use a terminal program like TeraTerm or minicom and connect to the Chameleons terminal. Then type config=MF_CLASSIC_1k and hit enter.

You may also read the RevG documentation (https://rawgit.com/emsec/ChameleonMini/master/Doc/Doxygen/html/Page_Configurations.html). The principle is the same.

EnriqueSch commented 7 years ago

It worked… thanks a lot

Enrique

De: Georg Land [mailto:notifications@github.com] Enviado el: miércoles, 18 de enero de 2017 9:26 Para: emsec/ChameleonMini CC: EnriqueSch; Mention Asunto: Re: [emsec/ChameleonMini] File .hex does not work (#91)

Hi @EnriqueSch https://github.com/EnriqueSch have you set the Chameleons configuration to e.g. Mifare Classic? This can be done by connecting the Chameleon to your PC via USB. Then use a terminal program like TeraTerm or minicom and connect to the Chameleons terminal. Then type config=MF_CLASSIC_1k and hit enter.

You may also read the RevG documentation (https://rawgit.com/emsec/ChameleonMini/master/Doc/Doxygen/html/Page_Configurations.html). The principle is the same.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/emsec/ChameleonMini/issues/91#issuecomment-273462396 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYAsVoOiLYN_Snh9Sh5Z9YwLMq5_FtVVks5rTgTQgaJpZM4LluE0 . https://github.com/notifications/beacon/AYAsVpHzIfrietGCn2WNvrMh_QIYvbpQks5rTgTQgaJpZM4LluE0.gif