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.

28035 running from flash issue

Genius 5910 points

I have working code that runs correctly when the debugger is attached. But doesn't  when  I remove the debugger and power cycle my device

GPIO37 and GPIO34 are are connected to 3V3

 and \TRST  is connected to ground.

My memory map:

************************************************************
                Name : Size (dec)  Size (hex)  Type   Load Addr   Run Addr
-------------------- : ----------  ----------  ----   ----------  ----------
           codestart :          4  0x00000004  CODE   0x00000000  0x00000000
               .text :      13224  0x000033a8  CODE   0x003e8000  0x003e8000
              .cinit :        106  0x0000006a  DATA   0x003e99d4  0x003e99d4
            ramfuncs :        762  0x000002fa  CODE   0x003f5ff6  0x00009aff
              .stack :       1536  0x00000600  UDATA  0x00000050  0x00000050
               .ebss :       1880  0x00000758  UDATA  0x00008000  0x00008000
            .bss_cla :         12  0x0000000c  UDATA  0x00008c00  0x00008c00
             .econst :        580  0x00000244  DATA   0x003f6384  0x003f6384
            Cla1Prog :       1056  0x00000420  CODE   0x003f6174  0x00009000
     Cla1ToCpuMsgRAM :          8  0x00000008  UDATA  0x00001480  0x00001480
     CpuToCla1MsgRAM :         12  0x0000000c  UDATA  0x00001500  0x00001500
          CLAscratch :       1024  0x00000400  UDATA  0x00008a00  0x00008a00

------------------------------------------------------------
Totals by section type
------------------------------------------------------------
  Uninitialized Data :       4472  0x00001178
    Initialized Data :        686  0x000002ae
                Code :      15046  0x00003ac6

If I'm correct everything is loaded from flash memory. So why isn't it working from flash. are there any more options I have to set?

 I