Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get "API not implemented" error with hw slot init #222

Open
taichunmin opened this issue Aug 7, 2024 · 2 comments
Open

Get "API not implemented" error with hw slot init #222

taichunmin opened this issue Aug 7, 2024 · 2 comments

Comments

@taichunmin
Copy link
Contributor

taichunmin commented Aug 7, 2024

To Reproduce

hw connect
hw factory_reset --force

hw connect
hw slot change -s 1
hw slot init -s 1 -t MIFARE_4096
hw slot init -s 1 -t MIFARE_4096
hw slot init -s 1 -t MIFARE_4096
hw slot init -s 1 -t MIFARE_4096
hw slot init -s 1 -t MIFARE_4096

Expected behavior
Should not throw error.

Screenshots
If applicable, add screenshots to help explain your problem. For console text and logs, better to dump them as text than image. Attach files if too long.

Xnip2024-08-08_01-11-39

[Offline] chameleon --> hw connect
 { Chameleon Ultra connected: v2.0 }
[USB] chameleon --> hw version
 - Chameleon Ultra, Version: v2.0 (v2.0.0-200-gc771ae9)
[USB] chameleon --> hw factory_reset --force
 - Reset successful! Please reconnect.
[Offline] chameleon --> hw connect
 { Chameleon Ultra connected: v2.0 }
[USB] chameleon --> hw slot change -s 1
 - Set slot 1 activated success.
[USB] chameleon --> hw slot init -s 1 -t MIFARE_4096
 - Set slot tag data init success.
[USB] chameleon --> hw slot init -s 1 -t MIFARE_4096
 - Set slot tag data init success.
[USB] chameleon --> hw slot init -s 1 -t MIFARE_4096
 - Set slot tag data init success.
[USB] chameleon --> hw slot init -s 1 -t MIFARE_4096
 - Set slot tag data init success.
[USB] chameleon --> hw slot init -s 1 -t MIFARE_4096
Some api not implemented
[USB] chameleon -->

Host (please complete the following information):

  • OS and version: macOS Sonoma 14.5
  • for compilation issues, the toolchain version: official firmware
  • inside CLI run hw version and paste the output here

Additional context
Unplug ChameleonUltra and wait poweroff will reset the error. But the same commands will trigger this error again.

@taichunmin
Copy link
Contributor Author

I guess this is memory leak, But I didn't have any debug tool like J-LINK.

@taichunmin taichunmin changed the title Get "API not implemented" error with hw slot store and hw slot init Get "API not implemented" error with hw slot init Aug 7, 2024
@taichunmin
Copy link
Contributor Author

taichunmin commented Aug 7, 2024

I have test four different Chameleon Ultra (official & cloned). Every CU will encounter this error. But with different times of hw slot init -s 1 -t MIFARE_4096 command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant