8000 Recover former LoRa MAC? · Issue #193 · pycom/pycom-micropython-sigfox · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Recover former LoRa MAC? #193

Closed
nevercast opened this issue Aug 7, 2018 · 3 comments
Closed

Recover former LoRa MAC? #193

nevercast opened this issue Aug 7, 2018 · 3 comments

Comments

@nevercast
Copy link

Please include the following information when submitting a bug report:

  • LoPy L01
  • 1.19.0.b3
(sysname='LoPy', nodename='LoPy', release='1.19.0.b3', version='v1.9.4-44b21d6 on 2018-07-01', machine='LoPy with ESP32', lorawan='1.0.2')
  • Exact steps to cause this issue
    1. esptool -X -c esp32 --tx-break -b 921600 --after no_reset -p COM3 erase_flash
    2. from network import LoRa
    3. lora = LoRa(mode=LoRa.LORA, region=LoRa.AU915)
    4. lora.mac()
  • What you expected
    • To see aa-bb-cc-dd-lo-ra-ma-cc
  • What happened instead
    • "And its gone", ff-ff-ff-ff-ff-ff-ff-ff

I have discovered the hard way that the LoRa MAC is not stored in some fuses but in flash, I've deleted it. Is there anyway to recover the former LoRa MAC address of this device? If I provide you with the WiFi MAC do you have the LoRa MAC available? The unique id is 24-0a-c4-0a-ab-c0

Cheers.
Josh.

@robert-hh
Copy link
Contributor

That's not an issue, and was discussed quite a few times in the forum. And in your list above, after step i the flash should be completely empty. Especially step ii is not possible without reloading a firmware image. You can restore the Lora MAC by performing a regular firmware upload with the PyCom updater.

@Xykon
Copy link
Member
Xykon commented Aug 7, 2018

The software server will only know the LoRa mac of the device if it was updated with the Pycom firmware tool at least once before it was erased. The latest beta firmware updater has a function to assign a new Mac (pending availability) if the mac was erased without a backup being made. The download links for the beta firmware updater are available on the forum.

@Xykon Xykon closed this as completed Aug 7, 2018
@nevercast
Copy link
Author

@robert-hh Aye, I missed the step where I reflashed the 1.19.0.b3 image.

Thanks, both, I'll try the Firmware Updater and see if that recovers the mac, if not, I guess I'll get a new one. Cheers.

Xykon added a commit that referenced this issue Nov 23, 2020
…memory_leak

Problem on machine.sleep(resume_wifi_ble=True) and Memory leak during Bluetooth.disconnect()
X-Ryl669 pushed a commit to X-Ryl669/pycom-micropython-sigfox that referenced this issue May 12, 2023
…nect_memory_leak

Problem on machine.sleep(resume_wifi_ble=True) and Memory leak during Bluetooth.disconnect()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0