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.

Question regarding TMS320x2802x Piccolo Bootloader

Hello everyone,

I am currently trying to develop a bootloader to re-program a TMS320F28027FPT with another microcontroller via the SCI-A interface.

I downloaded http://www.ti.com/lit/ug/sprufn6a/sprufn6a.pdf and started to implement everything I need. While reading the explanation of the "CopyData" function I started to wonder if that's the thing I really need.

As for my understanding the build in bootloader only copies my datastream to the SARAM and not to the flash. Is that correct?

If that's the case are there any libraries available to achieve that? All I want to do is update a slightly modified Lab-Program from Motorware to the controller once it is in the field. So obviously the code is compiled and linked to run from flash.

So what exactly do I have to do, to achieve my requirements?

BR,

Patrick

  • Hi Patrick,

    You're gonna love this...

    I've got a turn key solution for you that I've been working on!  It should be released as an app note in late August.  Basically I wrote a PC application that loads a special flash kernel into RAM and then downloads your application and programs it into flash using the flash kernel.  The whole solution is about 100kB big and will work on both blank and programmed parts as long as they are in the SCI boot mode.

    I'd rather not post it on the forum.  I'll get your email address from Chris and send it to you along with a draft of the app note.

    BR,

  • Hello Trey,

    that - indeed - sounds lovely. That's probably the things I came up with what I would have to implement on my own to realise my requirements.

    The only thing is that I have to port the PC application to a controller based application because in my setup I have a little Cortex-M3 controller which receives the update data and then distributes it to several Piccolos via SCI boot.

    I'm highly looking forward to it!

    BR,

  • The PC side code is trivial.  It reads characters from a file and spits them out the UART...nothing more.  Should be easy to port to an embedded platform.

    Chris doesn't have your email address.  Can you friend me on e2e and send me a DM with your email?

    BR,

  • So send a request, but I'm not able to message you directly yet. Probably after your acceptance.

    Thanks so far!

    BR,

  • Try now...just accepted.