Tool/software: Code Composer Studio
Hi,
I am programming a flash interface using the Flash API 021 library in order to write/read to memory! I created a simple project with CCS Version: 7.2.0.00013 in order to develop this flash interface and then add this to a much larger project. The problem is that this flash interface was working before, but now it raises an interrupt when using Fapi_initializeFlashBanks.
I am calling this function the following way:
uint32_t HCLK = 150;
Fapi_FlashBankType test;
/////* Initializing Banks, bank selection and sector enable! */////
oReturnCheck = Fapi_initializeFlashBanks(HCLK); /* Operating frequency of 150 MHz */
The interrupt raised when calling this function is the following:
dataEntry
b dataEntry
b phantomInterrupt
ldr pc,[pc,#-0x1b0]
ldr pc,[pc,#-0x1b0]
I think I only changed the linker file from the version that is working and the non-working version, but I do not remember exactly what.
I attach the linker file I am using. Could someone help me with this issue?
Ferran.