Skip to main content
Visitor II
September 21, 2006
Question

interrupts again

  • September 21, 2006
  • 2 replies
  • 516 views
Posted on September 21, 2006 at 12:30

interrupts again

    This topic has been closed for replies.

    2 replies

    jgorilAuthor
    Visitor II
    September 19, 2006
    Posted on September 19, 2006 at 13:15

    Hi. Can anybody review my file and let me know, what am I doing wrong? It concerns STR711FR2 and want to toggle GPIO.1 pins every 0.5 sec. Thanks a million... (I am just trying to familiarise with ARM7 and this is my simple try...)

    ________________

    Attachments :

    blikatko.s : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtIz&d=%2Fa%2F0X0000000aLM%2F53bMiOfjAZmvnjEaqsZCndRJTLz9jlXUno1Tm7dZ9os&asPdf=false
    jgorilAuthor
    Visitor II
    September 21, 2006
    Posted on September 21, 2006 at 12:30

    Hello Risc.

    Thanks for your effort. I use my own tool chain.

    Just today I have found, where the problem was. After booting from RAM, just addres 0x20000000 is mapped into address 0x00000000. But not 0x20000004 into 0x00000004 and so on. So my exception handler at address 0x20000018 was never executed and PC got stuck lost somewhere in address space after jumping to 0x00000018 in case of IRQ exception. Now I am writing the value of 0x02 into PCU_BOOTCR register at begining of reset exception handler, firmly remapping RAM into 0x00000000 in this way. And all is working OK...