Skip to main content
jbl_raw
Associate III
August 25, 2012
Question

stm32 programmer

  • August 25, 2012
  • 12 replies
  • 1862 views
Posted on August 25, 2012 at 17:16

hi , i want to build a stm32 jtag programmer . i find lpt  jtag circuit  . but i can't find software.

why this forum->

*bad interface

*not friendly interface

#credit-where-it's-due #lmgtfy #no-such-thing-as-a-free-lunch
    This topic has been closed for replies.

    12 replies

    jbl_raw
    jbl_rawAuthor
    Associate III
    August 26, 2012
    Posted on August 26, 2012 at 17:40

    why no body wan't help me.

     

    there are an software or not . this is not hard question

    Tesla DeLorean
    Guru
    August 26, 2012
    Posted on August 26, 2012 at 18:45

    Programming ARM parts via JTAG is non-trivial.

    I'm sure I could find open source JTAG code via Google, I'd imagine you could do so yourself.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Super User
    August 27, 2012
    Posted on August 27, 2012 at 12:36

    http://www.lmgtfy.com?q=Open-Source+JTAG+programmer

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    jbl_raw
    jbl_rawAuthor
    Associate III
    August 27, 2012
    Posted on August 27, 2012 at 14:17

    thank all

    I understand

    from

    your

    words

    that i must

    buy the (hardware and software). and st not offer software.

    frankmeyer9
    Associate III
    August 27, 2012
    Posted on August 27, 2012 at 14:34

    Just follow neil's advice.

    OpenOCD, for instance, is a project dedicated to that.

    ST doesn't offer debug adapters that would qualify as open source.

    But you can get a discovery board from ST, which as an STLink adapter on board.

    This STLink is only SWD but not bound to the onboard controller - you can debug other stm32 boards as well, I even succeeded in flashing + debugging a LPC1369 board with it.

    Andrew Neil
    Super User
    August 27, 2012
    Posted on August 27, 2012 at 15:12

    ''I understand

    from

    your

    words

    that i must

    buy the (hardware and software).''

    Not at all!

    The whole point of Open Source is that, as the name suggests, the design is Open for you to see & use (subject to licence terms).

    It's up to you whether you choose to use this, together with your own time & effort, to build something without having to buy it.

    If you are not able or willing to do it with your own time & effort, then you must expect to have to pay to have others do it for you.

    ''and st not offer software''

    The necessary software is included with ST kits - and a Discovery kit only costs a few dollars.

    Only you can decide whether your time is more valuable to you than the cost of a Discovery kit...

    Alternatively, the free evaluation downloads of Keil, et al, also include the necessary software.

    It's not open-source, but it will allow you to get on with programming.

    It depends whether your primary interest is specifically to make a ''programmer'' - or if that's just a means to the end of making applications...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Andrew Neil
    Super User
    August 27, 2012
    Posted on August 27, 2012 at 15:14

    ''Just follow neil's advice''

     

    I think it was actually clive1's advice?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Tesla DeLorean
    Guru
    August 27, 2012
    Posted on August 27, 2012 at 15:58

    I think if you want a low cost programmer, with software from ST, then the serial flash loader demonstrator might be the way to go. ST provides source for this, and it's something that could easily be ported to a micro-controller.

    JTAG requires a more thorough understanding of the ARM parts, and internal function, which I think is beyond the scope of the average/casual user of the parts. Thus the question might be a simple one, the follow ups will be more complex, and the ability to mine for information a prerequisite.

    The ST-Link's provide one very low cost way to get SWD programing.

    On the Google front, one could even find bootleg schematics and firmware for J-Link and U-Link devices, and vendors selling such devices. So even with some cursory mining a lot of questions could be answered, or at least explored.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    jbl_raw
    jbl_rawAuthor
    Associate III
    August 27, 2012
    Posted on August 27, 2012 at 21:51

    thank all

    i'm very happy . because i find a lot of help here . good friends here.

    i will buy stm32f4 discovery board

    what is software programmer stm32f4 because board come without cd?

    are there differnt from starting with stm32f1 or stm32f4 ?

    I'm new in stm32 world i was using (avr,pic,8051)

    Tesla DeLorean
    Guru
    August 27, 2012
    Posted on August 27, 2012 at 22:39

    You could download the ST-LINK tools, which can be used to erase, program, etc.

    For a development IDE, you could download an evaluation version of Keil, Rowley, or IAR, which have drivers for the ST-LINK.

    ST's assumption is that you will pull resources from the web, as pressing and packaging a CD add to the cost of the board.

    http://www.st.com/internet/evalboard/product/252419.jsp

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..