Hello,
My application code currently does all the processor initialization at start-up, for a C6746, including PLL and mDDR. However, it was recommended that this be done instead by the HexAIS utility, particucularly the PLL and mDDR, when running the code out of flash. I'm looking for some pointers on how to do that, including initially explaining why it is preferred to just doing the initialization in the application code. Brad Griffis has indicated (in a different thread) "When you migrate to a stand-alone application, that setup should be handled as part of the AIS headers (i.e. by the ROM code). Structuring your code in this way allows you to link/load code and data directly into DDR. Otherwise, you end up with sections like .cinit which get used only one time ever (i.e. before main) taking up precious internal RAM." I don't quite understand that, and was hoping initially for more of an explanation, and then to get help with some of the HexAIS settings in the flash .ini file.
Also, is it beneficial to do just the PLL and mDDR via HexAIS, or additional components of the processor setup and initialization? My preference is the independence of the application method, because it's already done ;), but also that the initialization occurs without assistance from other tools, and under any conditions. But I'd go the HexAIS route, if knowing there was some payback, either non-trivial memory usage savings, or otherwise.
Robert