|
Hello, I am using code composer NT for writing code, compiling and downloading the compiled code on my C62x EVM board. Writing and compiling code works fine, but I have serious problems loading the compiled program (also the included demo programs!) on the EVM. While loading the program, I sometimes get the error message "TROUBLE WRITING TARGET DSP MEMORY; ERROR NUMBER -1206; ERROR ADDRESS 1125C". Sometimes, the error message "CANT REMOVE BREAKPOINT; ERROR NUMBER -2044; ERROR ADDRESS 1125C" appears. The evm6xrst and evm6xtst (tried all additional options) indicate that the board is visible and OK. I tried other computers and other EVMC62 boards but the same errors occurred. Strange enough, these error messages did not appear last week and my system worked fine (as is should be)! BUT I had to close code composer...and...after opening code composer, the same problems are appearing! I can't work on a platform like that! Is there someone out there with the same problems or with a (any) suggestion? Thanks a lot! Bjorn Windows NT4.0 (administrator) Code composer release 4.0/2.01 Code generation tools 1.93 EVM C62 |
|
|
|
Hi Bjorn, Have you adjusted your INIT.GEL file to account for the EMIF registers? The EMIF registers need to be initialized (see EVM 6x Technical Reference) to account for the SBSRAM and the SDRAM. They normally come up right on initialization, but if you "Reset DSP" from the Debug menu, they revert to the CPU default state which does not account for the external RAM. You need to create your own reset routine, or adjust it in your .GEL file. There should be a commented example of how to do that in your default INIT.GEL. Good Luck - Tim At 08:19 AM 5/27/99 -0000, wrote: >Hello, > >I am using code composer NT for writing code, compiling and downloading the compiled code on my C62x EVM board. Writing and compiling code works fine, but I have serious problems loading the compiled program (also the included demo programs!) on the EVM. While loading the program, I sometimes get the error message "TROUBLE WRITING TARGET DSP MEMORY; ERROR NUMBER -1206; ERROR ADDRESS 1125C". Sometimes, the error message "CANT REMOVE BREAKPOINT; ERROR NUMBER -2044; ERROR ADDRESS 1125C" appears. The evm6xrst and evm6xtst (tried all additional options) indicate that the board is visible and OK. I tried other computers and other EVMC62 boards but the same errors occurred. Strange enough, these error messages did not appear last week and my system worked fine (as is should be)! BUT I had to close code composer...and...after opening code composer, the same problems are appearing! I can't work on a platform like that! Is there someone out there with the same problems or with a (any) suggestion? >Thanks a lot! >Bjorn > >Windows NT4.0 (administrator) >Code composer release 4.0/2.01 >Code generation tools 1.93 >EVM C62 > ------------------------------------------------------------------------ eGroups.com home: http://www.egroups.com/group/code-comp http://www.egroups.com - Simplifying group communications |
|
Bjorn, I had similar problems when I started up with this environment. It took me a while to find out that the main cause was that I did not initialize the board properly before loading the code. TI provides an initialization file called "evminit.gel". You should find this file on the installation CDROM or maybe it is already installed on your hard disk. In my case, this file was not installed when I installed Code Composer and I had to copy it from the CD-ROM to the Code Composer BIN directory. To execute this GEL each time you start Code Composer, you need to specify the name of this GEL file at the end of the command line which startup Code Composer (you can do that by modifying the properties of the shortcut you use to start Code Composer). To make sure that the board is initialized properly everytime I reload the code, I created a GEL file that I execute everytime I want to reload. This GEL file does the following task: Reset the board ( GEL_Reset() ) Setup EMIF ( StartUp() ) To use that GEL file, you have to load it into Code Composer. See the User's guide for more info. I still have a problem sometimes when I add or remove files from the project and then try to load and execute the program. The program get lost. To make it work properly, I have to close Code Composer, call evm6xrst.exe and then start Code Composer again. If anybody has a solution to that problem, it would be very appreciated. Bjorn, tell me if the solution that solved the problem for me applies to you. Good luck Stephane Boucher -----Original Message----- From: <> To: <> Date: Thursday, May 27, 1999 4:19 AM Subject: [code-comp] loading programs on the C62x EVM board >Hello, > >I am using code composer NT for writing code, compiling and downloading the compiled code on my C62x EVM board. Writing and compiling code works fine, but I have serious problems loading the compiled program (also the included demo programs!) on the EVM. While loading the program, I sometimes get the error message "TROUBLE WRITING TARGET DSP MEMORY; ERROR NUMBER -1206; ERROR ADDRESS 1125C". Sometimes, the error message "CANT REMOVE BREAKPOINT; ERROR NUMBER -2044; ERROR ADDRESS 1125C" appears. The evm6xrst and evm6xtst (tried all additional options) indicate that the board is visible and OK. I tried other computers and other EVMC62 boards but the same errors occurred. Strange enough, these error messages did not appear last week and my system worked fine (as is should be)! BUT I had to close code composer...and...after opening code composer, the same problems are appearing! I can't work on a platform like that! Is there someone out there with the same problems or with a (any) suggestion? >Thanks a lot! >Bjorn > >Windows NT4.0 (administrator) >Code composer release 4.0/2.01 >Code generation tools 1.93 >EVM C62 > ------------------------------------------------------------------------ eGroups.com home: http://www.egroups.com/group/code-comp http://www.egroups.com - Simplifying group communications |