This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The target doesn't initialize arrays, why?

Hi, my eval board is Phytec KC-161 (with 64k ext RAM, and 256k ext FLASH). Why the target doesn't initialize arrays in free running?
Thank you.

Parents
  • > In debug mode the target is running well, but in free
    > running not

    What do you mean exactly? Debug mode is on a simulator? Or on the target? And free run is on the target? Could there be a problem in the memory map/linker file? Is everything located in RAM?

    What does the array contain in the incorrect situation?

Reply
  • > In debug mode the target is running well, but in free
    > running not

    What do you mean exactly? Debug mode is on a simulator? Or on the target? And free run is on the target? Could there be a problem in the memory map/linker file? Is everything located in RAM?

    What does the array contain in the incorrect situation?

Children
  • - What do you mean exactly? Debug mode is on a simulator? Or on the target?
    I mean debug mode is on the target.
    - And free run is on the target?
    Yes. Free running I mean the execution of the device after I download the .H86 file to flash of the board.

    - What does the array contain in the incorrect situation?
    I think that the length is not defined. When I tryed to determine what the array contains i think is 0xFF...

    Thank you...