Products > FMC Products

FMC667: Using FMC flash prog to program Nor flash

<< < (2/2)

arnaudNL:



Dear Peter,


Creating a SPI boot programming file for TMS320C6678 is covered by TI, you have examples in the MCSDK from TI and this has nothing to do with the FMC667 itself nor being FMC667 specific. It is about creating a SPI boot programming file for a TI DSP, the TMS320C6678; We have been through these manual steps hundred times and then we decided to design a tool able to help 4DSP customers to create programming files as a courtesy but the source code is not disclosed and no further documentation is to be expected besides how to use the tool and this is covered by the documentation already.


The documentation you are looking for is a TI documentation, well a set of documentation. That would be between the main data sheet, the boot loader datasheet and the e2e forum.


Best Regards,
Arnaud

















Peter77:
Hi Arnaud,
 
I had followed the instructions to create a dat file from the fmcwebuart program with the tools provided in the bsp and had written the dat file to nor flash with the flash writer. However, the program failed to start upon powerup with the correct bootmode selected. The hardware is working as the fmcwebuart program is able to boot up and run when I flashed the nor flash using the fmcwebuart dat file in the ready folder of the bsp. Please help to see what could have gone wrong during the process. If possible, can you provide a working and tested fmcwebuart project that could be used to boot from nor flash directly for troubleshooting?
 
Thanks!

arnaudNL:
Dear Peter,


The project I used is the project installed along with the BSP but it is difficult to get right because there are a lot of difficulties in finding ccs/sysbios/ntk version which are compatible, etc.. Maybe you want to try to verify if your webuart works when loaded using CCS first, if that does not work it wont work from flash anyway.


The only thing I can tell you is the steps I would be taking to get going:


1) I would first create/use a software setting the PLL to a given frequency, use CCS to run this code and measure SYSCLK pad on the FMC667 to verify if that works as per the expectations. I would of course target L2 memory first because this does not require memory controller settings. (modified FMC667Pll800Mhz)
2) Then I would convert that known working project to a dat file and program this in the flash, I would power cycle the board and check for SYSCLK pad on the FMC667 to verify the SPI boot actually worked.
3) Then I would modify the software made one 1) to boot from DDR3 and not L2 anymore, again verifying that works using CCS upload. (That's the default FMC667Pll800Mhz, by default link on to DDR3)
4) Then I would convert that into a dat file, making sure to check the enable DDR3 configuration checkbox in the dat creator because without this your DDR3 memory is not going to work and your code will fail.
5) Then I would try to get the webuart project to compile, upload that using CCS verify if that works or not.
6) I would then convert that one to a .dat file and try to program.


If you have this as a requirement, we can provide you with a project for your target CCS version but you should discuss that with my colleagues from the sales department.


Best Regards,
Arnaud





Peter77:
Hi Arnaud,
 
I had built and flashed the fmcwebuart into nor flash. The card is able to power up successfully. Thanks for the help!
 
Thanks

arnaudNL:
This topic is being closed because the issue is considered as resolved by 4DSP. Feel free to create a new topic for any further inquiries.

Navigation

[0] Message Index

[*] Previous page

Go to full version