1415 views|0 replies

3836

Posts

19

Resources
The OP
 

Several explanations on LF2407A FLASH programming issues [Copy link]

TI's latest tool for writing FLASH to LF24x is c2000flashprogsw_v112. It can support LF2407, LF2407a, LF2401 and related LF240x series. It is recommended to use this version. You can download this tool at http://focus.ti.com/docs/tool/toolfolder.jhtml?PartNumber=C24XSOFTWARE. The CD that comes with our emulator also has this burning program. When using this tool, please note:
1. Unzip first, then execute setup.exe.
2. Enter cc, and there is a burning tool under the tools icon;
1. Regarding the selection of FLASH clock, this burning tool defaults to the highest frequency for FLASH operation. Re-set the PLL according to the working main frequency of the target system. Method: First modify the frequency multiplier in the View Config file under advance options. After saving, run buildall.bat in the corresponding directory (tic2xx\algos\ corresponding directory) to complete the modification. Then perform the corresponding operation.
2. If the frequency you selected is not the highest frequency, you also need to set your own timings.xx to replace the system default highest frequency timings.xx. For example, the default file of LF2407a is timings.40. Timings.xx can be generated using the Excel worksheet include\timings.xls. Then modify the corresponding position in View Config file under advance options. After saving, run buildall.bat in the corresponding directory to complete the modification.
3. For the TMS320LF240XA series, please also note: Since the FLASH of these DSPs has an encryption function, the encryption address is 0x40-0X43H of the program space. The program is prohibited from writing to this space. If it is written, the data in this space is considered to be an encryption bit. After power failure, it enters the protection FLASH state, making the FLASH unable to be re-operated, thereby making the DSP scrapped. After burning, you must perform the Program passwords operation. If you do not perform the encryption operation, the data written to the encryption bit for the last time will be used as the password by default.
4. 2407A cannot be burned with the burning software under DOS, and must be burned with c2000flashprogsw_v112 software;
5. The following suggestions are made:
1) When debugging in general, it is done in RAM;
2) When burning the program, avoid the encryption area of the program space 0x40-0x43H, and the program should be less than 32k;
3) After each program is burned, enter your own password in word0, word1, word2, and word3 respectively, and then click Program password. If the encryption is successful, it will prompt Program is arrayed. If ffff is written in 0x40-0x43h, it is considered to be in debugging state, and the flash will not be encrypted;
4) After power failure, the next time you burn again, you need to enter the set password in word0~word3, and then unlock. After success, you can burn again;
6. The VCPP pin should be connected to +5V directly, and no resistor should be added in the middle.
7. For specific matters, please read the readme1 and readme2 help files in the corresponding directory.
8. Note that when writing *.cmd files, you should avoid units 40-43H. Many customers encrypt FALSH because they do not pay attention to this.

This post is from DSP and ARM Processors
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list