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.

Example project 0 is not working

Part Number: LAUNCHXL2-570LC43


Hello

I am trying to run Launchpad/570LS/570LC43/Project_0 from the source tree obtained from https://git.ti.com/git/hercules_examples/hercules_examples.git

It is not working, I get into an undef state right from the reset. System details: Ubuntu 22.04LTS running on a 64 bit PC, CCS 11.1.0.00011 , target LAUNCHXL2-570LC43

By disassembling the code at/near address 0, I have some idea why it is not working; it seems that the binary code is junk.

Below is the output from the disassembly window (the _c_int00 symbol is at 0x21CC and has valid code in it)

Also note that I have not modified anything in the source tree.

What could I be doing wrong?

52                b   _c_int00
          $../source/HL_sys_intvecs.asm:52:66$(), resetEntry():
00000000:   710800EA            smlattvc   r8, r10, r0, r0
54                b   undefEntry
          undefEntry:
00000004:   FEFFFFEA            cdp2       p15, #0xf, c15, c15, c10, #7
56                b   svcEntry
          svcEntry:
00000008:   FEFFFFEA            cdp2       p15, #0xf, c15, c15, c10, #7
58                b   prefetchEntry
          prefetchEntry:
0000000c:   FEFFFFEA            cdp2       p15, #0xf, c15, c15, c10, #7
60                b   dataEntry
          dataEntry:
00000010:   FEFFFFEA            cdp2       p15, #0xf, c15, c15, c10, #7
61                b   phantomInterrupt