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.

release mode problems

Hello everyone,

I am having some problems with the release mode in CCSv4. I have a program which take a signal in the UART and them copy this to a hard disk connect to the USB. Until now, I have tested the program in debug mode. I need that the DSP-program works all the time without the necessity to debug it everytime, so when I turn the DSP on I want that the DSP works without load the program everytime. I need that program always be in the DSP.

1) does the release mode works like that I want?

2) When I change to release mode I have the next problem:

C674X_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
C674X_0: Trouble Writing Register PC: Error 0x00000006/-1176 Error during: Memory, Register, The IM memory request is not serviced by the HW memory system. This could be caused by the memory address specified does not exist in the specified memory/cache level.

How can I fix this issue? The debug and Release mode have the same configuration.

Regards

Accel

  • Hello Accel,

    Accel Abarca said:
    1) does the release mode works like that I want?

    No. The release configuration is simply a build configuration. A build configuration is simply a set of build options. You can also specify different files to be part of the build. Check the on-line help in CCS for more explanation of projects.

    Accel Abarca said:

    2) When I change to release mode I have the next problem:

    C674X_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
    C674X_0: Trouble Writing Register PC: Error 0x00000006/-1176 Error during: Memory, Register, The IM memory request is not serviced by the HW memory system. This could be caused by the memory address specified does not exist in the specified memory/cache level.

    Most likely you did not configure the release configuration with the correct linker command file or build options. The issue is that you have misunderstood the purpose of the release configuration.

    Sounds like what you want to do is to flash your code on the target so that all you need to do is power your board and the code will run from flash. You will need to modify your code to run from flash and then actually program it to whatever flash you have on your board.

    Thanks

    ki

  • Hello Ki,

    As you sid, I misunderstood the purpose of the release mode. I actually want is flash my code. Could you give me any direction or text which I should read to leard the flash mode?

    Thanks

    Accel

  • CCS does not currently support programming of external flash. But there is a utility called flashburn which is designed for this purpose:

    http://www.softwaredesignsolutions.com/flashburn.aspx

    Thanks

    ki