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.

F2802x ControlCARD SCI bootloader problem

Other Parts Discussed in Thread: CONTROLSUITE

Hi!

I'm having problems loading code to RAM using the serial port. The microcontroller on the ControlCARD is F28027FPTT.

The controller echoes the characters sent from RealTerm, so the connection surely is not the problem.

Here's what I'm trying to do:

1. Compile the code using CCS  6.0.1.00040

2. Convert the .out to hex-file using the hex2000 utility command: hex2000 -boot -sci8 -a program.out

3. Open up RealTerm and send 'A' character, and the controller echoes it back

4. Send the hex-file, controller echoes every character with no errors

I've tried this also with F2806x ISO ControlCARD which has the F28069MPZT chip, and so far nothing seems to be working.

I'm probably missing something very obvious.

Thanks in advance.

  • Hi,

    So it sounds like everything is working. You never really mentioned the symptom that makes you think it isn't working.  Is the problem just that the code doesn't execute after it completes (i.e. your LED doesn't blink)?

    Are you sure the file you are trying to load has been linked so that it is located in RAM?

    Have you tried loading the boot ROM source from controlSUITE and debugging the load process?  This should give you an idea of what isn't working.

    BR,

  • Hi and thanks for your answer.

    Yes, the problem is that the code is not executing when loaded with SCI. The code I'm trying to load is a simple template project (FlashingLeds) from ControlSuite, which works fine with the debugger.

    Are the hex2000 commands correct?

    I attached the linker file I'm using, this is for the F28069, as I can test the code with this card more easily.The header linker file I'm using is F2806x_Headers_BIOS.cmd.

    I will try to debug the boot code next.

    Thanks again.

    4111.Ram_link.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    /*
    // TI File $Revision: /main/3 $
    // Checkin $Date: March 3, 2011 13:45:43 $
    //###########################################################################
    //
    // FILE: 28069_RAM_lnk.cmd
    //
    // TITLE: Linker Command File For F28069 examples that run out of RAM
    //
    // This ONLY includes all SARAM blocks on the F28069 device.
    // This does not include flash or OTP.
    //
    // Keep in mind that L0,L1,L2,L3 and L4 are protected by the code
    // security module.
    //
    // What this means is in most cases you will want to move to
    // another memory map file which has more memory defined.
    //
    //###########################################################################
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hrmmm....

    hex2000 args look good....so does your linker file.

    I think your best bet it to try debugging the boot code to see whats going wrong.

    BR,

  • Hi user,

    You can try with the following .a00 file if it helps.  Technically this output file is for the F28035, but it doesn't do much, so it works fine on the F28069. 

    I just tried bootloading it via SCI on my F28069 cCARD and after booting an LED flashes as expected. 

    Thank you,
    Brett

    FlashingLeds_F28035.a00