Code Monkey home page Code Monkey logo

Comments (1)

karlp avatar karlp commented on July 29, 2024

< zippe> If you put the MSP at the bottom of RAM because you think you're being smart and you want stack overflows to give you a
hardfault
23:15 < Tectu> i understand what you mean, but what's MSP?
23:15 < zippe> Then when that hardfault happens the MSP will still be outside of the RAM range and you take a second hardfault
immediately
23:15 < zippe> MSP is the main stack pointer
23:15 < Tectu> ah
23:15 < Tectu> i see
23:15 < zippe> Many people using the M3 just run everything with one stack pointer
23:15 < zippe> You are better off using the PSP and reserving an exception stack
23:15 < zippe> But that does take more RAM...
23:16 < zyp> I'm going to do that once I revise my memory model
23:16 < zippe> Anyway, when you take a fault while trying to handle a fault you will end up in lockup mode
23:16 < zippe> Read the ARM documentation
23:16 < zyp> I still haven't touched that since moving from F1 to F4
23:16 < zippe> The lockup details are stored in the PC
23:16 < zyp> I'm planning to move all stacks to CCM
23:17 < zyp> seems like the most useful use of CCM

from stlink.

Related Issues (1)

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.