Hello,
I am willing to program CPU2 Flash using CPU1. Is it possible? and if yes, how it can be implemented?
Thanks,
Pratap Chape
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I am willing to program CPU2 Flash using CPU1. Is it possible? and if yes, how it can be implemented?
Thanks,
Pratap Chape
Hi Pratap,
CPU2 Flash can not be programmed by CPU1. What you can do is download the Flash API code in shared RAM via CPU1 and give Shared RAM access to CPU2 so that CPU2 can execute that code to program/erase it's Flash.
Regards,
Vivek Singh
Hi Vivek,
Thanks for the information.
I have few more queries on downloading API code in shared RAM and to give access to CPU2.
1. Flash1 will have Flash2 driver code and CPU1 will put same in shared RAM.
2. Flash2 will be empty and there will not be single byte of code. Meaning is CPU2 will not have any code in its scope except shared RAM.
3. App hex to be programmed on Flash2 will be received by CPU1 via CAN.
Considering above given scenario, please suggest all the possible ways to program Flash2 with the help of CPU1 and CPU2.
Thanks,
Pratap Chape
John Deere India.
Hi Pratap,
I am marking our flash expert and flash programming tool expert to have a look into your request.
Regards,
Vivek Singh
Sal,
Is sci_flash_kernels the only way to program CPU2 flash through CPU1?
I have my Secondary Boot Block on CPU1 flash and it's able to program App on CPU1 only. We are using our own CAN based PC tools and hardware for same. Secondary BB communicates with PC tools through CAN interface.
Now, the case is I want to add CPU2 flash driver in same Boot block and to program CPU2 flash. For this I was thinking that CPU2 flash driver will be placed in shared RAM(i.e. GSxRAM) and then control will be given to CPU2 to call those driver APIs. Is it possible? If yes then please provide all the details regarding this. Is it possible that Kernel commands can be used by CPU1 to program CPU2 flash?
Thanks,
Pratap Chape