We need to use the 64K bank 7 eeprom emulation flash on the RM48L952 for data and parameter storage.
Is there any example to show how this can be done?
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.
We need to use the 64K bank 7 eeprom emulation flash on the RM48L952 for data and parameter storage.
Is there any example to show how this can be done?
Hi Vaidyanathan,
The EEPROM Emulation bank, bank 7, is a standard Flash Bank and can be used the same way bank 0/1 are used. It is considered an EEPROM Emulation Bank due to it supporting a larger number of wrtie/erase cycles than banks 0 and 1 support. The F021 Flash API, the latest version of which is installed when HALCoGen v3.05.02 is installed, contains documentation that shows its usage. The F021 Advanced Usage application note is one of these, and contains some examples for programming data to the Flash.
Hi John,
sorry for the delayed (2 months...) - I had to get the POC going so I added a SPI Flash and got it done. In fact I tried MicroSD card and it did not work and hence shifted to the flash.
However, I am back to the main project now and as per your advice, installed the latest Halcogen - unfortunately the examples are available only for the 570 and other devices and not for RM48L952! In fact, the FEE driver is not listed at all when we start a project with RM48L952.
Is there any example which we can use? I am reluctant to try out with direct raw code since I am not sure if I will somehow write something after which the device will not boot or respond. This has happened to me when I was trying to reduce the SPI speed - after one trial, the device just went dead. I had to use a different board!
Hope to get the issue fixed quickly.
Hi Vaidyanathan,
I am forwarding your post to our FEE expert to see if he has any RM48 FEE examples. I would say I would expect the TMS570 FEE code to work directly on the RM48, but I am not sure if there is some endian sensitive code in that driver.
Hi Vaidyanathan,
Current FEE driver does not officially support RM devices. However, you can generate FEE driver for TMS570LS3137 device and use those files with correct F021 library on RM devices. Since the FEE address map is same for both devices, the FEE driver of TMS3137 will work on RM48X devices.(I have verified it on RM48L950)
Official support of FEE for RM devices is expected by July 2014.
Regards,
Vishwanath Reddy.
If my reply answers your question please click on the green button "Verify Answer"
Hi Vishwanath,
I will give it a try, however, I need to be sure that this code will not brick the device such that it is unusable. How can I ensure that this does not happen?
Regards
Vaidi.
Hi Vaidyanathan,
I have attached an example project. After flashing the software, power ON/OFF is required ( This is just to make sure the Flash algorithms used by CCS / other flashing tool is reset before actually you start using the Flash API directly in the code).
Regards,
Vishwanath Reddy.
If my reply answers your question please click on the green button "Verify Answer"
Dear Vishwanath,
I am unable to import this project into my CCS.
I do Projects->import existing eclipse projects->browse to location it shows this project but when I try to import it, it says
See details below.
Error: Import failed for project 'TFEE_950Example' because its compiler definition is not available. Please install the ARMv5.1 compiler before importing this project.
How can I find out which Arm Compiler version I am using?
Regards,
Vaidi.
Hi Vaidyanathan,
This happens because the project is compiled with v5.1.1
You can install arm_v5.1.1 compiler or you can let me know the compiler versions you have(You can find compiler versions @ C:\ti\ccsv5\tools\compiler). I can compile with the version you have and upload the example project.
Regards,
Vishwanath Reddy.
Vishwanath,
I am using arm compiler v5.0.1. Please send me the project with v5.0.1.
Also, where can I get v5.1.1 - if my current projects will not be affected, I can try that later.
Vaidi.
Hi Vaidyanathan,
Attached is the example project compiled with v5.0.1. After flashing the software, power ON/OFF is required ( This is just to make sure the Flash algorithms used by CCS / other flashing tool is reset before actually you start using the Flash API directly in the code).
For updating compiler, in CCS, goto help->check for updates.
Regards,
Vishwanath Reddy.
If my reply answers your question please click on the green button "Verify Answer"
Dear Vishwanath,
I am sorry but this new project you have sent is also giving me the same error.
In the meanwhile, I tried updating through the check update feature in CCS. It did show as if it was updating, but still the compiler version is 5.0.1 only. Moreover, if I try to update again, the list does not show the Arm Compiler 5.1.1 at all in my update list.
I tried to do the Hercules emulation install separately, it says it cannot install since there is dependency error. What is this error and how can I get Hercules emulation also?
Vaidi.
Hello Vaidi,
CCS does not consider 5.1.x as an update to 5.0.x versions. To get 5.1.1 you need to use the install new software option. If you select Code Generation Tools Updates - http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2win32 as the site to check, you will limit it to listing only the compilers to install.
HI John,
Just checked teh Code generation tools updates setting on my laptop - it is the same as what you have mentioned. When I ran check for updates again, this is all I got:
What to do to get the arm compiler version that Vishwanath has sent me the project for?
Vaidi.
HI John,
did it and got new version installed.But now my CCS installation seems to be broken. When I started CCS, I got this:
I restarted my PC and checked, result is the same. Now I am in a bigger mess and hence SOS! to help me get my CCS up again without reinstallation.
Vaidi,
That was not the error I was expecting to see. I am going to have to kick this over to the CCS team to work on this issue.
The best I could say to do for now would be to do another install of CCS and/or try a new workspace. You can have multiple installs of CCS.
Hi Vaidi,
Can you attach your install logs here? You can zip up the contents of c:\program files\installjammer registry\ccsv5 (program files (x86) if you're using a 64 bit machine). Please note, the installjammer registry folder is hidden.
thanks
Danish
Vaidi,
Could you also list the contents of the eclipse/downloads folder?
thanks
Danish
Danish,
I am sorry, but I have completely deleted the failed installation files manually - I had to do this to install CCS afresh since otherwise installation was failing.
If you can plan to support me tomorrow (18 Oct 2013) I can attempt to upgrade to arm compiler 4.1 and we can resolve it. However, I have to have working installation again the day after. Please confirm, then I will schedule for a few hours tomorrow.
Vaidi.