Hi:
How do I implement FLASH read, write, and erase?
I read datasheet. Is the address code downloaded to FLASH 0X01000000-0X01FFFFFF?
if i want to do CAN bootloadr, I wrote the application layer in Simulink,How to change the interrupt vector?
Hello,
On our web site there is complete flash SSD driver for MPC5744P.
http://www.nxp.com/downloads/en/device-drivers/C55_JDP_SSD.exe
Documentation is attached to driver.
After reading it you should have no issues to work with flash.
Peter
Hi Peter,
About SSD driver, Could you give me a demo project (S32DS, MPC5746R), many thanks.
Hi Peter,
Good Morning.
I'm importing the code from CCW to S32DS. As I'm using the SSD drivers of CCW, Can I use the same source and headers in S32Ds also, as I doubt the compiler is different now.
Also, there is one confusion. I had a few folders which one to be used in the below folders for CW, Diab & GHS?
Also, it includes subfolders.
C:\Program Files (x86)\Freescale\Standard Software Driver v1.0.3\xPC56xx_C90LC\Driver\XX\vle
C:\Program Files (x86)\Freescale\Standard Software Driver v1.0.3\xPC56xx_C90LC\Driver\XX\BookE
Should I go for vle or BookE
Kindly help in choosing the right folder for using these drivers in S32DS.
Thanks in advance,
Raju
look this program:
why the C55FMC.LOCK0.R = 0X00000200 is unlock mid block 0x00FB_8000 - 0x00FB_FFFF?
datasheet no any information.
Peter:
i have already see the Documentation,but i still unknow about Flash block select .
like:
Hi:
Can you give me the read, write and erase FLASH for reference?
http://www.nxp.com/downloads/en/device-drivers/C55_JDP_SSD.exe
Download and extract, there are C55 FLASH manual and demo.
The following is the interrupt vector table sections.ld file.
.intc_vector_table : ALIGN(4096)
{
*(.intc_vector_table)
} > m_text
You can add an interrupt vector table to the code that links to the flash
Const uint32_t __attribute __ ((section (". Intc_vector_table"))) IntcIsrVectorTable [] = {};
You can then operate on the register.
// Initialize the core IVPR
Xcptn_xmpl ();
// Select software (HVEN = 0) or hardware (HVEN = 1) vector mode
INTC_0.BCR.R = 0x00000000;
// Set the INTC ISR vector table base address.
INTC_0.IACKR0.R = (uint32_t) & IntcIsrVectorTable [0];
These files, the new project will automatically generate this code.
Hi kun:
thank you for your reaply.
Can you provide examples of your C code about flash erase and write to me?
For MPC5744P, I'm a beginner,I read the API you gave me, I don't know very well.
thank you very much,
I am a beginner,Can you send the c code to me,thank you very much. 757661410@qq.com
Hi Liu Kun,
I also need the c code examples, could you send it to me? Many thanks.
my mail: liushiquan@sh-henergy.com
Hi Kun Liu,
I have read this thread and it will be very helpful if you mail me that c code examples as I am also in need of one.
my email address: ananda21.bhavani@gmail.com