Skip to main content
Visitor II
April 3, 2006
Question

Restart ST7 after unplugging power supply

  • April 3, 2006
  • 15 replies
  • 2687 views
Posted on April 03, 2006 at 15:39

Restart ST7 after unplugging power supply

    This topic has been closed for replies.

    15 replies

    Visitor II
    March 15, 2006
    Posted on March 15, 2006 at 12:30

    ok,

    I'm going to look at that.

    But I don't know how to do only a reset. So I'm going to focus on simple reset...

    thanks

    Visitor II
    March 20, 2006
    Posted on March 20, 2006 at 10:05

    Hi,

    I try to be clean.

    The reset pin is Vdd after I release reset button.

    With or without in-Dart, when I use reset button the micro stop but doesn't restart.

    So, I think that the label _stext haven't been defined.

    Luca, you said that stext is defined in the start up file : crts.s.

    I find this file in a Cosmic folder and there is a ''jump'' to main inside.

    But can you explain to me how the link between my file and crts.s is done ? Because I think that this file is not in micro.

    Thanks

    [ This message was edited by: Orlando on 20-03-2006 14:43 ]

    Visitor II
    March 20, 2006
    Posted on March 20, 2006 at 10:27

    the ''link'' is the reset vector; go look in the memory at address 0xFFFE and you should see the address of the first instruction of the crts (which should be RSP).

    Make sure you check out this problem with Softec as well; I don't know the details of how the InDART operates, but it might be that the reset vector is ''used'' for some reason.

    Regards,

    Luca

    Visitor II
    March 21, 2006
    Posted on March 21, 2006 at 12:08

    when I launch a debug session ... I try to find in the dissassembly window the memory address 0xFFFE and I just have the :

    0xFFFD < __vectab+29

    0xFFFF < __vectab+31

    Could you tell why I don't have the memory address FFFE ????

    A the beginning of the memory I have :

    0xE000 < __stext

    0xE001 < __stext+1

    0xE004 < _exit

    main.c:29

    Thanks

    ST Employee
    April 3, 2006
    Posted on April 03, 2006 at 15:39

    Hi Orlando,

    how did you programm your micro?

    by entering the debug session only, or by programming feature of InDART?

    What about oscilator, is it working after reset?