Comments (12)
Hi, so if it shows up in bootloader as atxmega the USB connection is fine ;and the device is still OK, just the correct firmware missing. so the problem will be the flashing / getting started procedure. How to you know "it flashes successfully" - it rather seems it is NOT flahes successfully, please give more details what exactly you are doing there. I am also confused as first (in an email) you wrote you are using MacOS... and now you wrote here you are using Windows.. so what is true? Have you maybe set the fuses wrong...
from chameleonmini.
Thanks for the reply.
To clarify, I tried flashing it on windows and macos. In both cases I thought the flash went through as it said flashing successful or something along those lines at the end. However, on windows after flashing the device would no longer show up in device manager. On MacOS after flashing it would still show as DFU X.
On MacOS I used avrdude to flash as per the instructions. On Windows, I couldn't find the dfu-programmer v0.7.2, so I used v0.8 instead. Could that maybe be the issue?
I tried using a few different data cables and even a new one, so I'm pretty sure that isn't the issue.
I'm not really sure about the fuses. I just copied the command from this page: https://cdn.statically.io/gh/emsec/ChameleonMini/master/Doc/Doxygen/html/Page_GettingStarted.html to flash with avrdude. Is there a way I can diagnose this?
from chameleonmini.
Maybe the dfu-programmer is the cause... another option would be to download winavr https://sourceforge.net/projects/winavr/ it contains avrdude and that should work (tm) - could you try that and report? Thanks.
from chameleonmini.
Will try that. Thanks. Should I use the same command specified for avrdude on mac/linux?
from chameleonmini.
I tried the same command and got an error that the programmer id "flip2" couldn't be found. Should I be using something else for that value?
from chameleonmini.
This is the output when runnning with v0.8 by the way:
Checking memory from 0x0 to 0x1FFFF... Not blank at 0x1.
Erasing flash... Success
Checking memory from 0x0 to 0x1FFFF... Empty.
0% 100% Programming 0x40 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] Success
0% 100% Reading 0x800 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] Success
Validating... Success
0x40 bytes written into 0x800 bytes memory (3.12%).
Checking memory from 0x0 to 0x5FFF... Empty.
0% 100% Programming 0x6000 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] Success
0% 100% Reading 0x20000 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] Success
Validating... Success
0x6000 bytes written into 0x20000 bytes memory (18.75%).
Flashing the firmware to your ChameleonMini is finished now.
from chameleonmini.
well... one more idea, can you please try to use the program "flip"? https://www.microchip.com/en-us/development-tool/flip ? I remember faintly that the program is really horrible (...) but ahen selecting the correct device atxmega128a4u and connect via usb it had worked in the past... I cant remember which version but i remember there was one page for the .hex, then another for the .eep, and then finally there was some ja error message in this "flip" but that was no problem the chameleon was still flashed correctly...
from chameleonmini.
I tried using this fork: https://github.com/mariusgreuel/avrdude
and it still doesn't work, but this is the output I get.
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e9746 (probably x128a4u)
avrdude: Note: application memory has been specified, an erase cycle will be performed.
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file Chameleon-Mini.hex for application
with 24444 bytes in 1 section within [0, 0x5f7b]
using 96 pages and 132 pad bytes
avrdude: writing 24444 bytes application ...
Writing | ################################################## | 100% 1.85 s
avrdude: 24444 bytes of application written
avrdude: verifying application memory against Chameleon-Mini.hex
Reading | ################################################## | 100% 2.03 s
avrdude: 24444 bytes of application verified
avrdude: reading input file Chameleon-Mini.eep for eeprom
with 51 bytes in 1 section within [0, 0x32]
using 2 pages and 13 pad bytes
avrdude: writing 51 bytes eeprom ...
Writing | ################################################## | 100% 0.06 s
avrdude: 51 bytes of eeprom written
avrdude: verifying eeprom memory against Chameleon-Mini.eep
Reading | ################################################## | 100% 0.04 s
avrdude: 51 bytes of eeprom verified
avrdude done. Thank you.
I wonder if it's a driver issue. The driver on there as per Zadig is libusb v1.2.6.0
I'll try the flip program now.
from chameleonmini.
I'm trying Flip, but there doesn't seem to be an option to add an eep file. I could only include the .hex file.
from chameleonmini.
Might be wrong right now, but when I had similar issues in the past I solved them flashing with an external programmer
I also had to change MCU once, but that time I wasn’t getting signals on the pins IIRC
from chameleonmini.
For Flip, you have to click first program the .hex (after choosing the controller and connecting to USB). Next click on SELECT EEPROM. You are right, in the file dialog appearing it only shows .hex files... so you have to type *.eep in the file name in order to make .eep files visible; then choose the .eep file and Make sure to uncheck the Erase and Blank Check boxes - otherwise the program memory will be erased. Then click RUN again, and there should be 2 green lights (program verify); unplug Chameleon, done.
from chameleonmini.
It worked! Thanks so much for the help.
from chameleonmini.
Related Issues (20)
- enabling R(Nack) resend HOT 8
- Create a project to keep track of misc DESFire support TODO tasks? HOT 5
- Emulation mode - Responding to external readers HOT 3
- Problems with external USB readers running ``CONFIG=MF_DESFIRE`` HOT 3
- Where to download the firmware binaries built with the emsec/ChameleonMini actions scripts? HOT 2
- Lost ability to store card data to FRAM in all releases after Jul 08, 2022 HOT 2
- Some Questions about the ChameleonMini
- DESFire: Unable to auth to apps unless authed to the PICC master app first HOT 3
- Mifare Ultralight EV1 Emulation Support HOT 4
- cannot access device at all HOT 2
- Issues with Mifare DES-Fire Emulation HOT 3
- Connect device to the LabVIEW HOT 2
- No communication between old NFC reader and ChameleonTiny Pro HOT 6
- Datasheets and other information about debugging with the ChameleonMini HOT 3
- Set new UID HOT 3
- MIFARE DESFire EV1 8K HOT 2
- How can I emulate MIFARE DESFire EV1 8K with Proxmark3 HOT 1
- Conflict in 'Uid' Variable Definitions Across Different Files HOT 1
- Where are the "Latest" directory of RevG? 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.