Skip to main content
Visitor II
June 29, 2006
Question

USB IAP for Firmware Download

  • June 29, 2006
  • 5 replies
  • 1510 views
Posted on June 29, 2006 at 11:11

USB IAP for Firmware Download

    This topic has been closed for replies.

    5 replies

    Visitor II
    April 7, 2006
    Posted on April 07, 2006 at 11:44

    Hi,

    I want to use IAP with USB and use remapping if necessary. Unfortunately I have got a problem with the assembler files (71x_init.s, 71x_vect.s, init_table.s) and the xlink command file. Are these files described anywhere? When I try to compile my sources, I get the following linker error:

    Error[e18]: Range error, ARM branch target is out of range

    Where $ = T0TIMI_Addr + 0xCC [0x400000CC]

    in module ''?RESET'' (D:\Firmware\FW_L000100(WaMa)Download\Debug\Obj\71x_vect.r79),

    offset 0xCC in segment part 0, segment INTVEC

    What: Undefined_Handler - ($ + 8) [0xDFFFFFA4]

    Allowed range: 0xFDFFFFFC - 0x2000000

    Operand: Undefined_Handler [0x20000078]

    in module 71x_it (D:\Firmware\FW_L000100(WaMa)Download\Debug\Obj\71x_it.r79),

    Offset 0x0 in segment part 5, segment CODE

    Any suggestions?

    Thanks!

    Bye

    [ This message was edited by: Moe on 10-04-2006 10:18 ]

    ________________

    Attachments :

    FW_L000100_WaMa_Download.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtRA&d=%2Fa%2F0X0000000aQ0%2FFpFhlxCWzX4.fhMXB2sLnJvnP0bCD_qSXmhoMpb3L3A&asPdf=false
    Visitor II
    April 18, 2006
    Posted on April 18, 2006 at 08:07

    Hi,

    thanks for your help! I have still a problem with irqs. When I start the FLASH_WordWrite and an irq happens, LR-Register is overwritten. When I run it in debug mode, it runs fine. As a work around I disable the irq during the flash write.

    Do you have any idea, why the LR-Register is overwritten?

    The new version is at:

    http://mcu.st.com/mcu/forums-cat-3946-17.html

    Regards

    Moe

    [ This message was edited by: Moe on 18-04-2006 11:42 ]

    Visitor II
    June 19, 2006
    Posted on June 19, 2006 at 10:48

    Hi

    I am about to start work on a simila project, i was wondering if you could give any examples or tips of things that you had problems with. Also did you use VCP drivers? what descriptors did you use for the USB.

    Thanks

    Visitor II
    June 23, 2006
    Posted on June 23, 2006 at 08:24

    Hi Moe,

    Did you resolve IAP with USB.

    If you have, do you have sample code that I could use

    for my project.

    What gui did you use on PC side ?

    Thanks,

    Mik

    Visitor II
    June 29, 2006
    Posted on June 29, 2006 at 11:11

    We have released a new ''USB Developer Kit for STR7'' beta1 that supports all USB transfer types:

    - Interrupt transfers with HID Mouse/Joystick Demo

    - Bulk transfers with Mass storage Demo

    - Isochronous transfers with Voice Speaker Demo

    On top of this, it provides an implementation of DFU for Firmware update using USB.

    Please find the zip file in the following link:

    http://mcu.st.com/mcu/modules.php?mop=modload&name=Splatt_Forums&file=viewtopic&topic=4263&forum=12