Other Parts Discussed in Thread: TMS320F2809
I have an application which works in RAM but when I program FLASH is does not completely work.
Here is a description of what I mean by working vs. not working. When I run in RAM all functionality works, when I run in FLASH all functionality works with the exception of a USB Port.
I am using the following communication:
- SCI to communicate via a RS-422 interface
- SPI to communicate via a USB interface. The DSP talks to a MAX3420E (USB Peripheral Controller with SPI Interface). The DSP initializes the chip and handles the USB host enumeration
I am loading my code in FLASH but running some if it in RAM. When I run from RAM the USB is recognized, if I immediately change my cmd file, recompile, load FLASH and run the USB is recognized - once I cycle power the USB is not recognized. If I reconnect, reload FLASH and run the USB is still not recognized. THIS IS A CLUE BUT I DON'T KNOW WHAT IT MEANS.
Here is a list of what I have done so far:
- verified the USB chip is initialized (did this by reading back the initialization registers)
- verified I am getting an interrupt request from the USB chip
- changed the SPI clock rate
My target is a TMS320F2809 on custom hardware. I am using a Blackhawk USB510L emulator and running CCS Version 5.2.1.00018.
I have attached a copy of the RAM and FLASH cmd and map files.