This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Build with optimization does not work with DFU

Hi, I'm using IAR ARM Embedded Workbench (v7.20) to build my Nordic applications. Recently I enabled optimizations (in Project Options: C/C++ Compiler:Optimizations: Level-High-Size). However, when I try to DFU this build it always fails. DFU-ing it works fine when I build my application with optimizations set to None. My guess is that there is a struct or some other data object that is getting optimized that needs to exist at a specific memory location for the DFU to work, but I'm not really sure. Any ideas on why DFU would fail with optimizations turned on? thanks! akbar

Parents
  • This is what I'm doing step by step:

    1. Open nrf Toolbox v1.9.1 on an Android Device running 4.4.4

    2. In DFU-> Select File->DropBox->select application.hex file

    3. Select Device-> Choose DfuTarg

    4. Upload -> Says: Connecting...->Starting DFU...->Update Failed: Remote DFU Not Supported (3)

    -akbar

Reply
  • This is what I'm doing step by step:

    1. Open nrf Toolbox v1.9.1 on an Android Device running 4.4.4

    2. In DFU-> Select File->DropBox->select application.hex file

    3. Select Device-> Choose DfuTarg

    4. Upload -> Says: Connecting...->Starting DFU...->Update Failed: Remote DFU Not Supported (3)

    -akbar

Children
No Data
Related