flipperdevices / flipperzero-firmware

Flipper Zero firmware source code
https://flipperzero.one
GNU General Public License v3.0
12.84k stars 2.73k forks source link

[NFC] Mifare Ultralight fails in 0.56.0-rc 0.56.0-rc (54356794 built on 21-04-2022 #1145

Closed hanzov69 closed 2 years ago

hanzov69 commented 2 years ago

Describe the bug Using an Amiibo NTAG215 as a sample source, attempting to dump the data fails silently, Flipper remains stuck on "Detecting ultralight" screen. Reverting to 0.55 works correctly

To Reproduce Steps to reproduce the behavior:

  1. Menu "NFC"
  2. "Read Card", place Amiibo tag near reader
  3. "Detecting NFC", goes to dialog with NFC data (NFC-A may be: Mifare Ultral/NTAG)
  4. Choose "More", "Additional reading scripts"
  5. Choose "Read Mifare Ultra/Ntag"
  6. UI goes to "Detecting ultralight", hangs forever

Expected behavior It is able to complete the NTAG dump

Logs

Firmware version: 0.56.0-rc 0.56.0-rc (54356794 built on 21-04-2022)
>: log
Press CTRL+C to stop...
70632 [I][LoaderSrv]: Starting: NFC
70641 [I][AnimationManager]: Unload animation 'L1_Recording_128x51'
71777 [D][DolphinState]: icounter 34, butthurt 0
71786 [T][FuriHalNfc]: Current state 10
71796 [T][FuriHalNfc]: Current state 10
71799 [T][FuriHalNfc]: Current state 10
71802 [T][FuriHalNfc]: Current state 10
71805 [T][FuriHalNfc]: Current state 10
71808 [T][FuriHalNfc]: Current state 10
71811 [T][FuriHalNfc]: Current state 10
71814 [T][FuriHalNfc]: Current state 10
71817 [T][FuriHalNfc]: Current state 10
71820 [T][FuriHalNfc]: Current state 10
71823 [T][FuriHalNfc]: Current state 10
71826 [T][FuriHalNfc]: Current state 10
71832 [T][FuriHalNfc]: Current state 10
71838 [T][FuriHalNfc]: Current state 10
71841 [T][FuriHalNfc]: Current state 10
71843 [T][FuriHalNfc]: Current state 10
71851 [T][FuriHalNfc]: Current state 10
71855 [T][FuriHalNfc]: Current state 10
71858 [T][FuriHalNfc]: Current state 10
71860 [T][FuriHalNfc]: Current state 10
71865 [T][FuriHalNfc]: Current state 10
71872 [T][FuriHalNfc]: Current state 10
71875 [T][FuriHalNfc]: Current state 10
71878 [T][FuriHalNfc]: Current state 10
71881 [T][FuriHalNfc]: Current state 10
71884 [T][FuriHalNfc]: Current state 10
71887 [T][FuriHalNfc]: Current state 10
71890 [T][FuriHalNfc]: Current state 10
71905 [T][FuriHalNfc]: Current state 10
71912 [T][FuriHalNfc]: Current state 10
71915 [T][FuriHalNfc]: Current state 10
71917 [T][FuriHalNfc]: Current state 10
71923 [T][FuriHalNfc]: Current state 10
71927 [T][FuriHalNfc]: Current state 10
71929 [T][FuriHalNfc]: Current state 10
71931 [T][FuriHalNfc]: Current state 10
71936 [T][FuriHalNfc]: Current state 10
71938 [T][FuriHalNfc]: Current state 11
71943 [T][FuriHalNfc]: Current state 11
71945 [T][FuriHalNfc]: Current state 11
71947 [T][FuriHalNfc]: Current state 11
71952 [T][FuriHalNfc]: Current state 11
71958 [T][FuriHalNfc]: Current state 11
71964 [T][FuriHalNfc]: Current state 11
71970 [T][FuriHalNfc]: Current state 11
71976 [T][FuriHalNfc]: Current state 11
71978 [T][FuriHalNfc]: Current state 11
71980 [T][FuriHalNfc]: Current state 13
71984 [T][FuriHalNfc]: Current state 13
71998 [D][DolphinState]: icounter 34, butthurt 0
76495 [D][DolphinState]: icounter 34, butthurt 0
76504 [T][FuriHalNfc]: Current state 10
76514 [T][FuriHalNfc]: Current state 10
76519 [T][FuriHalNfc]: Current state 10
76522 [T][FuriHalNfc]: Current state 10
76525 [T][FuriHalNfc]: Current state 10
76528 [T][FuriHalNfc]: Current state 10
76531 [T][FuriHalNfc]: Current state 10
76534 [T][FuriHalNfc]: Current state 10
76537 [T][FuriHalNfc]: Current state 10
76540 [T][FuriHalNfc]: Current state 10
76543 [T][FuriHalNfc]: Current state 10
76551 [T][FuriHalNfc]: Current state 10
76562 [T][FuriHalNfc]: Current state 10
76565 [T][FuriHalNfc]: Current state 10
76578 [T][FuriHalNfc]: Current state 10
76585 [T][FuriHalNfc]: Current state 10
76590 [T][FuriHalNfc]: Current state 10
76597 [T][FuriHalNfc]: Current state 10
76601 [T][FuriHalNfc]: Current state 10
76603 [T][FuriHalNfc]: Current state 10
76605 [T][FuriHalNfc]: Current state 10
76607 [T][FuriHalNfc]: Current state 10
76609 [T][FuriHalNfc]: Current state 10
76611 [T][FuriHalNfc]: Current state 10
76613 [T][FuriHalNfc]: Current state 10
76615 [T][FuriHalNfc]: Current state 10
76617 [T][FuriHalNfc]: Current state 10
76619 [T][FuriHalNfc]: Current state 10
76621 [T][FuriHalNfc]: Current state 10
76633 [T][FuriHalNfc]: Current state 10
76637 [T][FuriHalNfc]: Current state 10
76639 [T][FuriHalNfc]: Current state 10
76641 [T][FuriHalNfc]: Current state 10
76647 [T][FuriHalNfc]: Current state 10
76651 [T][FuriHalNfc]: Current state 10
76653 [T][FuriHalNfc]: Current state 10
76655 [T][FuriHalNfc]: Current state 10
76660 [T][FuriHalNfc]: Current state 10
76662 [T][FuriHalNfc]: Current state 11
76667 [T][FuriHalNfc]: Current state 11
76669 [T][FuriHalNfc]: Current state 11
76671 [T][FuriHalNfc]: Current state 11
76676 [T][FuriHalNfc]: Current state 11
76682 [T][FuriHalNfc]: Current state 11
76688 [T][FuriHalNfc]: Current state 11
76694 [T][FuriHalNfc]: Current state 11
76700 [T][FuriHalNfc]: Current state 11
76702 [T][FuriHalNfc]: Current state 11
76704 [T][FuriHalNfc]: Current state 13
76709 [T][FuriHalNfc]: Current state 13
76710 [D][NfcWorker]: Found Mifare Ultralight tag. Start reading
76712 [D][MfUltralight]: Reading version
76719 [D][MfUltralight]: Reading signature
76727 [D][MfUltralight]: Reading pages 0 - 3
76733 [D][FuriHalNfc]: Timeout during data exchange
76734 [D][MfUltralight]: Failed to read pages 0 - 3
76737 [D][NfcWorker]: Failed reading Mifare Ultralight

Target

Additional context Again, downgrading to 0.55.1 cannot reproduce, performs as expected

skotopes commented 2 years ago

Check dev please, should be fixed