This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Piccolo USB bootloader example does not get to main

Other Parts Discussed in Thread: CONTROLSUITE

Hello.

I want to build and use th USB bootloader functionality and thought I would first build and execute the example in ControlSuite.  I can build it but when I try and run, it crashes (jumps somewhere where there is no code) before it gets to main.  I have tried setting the target configuration to break at _code_start_n in F2806x_CodeStartBranch.asm with minimal success.  The emulator seems to even have issues when programming  bootloader.out.    I have other projects that work fine but this one can't even get to main.

I notice the example uses rts2800_bl.lib as opposed to my other projects that use a different library (rts2800_fpu.lib) for example.  I've even rebuilt the rts2800_bl.lib library thinking it might be corrupt but I get the same results.  Is there something I am missing in the build of this example?

Thanks for any help.

Tom

  • I found  a checkbox on the Properties->CCS General (in the middle of the page) labeled 'Manage the projects target-configuration automatically'.  I checked it because I had other projects that worked with it checked.  After that, the emulator behaves much better and the code now runs as expected.  What exactly is this button doing?  Or did it cause some other setting to be corrected under the hood?

    Tom