Ignore:
Timestamp:
Oct 7, 2026, 12:20:36 PM (4 weeks ago)
Author:
Zed
Message:

First Stage Bootloader now can be debugged and flashed directly in SES.
RTT is also working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/firmware/FSBL/SES/STM32N6xx/Source/STM32N6xx_Startup.s

    r16 r24  
    194194
    195195        // Open the debug access port to the Cortex-M55 by writing 0xB4 to BSEC_AP_UNLOCK
    196         //ldr r0, = 0x56009E90
    197         //mov r1, #0xB4
    198         //str r1, [r0]
     196        ldr r0, = 0x56009E90
     197        mov r1, #0xB4
     198        str r1, [r0]
    199199
    200200        // Enable the non-secure/secure debug by writing 0xB451B400 to BSEC_DBGCR
    201         //ldr r0, = 0x56009E8C
    202         //ldr r1, = 0xB451B400
    203         //str r1, [r0]
     201        ldr r0, = 0x56009E8C
     202        ldr r1, = 0xB451B400
     203        str r1, [r0]
    204204
    205205        //
Note: See TracChangeset for help on using the changeset viewer.