Code Monkey home page Code Monkey logo

Comments (5)

ciarmcom avatar ciarmcom commented on May 22, 2024

Internal Jira reference: https://jira.arm.com/browse/IOTPART-9151

from mbed-os-example-pelion.

PatrickMillar avatar PatrickMillar commented on May 22, 2024

As an additional comment I am able to resolve this issue by loading a deprecated example: https://os.mbed.com/teams/ST/code/pelion-example-disco-iot01/ and clearing the credentials using it. Then if I reload this example I am able to connect to the platform.

from mbed-os-example-pelion.

teetak01 avatar teetak01 commented on May 22, 2024

HI @PatrickMillar thanks for the report. We need to check this later.

As a simple workaround there are ways to erase the board without flashing old applications.

  1. use pyocd
    pyocd erase --mass-erase

  2. truncate the binary (linux example)
    truncate --size 1024K mbed-os-example-pelion.bin

Although normal Drag & Drop flashing of .bin image should also erase any pre-existing KVstore data as that is located in the first bank of the board, between bootloader and application image.

Are you perhaps using some other method for flashing that might preserve those sections that are empty in the image?

from mbed-os-example-pelion.

PatrickMillar avatar PatrickMillar commented on May 22, 2024

@teetak01

I attempted the mass erase today and it did not solve my problem. I am flashing the device using the command: mbed compile -m auto --flash

Erase Log.txt

from mbed-os-example-pelion.

teetak01 avatar teetak01 commented on May 22, 2024

Hi, just wanted to update that we have not had time to look in to this issue yet.

from mbed-os-example-pelion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.