TMS320F28035 bootloading to SD card

  • Thread starter Thread starter haxor489
  • Start date Start date
  • Tags Tags
    sd
haxor489
Messages
25
Reaction score
0
I'm using a TMS320F28035 (TI -piccolo series) microcontroller and it came to my attention that the chip only has about 128KB of flash memory and the binaries for my main program are easily 150KB or larger. So that's where my SD dilemma comes in. The documentation (section 2.1)

http://www.ti.com/lit/ug/sprugo0a/sprugo0a.pdf

shows that it has bootloading software that only needs the TRST line to be low and then specify the bootmode using 2 GPIO pins, I'd be using "GetMode" (section 3.3.9)

http://www.ti.com/lit/ds/sprs584i/sprs584i.pdf

By default Get Mode goes to flash but I can specify the SD interface, one of the serial interfaces I can't remember at the moment probably SPI, by setting the OTP values (OTP_KEY, OTP_BMODE) appropriately. Their locations are given and values necessary as well for the desired bootmode.


My Questions:


1 - The lines that state that "the boot ROM will load code and data into on-chip memory from an external... " makes me think that it simply loads everything it can fit onto flash memory which isn't the entire program. Am I wrong in my assumption if is it possible to run the program from the SD card or does it have to fit in the flash?

2 - In order to set the OTP values, do I have to write a program and load that into the flash and run it to make those changes and will they stick on the next reset ?

3 - Does the program have to be formatted in a special format or can I simply take the binaries generated from Code Composer Studio and drop that onto the SD?

Thanks for any help you can provide
 
Engineering news on Phys.org
Turns out running the program from the SD is incredibly difficult, but luckily CCS's output file .out under the binaries folder isn't the actual program size.
 

Similar threads

Replies
4
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
29
Views
6K
  • · Replies 3 ·
Replies
3
Views
4K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
9K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 23 ·
Replies
23
Views
4K