Skip to main content
levmalkin
Associate
November 9, 2008
Question

ULINK2 USB-JTAG of Keil and STM3210E-EVAL

  • November 9, 2008
  • 3 replies
  • 938 views
Posted on November 09, 2008 at 07:55

ULINK2 USB-JTAG of Keil and STM3210E-EVAL

    This topic has been closed for replies.

    3 replies

    jaroslaw2
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:51

    Hi,

    1.Can you show us body of stm32_Init ();

    2. Did you check pin boot0, should be connected to GND.

    levmalkin
    levmalkinAuthor
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:51

    Shalom from JERUSALEM!

    Here is my technical problem:

    I've got STM3210E-EVAL evaluation board from ST company. -

    target STM32F103ZE

    I've tried to programm it's flash with ULINK2 USB-JTAG on the base of

    simple led blinking test programm.

    The flash programming is performing, but I cann't see results -

    the programm not functions.

    What can I do ?

    Is it possible use ULINK2 USB-JTAG for STM3210E-EVAL board?

    Some details:

    OS : WINDOWS XP

    IDE-Version:

    µVision3 V3.63

    Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2008

    License Information:

    LEV USER

    COMPANY

    LIC=----

    Tool Version Numbers:

    Toolchain: RealView MDK-ARM Version: 3.24

    Toolchain Path: BIN31

    C Compiler: Armcc.Exe V3.1.0.939 [Evaluation]

    Assembler: Armasm.Exe V3.1.0.939 [Evaluation]

    Linker/Locator: ArmLink.Exe V3.1.0.939 [Evaluation]

    Librarian: ArmAr.Exe V3.1.0.939 [Evaluation]

    Hex Converter: FromElf.Exe V3.1.0.939 [Evaluation]

    CPU DLL: SARMCM3.DLL V3.24

    Dialog DLL: DARMSTM.DLL V1.36

    Target DLL: BIN\UL2CM3.DLL V1.43

    Dialog DLL: TARMSTM.DLL V1.35

    **************************************************

    Listing of main:

    int main (void) {

    stm32_Init (); // STM32 setup

    GPIO_WriteBit(GPIOF, GPIO_Pin_8, Bit_RESET);

    GPIO_WriteBit(GPIOF, GPIO_Pin_8, Bit_SET); // Turn On Led

    GPIO_WriteBit(GPIOF, GPIO_Pin_6, Bit_SET); // Turn On Led

    while (1) {

    }

    }

    **************************************************

    Remark: ULINK2 USB-JTAG succesfully works with MCB2300 evaluation board of KEIL

    Regards

    Lev Malkin

    :-[

    16-32micros
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:51

    Dear lev,

    Welcome in our STM32 forums :)

    Please take care that ''C:\Keil\ARM\Boards\Keil\MCBSTM32E\Blinky'' example and also the other ones under MCBSTM32E sub-directory are done on the following board from Keil and not from ST, so the hardware schematics are not the same.

    I suggest you to download ST FW library :

    http://www.st.com/stonline/products/support/micro/files/um0427.zip

    , Next go to template project STM32F10xFWLib_v2.0.3\FWLib\project\RVMDK , then replace the files by the ones located in STM32F10xFWLib_v2.0.3\FWLib\examples\GPIO\IOToggle {You can have a look at readme.txt first} to know what is expected to RUN.

    Hope this helps you. Enjoy it :)

    Cheers,

    STOne-32.