[SOLVED]PRIMASK not cleared after script execution

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED]PRIMASK not cleared after script execution

    Hi,

    Using J-link v6.20g with MKM34Z256, primask is not cleared after the execution of a script.

    Strangely I even tried add __enable_irq() in my code, but primask is always 1. :(

    Source Code

    1. r
    2. h
    3. unlock Kinetis
    4. r
    5. h
    6. erase
    7. loadbin E:\eo_reader.bin,0x00000000
    8. sleep 1000
    9. mem32 0x20000000,1
    10. mem32 0x20000004,1
    11. r
    12. h
    13. loadbin E:\S_Off.bin,0x00000000
    14. r
    15. h
    16. loadbin E:\eo_v2.bin,0x00004000
    17. r
    18. exit
    Display All
  • Hi,

    No problem.
    I will consider this case as solved then.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.