Skip to main content
bob239955_st
Associate
December 10, 2007
Question

STM32-SK & AN2557

  • December 10, 2007
  • 6 replies
  • 1425 views
Posted on December 10, 2007 at 10:01

STM32-SK & AN2557

    This topic has been closed for replies.

    6 replies

    zouhair
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 12:18

    Hi,

    try to use the latest version of Jlink driver because it implements a new reset type for cortex-M3 devices and may be it fixes your problem.

    http://www.segger.com/download_jlink.html

    Rgds

    bob239955_st
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:18

    Hi,

    I'm new to the STM32, but I love it. I have the IAR STM32-SK KickStart kit. I was 'playing' with the DMA examples in AN2548, specifically Example1. I modified the code to use AIN15 instead of AIN14 because the IAR board has a Pot on AIN15. The example worked well. But, when I try to reprogram the STM32 with another appl., I get errors from the JTAG/Debugger. The part can not be reprogrammed. I found out if I reprogam the STM32 with the code from AN2557, the In Application Programming example, it works! Then I can reprogram it with what ever I want. Can anyone explain what causes this?

    Thanks,

    B.K.

    zouhair
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 12:18

    Can you send me your project?

    Rgds

    bob239955_st
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:18

    I'm using version 3.78a, downloaded from the Segger web site.

    bob239955_st
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:18

    Here is the project. I modified it to use AIN15 instead of AIN14.

    zouhair
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 12:18

    I can reprogram the STM32 even after loading the code you sent into Flash.

    I' using EWARM4.42A+ jlink 3.78a

    Rgds,