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.

Boot from Flash Problem LAUNCHXL-F28069M

Other Parts Discussed in Thread: MOTORWARE, LAUNCHXL-F28069M, DRV8301, BOOSTXL-DRV8301, LAUNCHXL-F28027F

Hi -

I am running Motorware_1_01_00_16; CCS 6.1.2.00015; and am using the LAUNCHXL-F28069M with the BOOSTXL DRV8301_REVB inverter.  I am supplying power to the inverter using a 12V, 10A power supply and am driving a small BLDC blower.

JP 1 & 2 are removed; JP3, 6, & 7 are ON; and JP4 & 5 are ON.

I am trying to run the system from FLASH without success.

Setup 1: I can run the system from RAM (using the 28069_RAM_lnk.cmd file) with S1 set to ON,ON, ON and build configuration set to Release.

Setup 2: I can also compile and run the system from FLASH (using the F28069.cmd file) with S1 set to ON, ON, and ON and the build configuration set to Flash.

Setup 3: If I kill power to setup 2, take S1 to OFF (TRST = 0), ON, ON, and then reapply power, the system stops working correctly.  The power LEDs are all on, as are D9 and D10.  But the program is not running (or doing what I want it to do).

The only clue I have is in Setup 2.  If I leave EMU BMODE at its default value and press the RESET button (on the board), the system stops working.  BUT when I change the EMU BMODE value to EMU_BOOT_FLASH (via Scripts->EMU Boot Mode Select) and press the RESET button the system responds correctly (with or without the debugger cable attached).

I have looked at the OTP KEY (0x3D7BFB) and OTP BMODE (0x3D7BFE) and both are 0xFFFF.

I know I have to be missing something.  Any help would be appreciated.

Thanks!

Brett

The setup works fine when I configure

Everything works well when connected to the debugger.

  • OK. I got the system to boot from FLASH when not connected to USB power BUT I had to jumper JP1 and JP2. This seems to cross connect 3.3VDC from the BOOSTXL-DRV8301 to the 3.3VDC supplied from the LAUNCHXL-F28069M. Since this works my problem is solved but I am curious if this is intended? And if there will be issues if I now connect USB?

    Thanks!

    Brett
  • Hi Brett,

    Can you confirm TRSTn is pulled low via voltmeter, when the system is set up as described in your original post (and the TRSTn switch is OFF)?

    Maybe the switch isn't mechanically working correctly?

    [note that if the USB (input) side of the isolator chips is unpowered, but the C2000 (output) side is powered, the isolator will drive all signal outputs HIGH]


    Thank you,
    Brett

  • Hey Brett -  thanks for responding.  Here is what I got:

    Position 1 on S1 (TRSTn) measured 0.3 ohms when in ON position and about 4.7kohm when in OFF position.  The voltage from the OFF side of position 1 to GND was about 0.3VDC when in the OFF position.

    I also tested to see if the system would boot while TRSTn was in the OFF position while JP1 and 2 were installed.  It did not. It booted fine (without USB attached) once I put TRSTn back in the ON position.

    I also tested a LAUNCHXL-F28027F and saw similar results.  This board is from the factory programed.  When I install the BOOSTXL-DRV8301, it boots to flash (with USB cable disconnected) only when TRSTn is in the ON position and JP1 and JP2 are installed.

    Brett

  • Brett N,

    For the F28069M launchPAD situation:
    Let's take the situation where S1.TRSTn is OFF, JP1 is unjumpered and JP2 is unjumpered.  What happens if, after power up, you force a quick reset using the S2 reset button (in order to remove the possibility of transient power-up conditions occurring)? 

    For the F28027F launchPAD situation:
    Is S4 in the OFF position during your test?



    Thank you,
    Brett

  • Hey Brett L. - With S1.TRSTn OFF and JP1 and JP2 unjumpered: on power up the system is unresponsive; if I momentary press the S2 reset button I get no response (I have 2 ISRs running that should toggle D9 and D10).  I also get no response if I hold for a couple seconds, etc.

    S2 reset works fine if S1.TRSTn is ON and JP1 and JP2 are connected.

    For the F28027F, yes S4 is in the OFF position.

    Thank you for your help and sorry for being so slow to respond.

    Brett

  • Brett L. - sorry. Cockpit error on my part. With S1, position 3 in OFF, the board boots from FLASH with JP1 and JP2 disconnected. For some reason I thought S1, position 1 was the TRSTn switch.

    Thank you for your patience and help. Have a great day.

    Brett
  • Brett N,

    I'm glad that things are now working.  I suspected what you mentioned might have been a possibility - and in hindsight probably should have mentioned it. :(

    Good that you were able to find it though.


    Thank you,
    Brett L