Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 223946

Forum Post: TMS570LS0914: F021 API on TMS570LS0914PGE

$
0
0
Part Number: TMS570LS0914 Tool/software: Hi all, I am trying to use the F021 api on a TMS570LS0914PGE, but I am having trouble with it. After the system has been intialized, I call: Fapi_StatusType status = Fapi_initializeFlashBanks(HCLK_FREQ); status = Fapi_setActiveFlashBank((Fapi_FlashBankType)Fapi_FlashBank0); Fapi_setActiveFlashBank() causes a undefined instruction exception. In CCS 12 I included these F021 files: - F021_API_CortexR4_BE_V3D16.lib // Flash Module Controller, Big Endian, FPU - CGT.CCS.h - Registers_FMC_BE.h Following note from the F021 guide (chapter 3.3.4) confuses me a little: NOTE: The F021 Flash API library cannot be executed from the same bank as the active bank selected for the API commands to operate on. On single bank devices, the F021 Flash API must be executed from RAM. Is that the problem? I would't know what to do about it. Regards, Juergen

Viewing all articles
Browse latest Browse all 223946

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>